I’m trying to fetch income history from the following endpoint
- GET /fapi/v1/income (HMAC SHA256).
- GET /dapi/v1/income (HMAC SHA256).
- GET /eapi/v1/userTrades (HMAC SHA256).
The problem is I’ve default permissions on my API (Enable Reading) . It returns an empty response, although I’ve transactions in the timestamp range sent as query params (shared below).
It only returns the data when I check “Enable Futures” permission on my API key. Should I not be able to get data with only “Enable Reading” permission, as I am able to get spot and margin trades with this permission?
In order to check “Enable Futures” permission, I need to enable IP address limitation. Is there a way to set “Enable Futures” permission without this?
calling range [2023-01-25 00:00:00 - 2023-02-15 09:42:02]
INFO - Response url[ https://dapi.binance.com/dapi/v1/income?startTime=1674604800000&endTime=1676453556000&limit=1000&recvWindow=60000×tamp=1676453558000&signature=b463b39cf6d474cecffdf6f747523ef5fd62873c02110a3c117410a2100494e4](https://dapi.binance.com/dapi/v1/income?startTime=1674604800000&endTime=1676453556000&limit=1000&recvWindow=60000×tamp=1676453558000&signature=b463b39cf6d474cecffdf6f747523ef5fd62873c02110a3c117410a2100494e4)
INFO - Response {}
INFO - calling range [2022-11-17 09:42:03 - 2023-02-15 09:42:02]
[2023-02-15, 09:42:03 UTC] {logging_mixin.py:109} INFO - response url[ https://fapi.binance.com/fapi/v1/income?startTime=1668678123000&endTime=1676454122000&limit=1000&recvWindow=60000×tamp=1676454123000&signature=077cbee7034996a0c32f07021112e9d5b536364b8a50035484ac4122be74f49d](https://fapi.binance.com/fapi/v1/income?startTime=1668678123000&endTime=1676454122000&limit=1000&recvWindow=60000×tamp=1676454123000&signature=077cbee7034996a0c32f07021112e9d5b536364b8a50035484ac4122be74f49d)
INFO - Response {}
calling range [2022-12-29 01:00:00 - 2023-02-15 09:42:02]
INFO - Response url[ https://eapi.binance.com/eapi/v1/userTrades?startTime=1672275600000&endTime=1676454122000&limit=1000&recvWindow=60000×tamp=1676454130000&signature=2fd0ca445acfe6485774e2dff87fdeaf30b645ad1ddd4106acd1f481ebf10cd3
](https://eapi.binance.com/eapi/v1/userTrades?startTime=1672275600000&endTime=1676454122000&limit=1000&recvWindow=60000×tamp=1676454130000&signature=2fd0ca445acfe6485774e2dff87fdeaf30b645ad1ddd4106acd1f481ebf10cd3)
INFO - Response {}