QuantConnect / Documentation

QuantConnect Wiki Style Documentation Behind QuantConnect
https://www.quantconnect.com/docs/v2/
Apache License 2.0
171 stars 135 forks source link

Typo in OrderStatus enum documentation #1765

Closed akosmaroy closed 4 months ago

akosmaroy commented 4 months ago

in OrderTypes.cs:

        /// <summary>
        /// Order waiting for confirmation of cancellation (6)
        /// </summary>
        CancelPending = 8,

the doc says '6' where it should be '8':

        /// <summary>
        /// Order waiting for confirmation of cancellation (8)
        /// </summary>
        CancelPending = 8,

as a result the type is repeated at https://www.quantconnect.com/docs/v2/writing-algorithms/trading-and-orders/order-management/order-tickets too

see: https://github.com/QuantConnect/Lean/blob/1c32144963bfd7761fe33690f2edad31f8ff6a8d/Common/Orders/OrderTypes.cs#L175C1-L178C27

Martin-Molinero commented 4 months ago

Thank you for the report @akosmaroy!

AlexCatarino commented 4 months ago

Closed by https://github.com/QuantConnect/Lean/pull/8020