santoshlite / Empyrial

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

Support for custom data, or data from other exchanges #31

Closed suvojit-0x55aa closed 3 years ago

suvojit-0x55aa commented 3 years ago

Is your feature request related to a problem? Please describe. I want to analyze portfolio in other exchanges.

Describe the solution you'd like Ability to provide other exchange data.

santoshlite commented 3 years ago

Hi @suvojit-0x55aa,

There is actually a way to use custom data but the problem is that it is impossible to use rebalancing if you use custom data. That's the problem. But, I'm curious to know why you would like to use custom data and where is your data from?

Best 😄

suvojit-0x55aa commented 3 years ago

@ssantoshp I wanted to use it with NSE data.

santoshlite commented 3 years ago

@suvojit-0x55aa Ok, yeah I get it. So, if you want to use custom data you can't rebalance, that's the problem, sorry. But you can also access Indian stock with yfinance, right?

ma-ji commented 2 years ago

Hi, thanks for this great work! Can you give a toy example about how to use customized data?