psemdel / py-trading-bot

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

IB functions should be classes #34

Closed psemdel closed 1 year ago

psemdel commented 1 year ago

In the code, there are some

@connect_ib def function()

Which should actually be replaced by methods within IBData. However somehow the combination of the decorator @connect_ib and @classmethod leads to issue (TypeError: 'classmethod' object is not callable) which I am currently unable to solve.

psemdel commented 1 year ago

I eventually fixed this old one.