Tick_History issues
Hi community and devs,
I have a issue with the tick_history it will not let me search anything later then "epoch": 1466985600, is this where the 500 count limit comes into play? or is this a fault with the system?
{ "candles": [ { "open": "75.915", "high": "75.939", "epoch": 1466985600, "close": "75.935", "low": "75.901" }, { "open": "75.924", "high": "76.097", "epoch": 1466985660, "close": "76.035", "low": "75.924" }, { "open": "76.043", "high": "76.043", "epoch": 1466985720, "close": "76.043", "low": "76.043" } ], "echo_req": { "count": 500, "granularity": 60, "ticks_history": "frxAUDJPY", "style": "candles", "end": "1466985720" }, "msg_type": "candles" }
The command I tried using is this:
{"ticks_history": "frxAUDJPY","style":"candles","granularity":60,"end": "1466985598","count": 500}
I also tried these: {"ticks_history": "frxAUDJPY","style":"candles","granularity":60,"end": "1466985596","count": 500}
{"ticks_history": "frxAUDJPY","style":"candles","granularity":60,"end": "1466985540","count": 500}
ETC...
Any information will help thanks.
101
Comments
There are couple of ways to get what you want. All the following examples will have 5000 bars limit starting from startTime
If you want to get data between dates, then
If you want to get data starting a specific date
.
For your scenario, this is what I would do
The above will have 5000 bars limit starting from startTime.