alpaca-trade-api-csharp: RestClientErrorException: invalid syntax
I’m running the latest version and haven’t run the code for a few days but I’m now getting the following exception for all of my accounts and I have no clue why or what is causing it. Now due to the new changes I’m guessing, the program doesn’t try to reconnect or anything. It just sits there doing nothing after getting this error. Here is the full printout that I get
We are waiting for the market to open...
Market opened.
Alpaca streaming client socket opened.
Alpaca streaming client connection status is Authorized.
Alpaca data streaming client socket opened.
Alpaca data streaming client connection status is Authorized.
Alpaca data streaming client error:
Exception Type:
Alpaca.Markets.RestClientErrorException
Exception Message:
invalid syntax
Alpaca data streaming client socket opened.
Alpaca data streaming client connection status is Unauthorized.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Issue #316 - throttling added for the `GetBarSetAsync` method for preventing `Too many requests` error message. (cherry picked from commit 07a0a600463d8acbe349c25bd382ba9cc36a170a) — committed to alpacahq/alpaca-trade-api-csharp by OlegRa 3 years ago
- Issue #316 - throttling added for the `GetBarSetAsync` method for preventing `Too many requests` error message. (cherry picked from commit 07a0a600463d8acbe349c25bd382ba9cc36a170a) — committed to alpacahq/alpaca-trade-api-csharp by OlegRa 3 years ago
- Issue #316 - throttling added for the `GetBarSetAsync` method for preventing `Too many requests` error message. — committed to alpacahq/alpaca-trade-api-csharp by OlegRa 3 years ago
- Issue #316 - change the subscription approach to prevent (possibly) the "invalid syntax" error in the `AlpacaDataStreamingClient` class. — committed to alpacahq/alpaca-trade-api-csharp by OlegRa 3 years ago
@ooples In fact, initially they deployed it with this feature but something goes wrong and they had to rollback it 😦
@ooples Only all symbols subscription doesn’t work. I’ll check why soon.