aleibovici / cryptopump

CryptoPump is a free, open source cryptocurrency trading tool that focuses on high speed and flexibility. The algorithms utilize Go Language and WebSockets to react in real-time to market movements based on Bollinger statistical analysis and pre-defined profit margins.
MIT License
73 stars 12 forks source link

Binance credentials wrong format #44

Closed marcvsnet closed 2 years ago

marcvsnet commented 2 years ago

Using Docker approach this messages appears on providing credentials via the Admin page, which worked before in v1.9.0 and before without issues

cryptopump_app    | DEBU[2022-01-06 09:09:34] github.com/aleibovici/cryptopump/exchange.binanceGetAccount - <APIError> code=-2014, msg=API-key format invalid.  orderID=0 threadID=c7ba7esconks7399tk40
cryptopump_app    | DEBU[2022-01-06 09:09:34] github.com/aleibovici/cryptopump/exchange.binanceGetAccount - <APIError> code=-2014, msg=API-key format invalid.  orderID=0 threadID=c7ba7esconks7399tk40
cryptopump_app    | DEBU[2022-01-06 09:09:34] github.com/aleibovici/cryptopump/exchange.binanceGetSymbolFunds - <APIError> code=-2014, msg=API-key format invalid.  orderID=0 threadID=c7ba7esconks7399tk40
cryptopump_app    | DEBU[2022-01-06 09:09:37] github.com/aleibovici/cryptopump/exchange.binanceGetUserStreamServiceListenKey - <APIError> code=-2014, msg=API-key format invalid.  orderID=0 threadID=c7ba7esconks7399tk40
cryptopump_app    | DEBU[2022-01-06 09:09:37] github.com/aleibovici/cryptopump/algorithms.WsUserDataServe - <APIError> code=-2014, msg=API-key format invalid.  orderID=0 threadID=c7ba7esconks7399tk40
aleibovici commented 2 years ago

@marcvsnet it could be because you are selecting a pair that doesn't exist in Binance TestNet. By default, TestNet is 'true'. Please set it to false and try again.

marcvsnet commented 2 years ago

@aleibovici you are right, thanks

aleibovici commented 2 years ago

Need implementation of a crypto pair checking function and appropriate error logging to identify when the pair is not available. Will add for next release.

aleibovici commented 2 years ago

Implemented in features branch eed8dec: Debug log - Balance or Pair not found for symbol. Will make into next Beta and Main.