Dave-Vallance / bt-ccxt-store

Fork of Ed Bartosh's CCXT Store Work
MIT License
422 stars 185 forks source link

How to use function notify_trade in live trading? #32

Open cryptorevizor opened 4 years ago

cryptorevizor commented 4 years ago

This function never work in live mode

    def notify_trade(self, trade):
        print('-' * 50, 'TRADE BEGIN', datetime.datetime.now())
        print(trade)
        print('-' * 50, 'TRADE END')

How we can use trades and calculate mfe\mae for open position for each bar?

Dave-Vallance commented 4 years ago

Notify trade doesn't currently work with the store. Sorry about that.

trungtv commented 3 years ago

Notify order does not work either. Could you please explain how to implement these methods?