Just now I have "Alpaca: Error placing trade: could not find asset "PKKFF". The chart shows in IQ Feed, TOS, etc.
This particular error apparently does not cause the Alpaca API to crash .
Maybe you can capture the possible errors, and not allow the API to crash ?
This particular error apparently does not cause the Alpaca API to crash .
Maybe you can capture the possible errors, and not allow the API to crash ?
Rename
PKKFF is an OTC stock. The error is coming from Alpaca indicating that they don't have that asset available to trade.
This discussion may be helpful:
https://forum.alpaca.markets/t/over-the-counter-otc-market-support/729/7
That aside, is there a scenario that's "crashing" too? When does it happen exactly?
This discussion may be helpful:
https://forum.alpaca.markets/t/over-the-counter-otc-market-support/729/7
That aside, is there a scenario that's "crashing" too? When does it happen exactly?
QUOTE:
Maybe you can capture the possible errors, and not allow the API to crash ?
This is a graceful error capture amd nothing is crashing here. You'll know when something crashes when the program abruptly terminates without a trace.
Sorry, I was thinking of the 422 unprocessable entity error.
Your Response
Post
Edit Post
Login is required