Endpoints

  • Place a new order

    The order can contain optional limit and stop orders, by adding them as child orders.

    It is also possible to place an order on behalf of another client (for IBs).

    The account key property of the order determines the client account on which the order is placed.

    POST https://gateway.saxobank.com/sim/openapi/trade/v2/orders

  • Change one or more existing orders

    Changes one or more existing orders.>

    PATCH https://gateway.saxobank.com/sim/openapi/trade/v2/orders

  • Cancels all orders for requested instrument and account

    Cancels all orders for requested instrument and account.

    DELETE https://gateway.saxobank.com/sim/openapi/trade/v2/orders?AccountKey={AccountKey}&AssetType={AssetType}&Uic={Uic}

  • Cancel one or more orders

    Cancels one or more orders.

    DELETE https://gateway.saxobank.com/sim/openapi/trade/v2/orders/{OrderIds}?AccountKey={AccountKey}

  • Place a new multi-leg option strategy order

    Places a combined order where all legs must be symmetrically filled by the exchange. Used to place custom and common option strategies such as CalendarSpreads, Strangles and Straddles. Only supported on certian options exchanges. Support is indicated by the CanParticipateInMultiLegOrder flag when looking up the option root in RefData.

    It is also possible to place an multi-leg order on behalf of another client (for IBs). The account key property of the order determines the client account on which the order is placed. It is the same for all legs.

    POST https://gateway.saxobank.com/sim/openapi/trade/v2/orders/multileg

  • Change an existing multi-leg option strategy order

    Change an existing multi-leg option strategy order.

    PATCH https://gateway.saxobank.com/sim/openapi/trade/v2/orders/multileg

  • Cancel a multi-leg strategy order.

    Cancels all order legs in a combined multi-leg strategy order.

    DELETE https://gateway.saxobank.com/sim/openapi/trade/v2/orders/multileg/{MultiLegOrderId}?AccountKey={AccountKey}

  • Get default values for a option multi-leg order strategies.

    Returns a list of suggested orders/legs for the given option root and strategy.

    GET https://gateway.saxobank.com/sim/openapi/trade/v2/orders/multileg/defaults?AccountKey={AccountKey}&OptionRootId={OptionRootId}&OptionsStrategyType={OptionsStrategyType}

  • Pre-check a multileg options strategy order.

    Preforms a pre-check on a single options strategy order.

    POST https://gateway.saxobank.com/sim/openapi/trade/v2/orders/multileg/precheck

  • Pre-check orders

    Performs pre-check of a stand-alone order, a 3-way order or an OcO order pair.

    POST https://gateway.saxobank.com/sim/openapi/trade/v2/orders/precheck