s-leroux / fin

Set of tools for personal investment
MIT License
1 stars 0 forks source link

Implement Sharpe ratio #7

Open s-leroux opened 1 year ago

s-leroux commented 1 year ago

There is a preliminary implementation of the Sharpe ratio. It needs to be fixed.

https://github.com/s-leroux/fin/blob/46a55e6504f641bccbfb1d404b20b446bfbd4bed/fin/seq/algo.py#L256-L276

See Risk Management in Trading (Edwrads), p109: image