IsSuccessful


Summary

True if the trade is successful, false if there is an error

Syntax

public bool IsSuccessful{ get; }

Example 1

TradeResult result = ExecuteMarketOrder(TradeType.Buy, Symbol, 20000);
if (result.IsSuccessful)
    Print("Buy at {0}", result.Position.EntryPrice);