Property | Type | Description | |
---|---|---|---|
framework | Framework | ||
strategy |
Method | Description | |
---|---|---|
Buy ( double qty ) : void | ||
Buy ( double qty, string text ) : void | ||
BuyLimit ( double qty, double price ) : void | ||
BuyLimit ( double qty, double price, string text ) : void | ||
BuyStop ( double qty, double stopPx ) : void | ||
BuyStop ( double qty, double stopPx, string text ) : void | ||
HasLongPosition ( ) : bool | ||
HasLongPosition ( double qty ) : bool | ||
HasPosition ( ) : bool | ||
HasPosition ( PositionSide side, double qty ) : bool | ||
HasShortPosition ( ) : bool | ||
HasShortPosition ( double qty ) : bool | ||
Log ( DataObject data, Group group ) : void | ||
Log ( DataObject data, int groupId ) : void | ||
Log ( System.DateTime dateTime, double value, Group group ) : void | ||
Log ( System.DateTime dateTime, double value, int groupId ) : void | ||
Log ( System.DateTime dateTime, string text, Group group ) : void | ||
Log ( System.DateTime dateTime, string text, int groupId ) : void | ||
Log ( double value, Group group ) : void | ||
Log ( double value, int groupId ) : void | ||
Log ( string text, Group group ) : void | ||
Log ( string text, int groupId ) : void | ||
OnReminder ( System.DateTime dateTime, object data ) : void | ||
OnStrategyStart ( ) : void | ||
Sell ( double qty ) : void | ||
Sell ( double qty, string text ) : void | ||
SellLimit ( double qty, double price ) : void | ||
SellLimit ( double qty, double price, string text ) : void | ||
SellStop ( double qty, double stopPx ) : void | ||
SellStop ( double qty, double stopPx, string text ) : void | ||
SetStop ( double level, StopType type = StopType.Fixed, StopMode mode = StopMode.Absolute ) : Stop | ||
Signal ( double value ) : void |
public Buy ( double qty, string text ) : void | ||
qty | double | |
text | string | |
return | void |
public BuyLimit ( double qty, double price ) : void | ||
qty | double | |
price | double | |
return | void |
public BuyLimit ( double qty, double price, string text ) : void | ||
qty | double | |
price | double | |
text | string | |
return | void |
public BuyStop ( double qty, double stopPx ) : void | ||
qty | double | |
stopPx | double | |
return | void |
public BuyStop ( double qty, double stopPx, string text ) : void | ||
qty | double | |
stopPx | double | |
text | string | |
return | void |
public HasPosition ( PositionSide side, double qty ) : bool | ||
side | PositionSide | |
qty | double | |
return | bool |
public HasShortPosition ( double qty ) : bool | ||
qty | double | |
return | bool |
public Log ( DataObject data, Group group ) : void | ||
data | DataObject | |
group | Group | |
return | void |
public Log ( DataObject data, int groupId ) : void | ||
data | DataObject | |
groupId | int | |
return | void |
public Log ( System.DateTime dateTime, double value, Group group ) : void | ||
dateTime | System.DateTime | |
value | double | |
group | Group | |
return | void |
public Log ( System.DateTime dateTime, double value, int groupId ) : void | ||
dateTime | System.DateTime | |
value | double | |
groupId | int | |
return | void |
public Log ( System.DateTime dateTime, string text, Group group ) : void | ||
dateTime | System.DateTime | |
text | string | |
group | Group | |
return | void |
public Log ( System.DateTime dateTime, string text, int groupId ) : void | ||
dateTime | System.DateTime | |
text | string | |
groupId | int | |
return | void |
public Log ( double value, Group group ) : void | ||
value | double | |
group | Group | |
return | void |
public Log ( double value, int groupId ) : void | ||
value | double | |
groupId | int | |
return | void |
public Log ( string text, Group group ) : void | ||
text | string | |
group | Group | |
return | void |
public Log ( string text, int groupId ) : void | ||
text | string | |
groupId | int | |
return | void |
public OnReminder ( System.DateTime dateTime, object data ) : void | ||
dateTime | System.DateTime | |
data | object | |
return | void |
public Sell ( double qty, string text ) : void | ||
qty | double | |
text | string | |
return | void |
public SellLimit ( double qty, double price ) : void | ||
qty | double | |
price | double | |
return | void |
public SellLimit ( double qty, double price, string text ) : void | ||
qty | double | |
price | double | |
text | string | |
return | void |
public SellStop ( double qty, double stopPx ) : void | ||
qty | double | |
stopPx | double | |
return | void |
public SellStop ( double qty, double stopPx, string text ) : void | ||
qty | double | |
stopPx | double | |
text | string | |
return | void |
public SetStop ( double level, StopType type = StopType.Fixed, StopMode mode = StopMode.Absolute ) : Stop | ||
level | double | |
type | StopType | |
mode | StopMode | |
return | Stop |