(a) Can I run a script over 100 symbols?
Would like to screen 100 stock symbols, maybe import them from a file?
(b) How to loop thru all symbols and where/how to save parameters?
Calculate entry limit price (and target/stop loss prices) based on High/Low range of several days back, as well as prioritise by calculating RSI levels.
(c) Check for sending orders
Loop thru all the 100 symbols to see if entry limit is reached and fire entry orders. If more than x symbols would qulify for entry, it should be limited to x entries and prioritised based on RSI level (see (b)).
(d) Active positions
How can I check the next day wheter or not my strategy still holds postions, i.e. if it holds x positions no new orders should be fired. Not every open position would origin from this strategy and those should be ignored here.
Thank you.
Comment