POST accounts/:id/orders/preview{.format}


This call will allow you to preview an order prior to actually placing it. This does not place the order.

Authentication Required
Yes OAuth 1.0a
URI Parameters
id a valid account number
format a response format, default is xml (See Response Structure)
Example URL

Special Considerations

The request for order preview must be FIXML format submitted within the message body. Please visit the FIXML and Trading pages for more information on how to place orders.

Data Fields

In addition to quote information relating to the order, you may receive fields outlined in the table below.

Data Tag Description
estcommission Estimated commission for this order
marginrequirement Estimated margin requirement for trade (for margin accounts)
principal Estimated total cost (positive) or proceeds (negative) from order.
secfee Estimate of any SEC sale fee to be assessed on the order.
warningtext Description of a possible error in the order

Request Example

POST /v1/accounts/123456878/orders/preview.xml HTTP/1.1
Authorization: OAuth
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<FIXML xmlns="">
  <Order TmInForce="0" Typ="1" Side="1" Acct="12345678">
    <Instrmt SecTyp="CS" Sym="GE"/>
    <OrdQty Qty="1"/>

Response Example

<?xml version="1.0" encoding="UTF-8"?>
<response id="77cf30da:12e0091b2c0:-56c9">
        <desc>SIRIUS XM RADIO INC</desc>
        <desc>SIRIUS XM RADIO INC</desc>
Disclaimer: Any mention of actual symbols are to be used for coding purposes only and do not imply a recommendation or solicitation to buy or sell a particular security or to engage in any particular investment strategy.

At the time of publication and in the preceding month, TradeKing did not have ownership greater than 1% in any stocks mentioned here and does not have any other actual, material conflict of interest known at the time of publication. TradeKing did not receive compensation from a public offering or from investment banking services related to any companies mentioned here within the past 12 months, or expects to receive any in the next 3 months. TradeKing did not engage in market making in the securities mentioned here.