We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output on screeen:
|=======================| | BITFINEX CLIENT | |=======================|
[17:26:06.558 DBG] ==================================== [17:26:06.680 DBG] STARTING [17:26:06.680 DBG] ==================================== [17:26:06.972 DBG] [WEBSOCKET Bitfinex-1] Starting.. [17:26:08.491 INF] Reconnection happened, type: Websocket.Client.Models.ReconnectionInfo [17:26:08.593 INF] Info received version: 2, reconnection happened, resubscribing to streams [17:26:08.606 DBG] Authenticating [17:26:15.490 DBG] Sending sell request [17:26:15.851 ERR] [BFX WEBSOCKET CLIENT] Error received - message: auth: invalid, code: 10100 [17:26:15.858 INF] Pong received! Id: 123456 [17:26:15.877 INF] Authenticated: True [17:26:15.950 INF] Wallet BTC balance: 0.000478960589130397 type: Exchange
The text was updated successfully, but these errors were encountered:
Hello @jcbit ,
you have to wait for the successful authentication and only then call send requests. There is a stream:
client.Streams.AuthenticationStream.Subscribe(auth => Log.Information($"Authenticated: {auth.IsAuthenticated}"));
Sorry, something went wrong.
No branches or pull requests
Output on screeen:
|=======================|
| BITFINEX CLIENT |
|=======================|
[17:26:06.558 DBG] ====================================
[17:26:06.680 DBG] STARTING
[17:26:06.680 DBG] ====================================
[17:26:06.972 DBG] [WEBSOCKET Bitfinex-1] Starting..
[17:26:08.491 INF] Reconnection happened, type: Websocket.Client.Models.ReconnectionInfo
[17:26:08.593 INF] Info received version: 2, reconnection happened, resubscribing to streams
[17:26:08.606 DBG] Authenticating
[17:26:15.490 DBG] Sending sell request
[17:26:15.851 ERR] [BFX WEBSOCKET CLIENT] Error received - message: auth: invalid, code: 10100
[17:26:15.858 INF] Pong received! Id: 123456
[17:26:15.877 INF] Authenticated: True
[17:26:15.950 INF] Wallet BTC balance: 0.000478960589130397 type: Exchange
The text was updated successfully, but these errors were encountered: