|
Attention! Read the forum rules carefully before posting a topic.
Try to find an answer in Wiki before asking a question. Submit programming questions in this forum only. Off topics are strictly forbidden.
Any topics which do not satisfy these rules will be deleted.
Is there any way to define variables that are shared by all strategies? |
blackkettle
|
Post subject: Is there any way to define variables that are shared by all strategies? |
Post rating: 0
|
Posted: Thu 06 Sep, 2012, 11:46
|
|
User rating: 0
Joined: Thu 16 Aug, 2012, 03:29 Posts: 26
|
Hello, experts,
I met a problem and wish you could give me a hand.
I want to define some variables that are shared by all strategies.
Suppose I have strategy A and strategy B. I want A could interact with B. That is why I need some variables that are shared and able to access by both A and B.
The way I could think out right now is to save the data in a local txt file.
Strategies access the file and obtain the data.
Is there any better way for the strategies to interact with each other?
Thank you very much!
|
|
|
|
 |
API Support
|
 |
Post subject: Re: Is there any way to define variables that are shared by all strategies? |
Post rating: 0
|
Posted: Thu 06 Sep, 2012, 13:11
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|