SmartQuant Discussion

Automated Quantitative Strategy Development, SmartQuant Product Discussion and Technical Support Forums
It is currently Thu Nov 26, 2020 7:03 am

All times are UTC + 3 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Dec 27, 2011 8:36 pm 
Offline

Joined: Tue Mar 15, 2011 7:15 pm
Posts: 80
Hello,

I need to create a list of option instruments on a single underlying. I understand that OQ cannot dynamically create instruments, so I would need to create the instrument list before running my strategy.

I am clear on the code I would need to write for this to work, but am a bit unclear on where to place this code. Specifically, I can create the list of instruments via a script. Can I also create the list via a scenario that is linked to my strategy? If so, would the scenario then be able to directly launch into the strategy code itself (i.e. the scenario runs and creates the list of instruments. Would it then be able to automatically go right into running the strategy code)?

I have seen FAQs such as:
viewtopic.php?f=44&t=9494&p=29415&hilit=options+scenario#p29415
that address creating instruments lists in scripts and scenarios and am trying to understand the reasons for favoring one method over another within SQ.

What is the difference between placing the code in a script versus in a scenario?

Thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 3 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group