TradeResult


Summary

The result of a trade operation

Syntax

public TradeResult TradeResult{ get; }

Example 1

TradeOperation operation = ExecuteMarketOrderAsync(TradeType.Buy, Symbol, 20000, "myLabel");
// ...
if (!operation.IsExecuting && operation.TradeResult.IsSuccessful)
{
    Print("Trade {0} executed", operation.TradeResult.Position.Label);
}