Skip to content

IsExecuting Property

Summary

True if a trade operation is being executed, false if it completed

Signature

1
public bool IsExecuting {get;}

Return Value

bool

Declaring Type

cAlgo.API.TradeOperation

Examples

1
2
3
4
5
6
 TradeOperation operation = ExecuteMarketOrderAsync(TradeType.Buy, Symbol, 20000, "myLabel");
 // ...
 if (!operation.IsExecuting)
 {
     Print("Trade executed");
 }

Last update: June 26, 2022

Comments