|
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.
@Configurable in different class than IStrategy |
sinusgamma
|
Post subject: @Configurable in different class than IStrategy |
Post rating: 0
|
Posted: Fri 08 Sep, 2017, 10:40
|
|
User rating: 2
Joined: Tue 11 Jul, 2017, 09:30 Posts: 24 Location: HungaryHungary
|
Hello,
My strategy class is too crowded and I would like to keep all of my configurable parameters in a different class MyConfigurable. This will be instanteated in the strategy class. But the @configurable parameters doesn't popup from this class when the strategy starts. Is there a way to implement this behaviour, should the MyConfigurable implement or extend something?
Thanks
|
|
|
|
 |
API Support
|
Post subject: Re: @Configurable in different class than IStrategy |
Post rating: 0
|
Posted: Tue 12 Sep, 2017, 10:38
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
One option is to move trading logic to other classes. @Configurable parameters are located only from man IStrategy class.
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|