psemdel / py-trading-bot

Trading-bot in python using django, vertorbt lib and interactive-brokers
MIT License
141 stars 34 forks source link

version for vectorbt #2

Closed ben1628 closed 1 year ago

ben1628 commented 1 year ago

Do you have the branch for VectorBT available? Even a beta version will give me a head start.

Thanks.

psemdel commented 1 year ago

Hi, as it was not needed in issue #1, I did not start. But I can invest some time in it until end of year.

ben1628 commented 1 year ago

Well, I hope you can work on that a bit.

I run into this problem

 cours=vbt.YFData.download(symbols=all_symbols, period=period,missing_index='drop',**kwargs)

    cours_action=cours.select(symbols)
    cours_open =cours_action.get('Open')

it's complaining that select is not an attribute

and I couldn't find anything related to get as well.

Sorry for the trouble.

ben1628 commented 1 year ago

Not worth the effort, will get the pro version