Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!
BSD 3-Clause "New" or "Revised" License
158
stars
84
forks
source link
check_historic_data() seems not happy when the json return from mt is too big (lots of candles) #42
dwx_client.py:397 - check_historic_data() -- An error occurred in the check_historic_data thread: Expecting ':' delimiter: line 1 column 40961 (char 40960)
It seems to happen when the dwn client asks more than 1000 candles.
This error come from partials data in the JSON response (unable to parse)
I write with more than one data feed, meaning that maybe it is related to lock and async of the bridge file.
Many tks for help. I will try to investigate more.
Hi,
when I use the client i got :
dwx_client.py:397 - check_historic_data() -- An error occurred in the check_historic_data thread: Expecting ':' delimiter: line 1 column 40961 (char 40960)
It seems to happen when the dwn client asks more than 1000 candles. This error come from partials data in the JSON response (unable to parse) I write with more than one data feed, meaning that maybe it is related to lock and async of the bridge file.
Many tks for help. I will try to investigate more.