Trying to use this in Symfony 4. Works perfectly through a controller and displaying results on a page. However if I try to use the balances in a command when running the cli command I get:
signedRequest error: {"code":-1022,"msg":"Signature for this request is not valid."}
balanceData error: Please make sure your system time is synchronized, or pass the useServerTime option.
Saw this ticket:
#35
I think I need to use useServerTime but it isn't implemented yet?
I echoed out the $endpoint from the call and it looks like (signature modified for obscurification):
https://api.binance.com/api/v3/account?timestamp=1516900612521&signature=df5a4338fa3421f8ff79afbdbe3df1cb8c87a288512c9e648f6260ee75114446
Trying to use this in Symfony 4. Works perfectly through a controller and displaying results on a page. However if I try to use the
balancesin a command when running the cli command I get:Saw this ticket:
#35
I think I need to use useServerTime but it isn't implemented yet?
I echoed out the $endpoint from the call and it looks like (signature modified for obscurification):
https://api.binance.com/api/v3/account?timestamp=1516900612521&signature=df5a4338fa3421f8ff79afbdbe3df1cb8c87a288512c9e648f6260ee75114446