Closed edge7 closed 3 years ago
Hi, Thank you for your suggestion. The reason why we implemented it this way is that it allows for both adding and removing symbols from the list. With your addition we would have to add another function to remove a symbol again. Therefore, we decided to keep the current implementation.
Hello, I noticed that DWX_SetInstrumentList(string& compArray[], string& zmq_ret) { } overwrites the content of PublishInstruments. This is my solution: `bool check_if_in_instrument_list(ENUM_TIMEFRAMES timeframe, string symbol){
}
//+------------------------------------------------------------------+ // Set list of instruments to get OHLC rates void DWX_SetInstrumentList(string& compArray[], string& zmq_ret) {
}
Print(result); }`