TradeResult¶
Summary¶
The result of a trade operation.
Signature
1 |
|
Namespace¶
cAlgo.API
Examples¶
1 2 3 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
Methods¶
ToString¶
Summary
The description of a trade result.
Signature
1 |
|
Return Value
string
Examples
1 2 3 |
|
Properties¶
IsSuccessful¶
Summary
True if the trade is successful, false if there is an error.
Signature
1 |
|
Return Value
bool
Examples
1 2 3 |
|
Error¶
Summary
The error code of an unsuccessful trade.
Signature
1 |
|
Return Value
ErrorCode?
Examples
1 2 3 4 |
|
Position¶
Summary
The resulting position of a trade request.
Signature
1 |
|
Return Value
Position
Examples
1 2 3 |
|
PendingOrder¶
Summary
The resulting pending order of a trade request.
Signature
1 |
|
Return Value
PendingOrder
Examples
1 2 3 4 |
|
Last update: November 30, 2023