Order

Submit an order

order_strategy with value fillOrKill that will be auto-canceled if no match is made in 2 seconds order_strategy with value ALO (add-liquidity-only) rests and posts liquidity only; never takes For normal orders, just remove the order_strategy field

post/v4/mm/submit_order

Request

  • Base URL
    https://cash.api.prophetx.co/partner
  • URL
    https://cash.api.prophetx.co/partner/v4/mm/submit_order
  • Auth
    API key in header Authorization

Request body

aggregator_idstring

Self-declared identifier of the aggregator placing this order, used for aggregator order-attribution tracking.

external_idstring
order_strategy'fillOrKill' | 'ALO'
pricenumber
quantitynumber
strike_idstring

Example request

{
  "order_strategy": "fillOrKill"
}

Response

OK

Changes

    • breaking

      request property was restricted to a list of enum values

    • warning

      removed the optional property // from the response with the status

    • info

      api tag Order added

    • info

      api tag order removed

    • info

      added the new optional request property

    • info

      added the new ALO enum value to the request property

    • info

      added the new fillOrKill enum value to the request property

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status