Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I Build a strategy that can run on many instruments(~50) with a slight modification of parameters. I want to be able to run all the strategies together but instead of manually set them in the strategy tab I was thinking on writing a Master strategy that take as an input the list of instruments and create new strategy instance for each instrument.
For example:
Something like that. Of course I need also to pass the Base but this is the general concept I want to achieve.
Is it possible design?
Is there sample codes that were tested for doing such a task?
Thanks in advance for any assistance!
Can you help answer these questions from other members on NexusFi?
I have also a similar idea:
I would like to write a strategy that monitors a collection of intruments (30-50 stocks) for a certain buy signal. If I get a buy signal on 10 of them at the same time, I would like to buy the top 5 ones with the highest average historical return (using the strategy).
I have also a similar idea:
I would like to write a strategy that monitors a collection of intruments (30-50 stocks) for a certain buy signal. If I get a buy signal on 10 of them at the same time, I would like to buy the top 5 ones with the highest average historical return (using the strategy).
You can do that having two strategies type:
- strategy A, running on the 50 stocks, and writing in a specific file when it has the buy signal
- strategy B, reading all files, and checking that you have at least 10 buy signals
To get the top 5 stocks, the easier is too manage manually, running backtests and store somewhere the best performers.
The B strategy will be "multi-instruments".
Their are smarter way to do that, but this is the simpler, IMHO.