|
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.
Strategy State management |
cb888trader
|
Post subject: Strategy State management |
Post rating: 0
|
Posted: Thu 24 Nov, 2011, 06:19
|
|
User rating: 0
Joined: Tue 22 Nov, 2011, 12:47 Posts: 130 Location: United States,
|
hi,
this is a newbie question -
Is there an article or best practice on how should one manage his strategy state?
Is my strategy get instantiated once per chart OR is it a single instance in which case it will be very problematic to save my strategy state as class data members.
Just to make it clear - when talking about Strategy State I'm not referring to Order State which is a completely different topic. It is more about counters, flags, timers etc that I need to manage on a per chart / instrument basis.
Will be glad to hear how others are approaching this design issue in JForex.
Thanks! cb888trader.
|
|
|
|
 |
API Support
|
Post subject: Re: Strategy State management |
Post rating: 0
|
Posted: Thu 24 Nov, 2011, 09:18
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|