I tried:
client.NewGetIncomeHistoryService().IncomeType("REALIZED_PNL").Do(context.Background())client.NewGetIncomeHistoryService().IncomeType("REALIZED_PNL").Do(context.Background(), futures.WithRecvWindow(60000))client.NewGetIncomeHistoryService().Do(context.Background(), futures.WithRecvWindow(60000))
And I'm getting the next error:
code=-1021, msg=Timestamp for this request is outside of the recvWindow.
am I doing something wrong?
I tried:
client.NewGetIncomeHistoryService().IncomeType("REALIZED_PNL").Do(context.Background())
client.NewGetIncomeHistoryService().IncomeType("REALIZED_PNL").Do(context.Background(), futures.WithRecvWindow(60000))
client.NewGetIncomeHistoryService().Do(context.Background(), futures.WithRecvWindow(60000))
And I'm getting the next error: