@tantialex is there a way to use aggregated trade list without giving fromid
cause I don’t know how to find fromid or can u tell me how can I find fromid and use aggregated trade list
Use the startTime and endTime which you are using to retrieve klines.
If the amount of aggTrades received from the endpoint hits the limit, repeat the process and insert the aggTradeId of the last aggTrade. Repeat this process till the endpoint returns less aggTrades than the limit.
@BerkeErtep These are programming questions which are not the focus of this forum. Although as good practice, you should always print/debug your local code to troubleshoot.
In this case, doing print(datetime.datetime(2021,11,2,18,46,00).timestamp() * 1000) gives 1635878760000.0, but timestamps doesn’t have decimals.