@DdiV

I verified that the generate asset list brokerCommand works over both REST and WebSocket. The command is not using WebSocket. Do you see Zorro prints the Asset in the log window like the following?

Code
GenAssetList compiling..........
Login 0 Alpaca..
!Use Alpaca market data
!Account ********** at UTC 09-17 01:45 ok

!Generating Asset List...
!Asset PH.
!Asset SO
!Asset SUI
!Asset WEC
Logout.. ok


If you add
Quote
AlpacaLogLevel = 5
in Zorro.ini then run the script, do you see any error in the Alpaca log file?

To get all symbols, use
Code
brokerCommand(2001, 0);

All symbols mean all tradeable symbols returned from https://api.alpaca.markets/v2/asssets endpoint.

Last edited by kzhao; 09/17/21 02:54.