Deal¶
Summary¶
Represents a deal.
Signature
1 |
|
Namespace¶
cAlgo.API
Properties¶
Id¶
Summary
Unique deal Id.
Signature
1 |
|
Return Value
long
PositionId¶
Summary
Position Id.
Signature
1 |
|
Return Value
int
OrderId¶
Summary
Order Id.
Signature
1 |
|
Return Value
int
PositionImpact¶
Summary
Returns deal position impact if deal is filled otherwise null.
Signature
1 |
|
Return Value
DealPositionImpact?
Status¶
Summary
Returns status of deal.
Signature
1 |
|
Return Value
DealStatus
VolumeInUnits¶
Summary
Deal filled volume amount in units.
Signature
1 |
|
Return Value
double
ExecutionPrice¶
Summary
Returns deal execution price if deal is filled otherwise null.
Signature
1 |
|
Return Value
double?
SymbolName¶
Summary
Gets the symbol name.
Signature
1 |
|
Return Value
string
Label¶
Summary
Gets the label.
Signature
1 |
|
Return Value
string
Comment¶
Summary
Gets the comment.
Signature
1 |
|
Return Value
string
Channel¶
Summary
Gets the channel.
Signature
1 |
|
Return Value
string
TradeType¶
Summary
Gets the TradeType.
Signature
1 |
|
Return Value
TradeType
ExecutionTime¶
Summary
Returns deal execution time.
Signature
1 |
|
Return Value
DateTime
ClosedBy¶
Summary
If deal was an opening deal then this property will return the deals that closed current deal.
Signature
1 |
|
Return Value
IReadonlyList
Closing¶
Summary
If deal was a closing deal then this property will return the deals that were closed by current deal.
Signature
1 |
|
Return Value
IReadonlyList