SmartQuant Discussion
http://www.smartquant.com/forums/

inter-communication between instruments in a
http://www.smartquant.com/forums/viewtopic.php?f=44&t=8431
Page 1 of 1

Author:  tomba12 [ Tue Oct 05, 2010 6:27 am ]
Post subject:  inter-communication between instruments in a

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

Author:  Dr. Anton Fokin [ Tue Oct 05, 2010 9:29 am ]
Post subject:  Re: inter-communication between instruments in a

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

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/