Hi! I’ve read through the docs but I’m struggling to understand how to do 3 things via the Trade API and websockets:
- Place a bracket order with a limit buy, limit sell, and stop loss
- Subscribe to market data for a symbol (“NQ”, for example) at different timeframes (1min, 5min, 15min, 1hr, 4hr, 1day, 1week). Particularly, the high, low, open and close prices.
- How to send a “GET” request for the same data as #2 in a given time range.
Could someone share an example of how you might accomplish this?