Hi,
Can anyone tell me how/where I should use the following to enable me to reuse an exit order repeatedly?
[ExitFromOneEntryOnce(ExitFromOneEntryOnce.FillAndKillExitOrder)]
Thanks
Ben.
ExitFromOneEntryOnce
-
- Posts: 18
- Joined: 22 Feb 2014
- Has thanked: 5 times
- Been thanked: 2 times
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: ExitFromOneEntryOnce
Attributes need to placed at the top of your class in MC .NET, just below the line with 'namespace PowerLanguage.Strategy' in it (around line number 7). For example:Can anyone tell me how/where I should use the following to enable me to reuse an exit order repeatedly?
Code: Select all
namespace PowerLanguage.Strategy
{
[ExitFromOneEntryOnce(ExitFromOneEntryOnce.FillAndKillExitOrder)]
public class Example : SignalObject
{
...
}
}