TradingBot
TradingBot copied to clipboard
Change trade management
https://github.com/ilcardella/TradingBot/blob/c9bf4230db43e4258df3da82a6ab007ab40939ab/scripts/Strategies/SimpleMACD.py#L76
Rather than trade each epic one by one after finding a valid signal, the script could build a list with the info returned by the find_trade_signal() (epic, tradeDirection, limit and stop). Then at then of the epic_list for loop, it could iterate along the list and take trade actions. This is helpful because we might want to add other check before trading.
Still need to evaluate the real benefit of this change