Date: January 21, 2024

Topic: Machine Learning at Hedge Funds

Recall

Model output based on collected data

Notes

Gist of Machine Learning

Given some data, we create a model that with an input $x$ we can predict an output $y$


Given some historical $x, y$ data, can we predict for future $x$ what $y$ will be?

Supervised Regression Learning

Make a numerical prediction based on example input and actual outputs

Examples


Stocks have natural labels, where we can just look forward in the market to get our labelled data.

By having a bunch of features $x$ (Bollinger value, current price etc), we can train an ML model to predict prices

Using with Stock Data

Untitled

Example use-case

Untitled


To test algorithms, we can roll back time and run in on past data.

From this, we can make orders in the past and forecast our portfolio earnings to compare with with the actual earnings

Backtesting

Roll back time and test your system with your model

A previous order was made at t=t1, and another order made at t=t2

A previous order was made at t=t1, and another order made at t=t2

Untitled

By backtesting, we can see how our strategy performs against benchmarks (S&P 500 in this case)


Regression based learning has a number of issues associated


<aside> 📌 SUMMARY: We can use supervised regression learning to optimize our portfolio, and perform backtesting to see how well it does against the market

</aside>