Api error no trade found for any crypto except for BTCUSD

I have tried the following lines of code where symbol has been the following: BTCUSD, DOGEUSD, NEARUSD, LTCUSD, SOLUSD, SUSHIUSD, and BATUSD.

The only ones it worked for were BTCUSD and LTCUSD. For the rest of them, I get the following error or something extremely similar.

alpaca_trade_api.rest.APIError: no trade found for UNIUSD

symbolsLastTrade = api.get_latest_crypto_trade(symbol, "CBSE")
symbolsLastTrade = api.get_latest_crypto_quote(symbol, "CBSE")

Why do these calls only work for BTCUSD and LTCUSD when alpaca supports all of them?

Hi @jpriede9

Can you try this:

symbolsLastTrade = api.get_latest_crypto_trade(symbol, "FTXU")
symbolsLastTrade = api.get_latest_crypto_quote(symbol, "FTXU")

That fixed it! Thank you!

Why does it not work for a coinbase exchange even though its listed as that exchange on alpacas website?

Awesome glad it helped!

We added these additional crypto assets with FTX and data was sourced through them directly only (hence the missing data from Coinbase for these more recent additions)

nice information thanks for sharing