Skip to content

LastResult Property

Summary

The latest trade result

Signature

1
public TradeResult LastResult {get;}

Return Value

TradeResult

Declaring Type

cAlgo.API.Robot

Examples

1
2
3
 ExecuteMarketOrder(TradeType.Buy, Symbol, 20000, null, 10, null);
 if(LastResult.IsSuccessful)
     Print(LastResult.Position.StopLoss);

Last update: June 26, 2022

Comments