ismailfer / dukascopy-api-websocket

Spring Boot Dukascopy API (Rest API and Websockets) for Market Data feed, Historical Data, Account Data feed and Instruments, and can place orders
17 stars 8 forks source link

"from" parameter is not working at history #14

Closed ivnnv closed 1 year ago

ivnnv commented 1 year ago

hey, thanks for sharing this useful tool, Ive been trying it for a couple of days but seems from parameter doesnt seems to work, to seems working ok.

When running the dockerized app, this url: http://localhost:7080/api/v1/history?instID=AUDUSD&timeFrame=1MIN&from=1674510000000&to=1674510240000 should be retreiving only 5 items, but its retreiving 1425 instead.

Starting at: 1674424800000 instead 1674510000000

Screenshot 2023-01-23 at 16 46 44

ivnnv commented 1 year ago

weird, its working now, I think theres some kind of problem int the docker app initialization that sometimes doesnt runs well. Anyway thats not related to the actual app, so closing.