SmartQuant Discussion

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

All times are UTC + 3 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Oct 05, 2010 6:27 am 
Offline

Joined: Fri Aug 20, 2010 12:12 am
Posts: 5
Hi.
(1)
I want to be able to short selling based on positions of other stocks in the list. Is there anyway to communication between different stocks in the project. I have a capital of $5000. For example if i have $4000 of holding on stock A and $1000 on stock B. I want to be able to sell stock A (free the capital) if i get a signal from stock B. Use that money to buy stock B.

(2)
Is it possible also to commutation between different projects under a solution?

(3)
How do we get "current wealth" value from OQ?


Thanks for your time.


Post subject: inter-communication between instruments in a project


Top
 Profile  
 
PostPosted: Tue Oct 05, 2010 9:29 am 
Offline

Joined: Tue Aug 05, 2003 3:43 pm
Posts: 6817
Hi,

please take a loook at this FAQ threads

viewtopic.php?f=64&t=6532

viewtopic.php?f=64&t=6566

You can use static Global hashtable to pass data between projects. Please search this forum for "Global".

Regards,
Anton


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

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