NinjaScript > Language Reference > Strategy > ATM Strategy Methods >

AtmStrategyCancelEntryOrder()

Print this Topic Previous pageReturn to chapter overviewNext page

Definition
Cancels the specified entry order.

 

Method Return Value

Returns true if the specified order was found; otherwise false.

 

Syntax

AtmStrategyCancelEntryOrder(string orderId)

 

Parameters

orderId

The unique identifier for the entry order

 

 

Examples

protected override void OnBarUpdate()
{
    AtmStrategyCancelEntryOrder("orderIdValue");
}