santoshlite / Empyrial

An Open Source Portfolio Backtesting Engine for Everyone | 面向所有人的开源投资组合回测引擎
https://empyrial.gitbook.io/empyrial/
MIT License
914 stars 124 forks source link

Enabling Rebalancing and Use of Optimizers for Custom Data #126

Open UjjawalKRoy-SW opened 2 months ago

UjjawalKRoy-SW commented 2 months ago

What problem does the requested feature solve? I am trying to use rebalancing and optimizers along with my custom data, but I am unable to get it to work as intended as the tool scrapes data from yahoo finance website directly any time I pass rebalancing or optimizer args. It would be great to get these outputs for custom data as well.

A possible solution Implementing a flag which can be set to true/false in the Engine so that the rebalancing and optimization calculations can be carried out on custom data as well.