Typo in API Docs - PendingOrderFilledEventArgs

Created at 22 Apr 2019, 20:10
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JE

jeremypatrickmeyer

Joined 18.03.2019

Typo in API Docs - PendingOrderFilledEventArgs
22 Apr 2019, 20:10


https://ctrader.com/api/reference/pendingorderfilledeventargs

In the code example:

protected override void OnStart()
{
    PendingOrders.Filled += PendingOrdersOnFilled;
    PlaceStopOrder(TradeType.Buy, Symbol, 10000, Symbol.Ask);
}
private void PendingOrdersOnFilled(PendingOrderFilledEventArgs args)
{
    Print("Pending order with id {0} was filled, position id  is {1}", args.PendngOrder.Id, args.Position.Id);
}
args.PendngOrder.Id

should be:

args.PendingOrder.Id

@jeremypatrickmeyer