Closed flowtrader2016 closed 1 year ago
Look like you have an issue with the data, not with code.
I suggest you try:
For the record: I have things running 24/5 and have no issues fetching data for multiple pairs. Just added UK100_GBP...
1) "20221005T07:15:00,True,7046.1,7046.9,7050.4,7051.2,7042.6,7043.4,7044.1,7044.9,68"
2) "20221005T07:16:00,True,7043.7,7044.8,7047.1,7047.9,7039.9,7040.7,7042.4,7043.2,69"
3) "20221005T07:17:00,True,7041.9,7042.7,7044.1,7044.9,7037.6,7038.4,7040.9,7041.7,60"
4) "20221005T07:18:00,True,7040.4,7041.2,7046.6,7047.4,7039.7,7040.8,7045.4,7046.2,56"
5) "20221005T07:19:00,True,7044.9,7045.7,7044.9,7045.7,7039.6,7040.4,7039.6,7040.4,56"
6) "20221005T07:20:00,True,7039.1,7039.9,7043.9,7044.7,7034.9,7035.7,7035.4,7036.2,61"
7) "20221005T07:21:00,True,7035.9,7036.7,7037.4,7038.2,7033.6,7034.4,7033.6,7034.4,43"
8) "20221005T07:22:00,True,7034.1,7034.9,7035.9,7036.7,7031.4,7032.2,7031.9,7032.7,37"
9) "20221005T07:23:00,True,7032.4,7033.2,7032.9,7033.7,7026.1,7026.9,7026.9,7027.7,42"
10) "20221005T07:24:00,True,7026.4,7027.2,7028.6,7029.4,7023.4,7024.2,7026.4,7027.2,39"
11) "20221005T07:25:00,True,7026.9,7027.7,7037.9,7038.7,7025.4,7026.2,7037.9,7038.7,45"
12) "20221005T07:26:00,False,7037.4,7038.2,7038.9,7039.7,7033.6,7034.4,7033.6,7034.4,54"
Conclusion: no issues
Many thanks for the response.
The error was only for the UK100_GBP with M15 data and it is intermittent (currently ok but happened yesterday and today). I also run your code 24x5 with around 20 instruments and no other issues noted. Thanks for all you do! Is there a link to buy you a coffee?
Not yet, working on it ;-)
Hi,
I'm seeing intermittent issues with the response
ContentDecodingError
when usinginstruments.InstrumentsCandles
. Appreciate any help.Issue
Received response with content-encoding: gzip, but failed to decode it
To reproduce
event = { "ticker": "UK100_GBP", "granularity": "M15"}
stackTrace
Thanks