Chartbreaker
    Preparing search index...

    Interface PreparedEditOrder

    interface PreparedEditOrder {
        allowsStopLoss?: boolean;
        allowsTakeProfit?: boolean;
        buildDetailedOrderCostEstimationToken?: (order: Order) => string;
        mayChangeComment?: boolean;
        mayChangeSize?: boolean;
        order: Order;
        orderModels: OrderModel[];
        validityTypes: OrderValidityType[];
        authorizeEdit(
            order: Order,
            authenticationMethodId: string,
            abortSignal?: AbortSignal_2,
        ): Promise<AuthorizedOperation<void>>;
        createQuotesObservable?(): Observable<TickerData>;
    }
    Index
    allowsStopLoss?: boolean
    allowsTakeProfit?: boolean
    buildDetailedOrderCostEstimationToken?: (order: Order) => string

    If defined, the detailed cost statement for the changes of the order can be loaded by passing the token generated by this function to getDetailedCostEstimationTable of the session. Pass the changed order values. Building the token is a local operation.

    There are no summary fields (OrderCostEstimation) for order changes, so this is the only source of cost information.

    mayChangeComment?: boolean

    true if it is possible to change the comment of the order

    mayChangeSize?: boolean

    true if it is possible to change the size of an order

    order: Order
    orderModels: OrderModel[]
    validityTypes: OrderValidityType[]