binance-exchange / binance-java-api

binance-java-api is a lightweight Java library for the Binance API, supporting synchronous and asynchronous requests, as well as event streaming using WebSockets.
MIT License
831 stars 628 forks source link

Get historic candlesticks of a symbol #356

Closed OfficialVreesie closed 3 years ago

OfficialVreesie commented 3 years ago

Hi there, I used a PHP API for a few years now, but I want to switch to the Java version. Now in my PHP api, I have a call where I can get historic candlesticks of a symbol with the following parameters:

Name        Type    Mandatory   Description
symbol      STRING  YES 
interval    ENUM    YES 
startTime   LONG    NO  
endTime     LONG    NO  
limit       INT NO      Default 500; max 1000.

Is there something similar to this in this API?