Duncan-McD / OCamlStocks

OCaml Bot for Investing
5 stars 1 forks source link

portfolio skeleton #57

Closed Duncan-McD closed 3 years ago

Duncan-McD commented 3 years ago

Introduces an inital skeleton to the portfolio module (the share change modules are flexible to change - especially the liquidity variable which is only there if we want to do the brute of the calculations in algo rather than portfolio which i believe should be the case, but we could always remove it after when implementing and instead calculated liquidity change in portfolio if necessary)

@Mars7543 for now these functions hopefully are good for what you need to write the buying and selling in algo - let me know if it needs any changes