blankly-finance / blankly

🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
https://package.blankly.finance
GNU Lesser General Public License v3.0
2.13k stars 268 forks source link

Integration of finvasia #196

Closed bibinvargheset closed 2 years ago

bibinvargheset commented 2 years ago

Finvasia is an great discount broker from india, can you integrate this? is there a sample templete for intergration with expected input and outputs for the broker integration.? https://github.com/Shoonya-Dev/ShoonyaApi-py

EmersonDove commented 2 years ago

Hey we don't have a guide yet for custom integrations but you can follow the format of two files like this:

https://github.com/blankly-finance/blankly/blob/main/blankly/exchanges/interfaces/alpaca/alpaca.py https://github.com/blankly-finance/blankly/blob/main/blankly/exchanges/interfaces/alpaca/alpaca_interface.py

The ExchangeInterface object that the interface inherits from goes a good job defining the return types.