01-10-2019, 01:53 PM
Ok, some changes have been necessary for your strat to work, I tweaked the necessary things. Have a look both the config and strat changes:
Config: https://pastebin.com/j7dB6K6n
Strat: https://pastebin.com/491Bvjs7
I added some code for proper candle warmup handling, otherwise you will get undefined indicator values during the first minutes/hours. Just match the history size in your config with the necessary history size of your indicators if you make any further changes.
You can use this strat now as a bare skelleton to start implementing any multi timeframe candle logic now. With the open source T5mainasync and T5multimarket strategies you have further examples how to use other tulip and talib async indicators. I removed the MFI indicator temporarily because it had a wrong syntax in your strat. You need to look into the tulip documentation which params it expects and what it returns. Good look with your coding.
=> apply your binance settings to the config again, I tested with kraken ETH EUR data because I had it locally available.
Config: https://pastebin.com/j7dB6K6n
Strat: https://pastebin.com/491Bvjs7
I added some code for proper candle warmup handling, otherwise you will get undefined indicator values during the first minutes/hours. Just match the history size in your config with the necessary history size of your indicators if you make any further changes.
You can use this strat now as a bare skelleton to start implementing any multi timeframe candle logic now. With the open source T5mainasync and T5multimarket strategies you have further examples how to use other tulip and talib async indicators. I removed the MFI indicator temporarily because it had a wrong syntax in your strat. You need to look into the tulip documentation which params it expects and what it returns. Good look with your coding.
=> apply your binance settings to the config again, I tested with kraken ETH EUR data because I had it locally available.