Open cgebe opened 5 years ago
Sending the example request: https://api.lbkex.com/v1/trades.do?symbol=eth_btc&size=600&time=1482311600000 does not yield trades starting from 1482311600000, instead it returns the latest trades:
https://api.lbkex.com/v1/trades.do?symbol=eth_btc&size=600&time=1482311600000
1482311600000
[ {"date_ms":1539020641809,"amount":17.84360000,"price":0.03452500,"type":"sell","tid":"eb728574-5c15-40ee-939a-597c51316588"}, {"date_ms":1539020611222,"amount":6.19700000,"price":0.03450400,"type":"buy","tid":"4f2fad22-58ce-43f2-bffe-a388fab25e46"}, {"date_ms":1539020562417,"amount":21.24400000,"price":0.03455200,"type":"sell","tid":"6cf496f2-8779-4b35-8c79-d9376f51a121"}, {"date_ms":1539020545075,"amount":30.08770000,"price":0.03455200,"type":"sell","tid":"5ae77372-f2d2-4de3-9435-d84cfd728479"}, {"date_ms":1539020536469,"amount":15.93140000,"price":0.03455200,"type":"sell","tid":"56a8900c-4af7-491f-b97b-a921e1faf9af"}, {"date_ms":1539020527705,"amount":3.47110000,"price":0.03455200,"type":"sell","tid":"b3b5fb79-3626-422c-8c09-64584c598968"}, ... ]
This is a bug and it should be fixed soon.
Sending the example request:
https://api.lbkex.com/v1/trades.do?symbol=eth_btc&size=600&time=1482311600000
does not yield trades starting from1482311600000
, instead it returns the latest trades: