- ago
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 ?



0
628
Solved
3 Replies

Reply

Bookmark

Sort
Cone8
 ( 26.65% )
- ago
#1
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?
0
Best Answer
- ago
#2
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.
0
- ago
#3
Sorry, I was thinking of the 422 unprocessable entity error.
0

Reply

Bookmark

Sort