• Invest: 1-855-880-2559
  • Open 24/7

Ally Invest API Documentation

Build your application to connect to our investment platform and the 250,000 traders connected to it.

POST accounts/:id/orders{.format}


This call will allow you to place an order. This requires the order data is submitted in FIXML format submitted as XML within the body.

Authentication Required
Yes OAuth 1.0a
URI Parameters
id a valid account number
format a response format, default is xml (See Response Structure)
Header Parameters
TKI_TRADEPASS The user's trading password (if necessary). This is not common. Normally used when many accounts are tied to the same user, but specific accounts require separate trading passwords.
TKI_OVERRIDE Override any order warnings. If there are no order warnings, this is not required. In the event of an order warning, this must be used to successfully send orders and bypass the warning messages.
Example URL

Special Considerations

The request for order placement must be FIXML format submitted within the message body. Please visit the FIXML page as well as the Trading page for more information.

Data Fields

Please see the FIXML documentation for more information.

Request Example

POST /v1/accounts/123456878/orders.xml HTTP/1.1
Authorization: OAuth
Connection: close
Host: devapi.invest.ally.com
<?xml version="1.0" encoding="UTF-8"?>
<FIXML xmlns="http://www.fixprotocol.org/FIXML-5-0-SP2">
  <Order TmInForce="0" Typ="1" Side="1" Acct="12345678">
    <Instrmt SecTyp="CS" Sym="GE"/>
    <OrdQty Qty="1"/>

Response Example (Successful trade with override)

<?xml version="1.0" encoding="UTF-8"?>
<response id="77cf30da:12e0091b2c0:-50cb">

Response Example (Successful request but with override set to false)

<?xml version="1.0" encoding="UTF-8"?>
<response id="77cf30da:12e0091b2c0:-4f5d">
    <warningtext>This may be a duplicate order. Please go to the Order Status screen and review your open orders before continuing.</warningtext>
        <desc>GENERAL ELECTRIC CO</desc>

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, Ally Invest 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.

Ally Invest 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. Ally Invest did not engage in market making in the securities mentioned here.

Ally Invest Securities' background can be found at FINRA's BrokerCheck. Options involve risk and are not suitable for all investors.

Review the Characteristics and Risks of Standardized Options brochure before you begin trading options. Options investors may lose the entire amount of their investment in a relatively short period of time.