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

Ally Invest API

GET market/toplists/:list{.format}

Description

This call will return a ranked list based on the list type specified.

Authentication Required
Yes OAuth 1.0a
URI Parameters
list type of list to be requested.
Example URL
https://api.tradeking.com/v1/market/toplists/topvolume.xml
Queryable Fields
exchange
the exchange for the top movers to be requested. The followings are the exchange abbreviation to be assigned: (the default exchange is NYSE)
 
A: American Stock Exchange
N: New York Stock Exchange
Q: NASDAQ
U: NASDAQ Bulletin Board
V: NASDAQ OTC Other

Special Considerations

Available list types include:

toplosers Top losers by dollar amount
toppctlosers Top percentage losers
topvolume Top volume
topactive Top active
topgainers Top gainers by dollar amount
toppctgainers Top percentage gainers

Data Fields

Data Tag Data Description
chg Change since prior day close (cl)
last Last trade price
name Company name
pchg percentage change from prior day close
pcls Prior day close
rank Rank within list returned
symbol Ticker symbol
vl Today's cumulative volume

Request Example

GET /v1/market/toplists/topgainers.xml?exchange=N HTTP/1.1
Authorization: OAuth
  oauth_consumer_key="672e71387c0a126f4e13296ecfb2b7bc",
  oauth_nonce="cfdb7f42de425d94fbc24c11a920c33e",
  oauth_signature="Vfm148kAgBZ6azEHqds43aY2UsEg3D",
  oauth_signature_method="HMAC-SHA1",
  oauth_timestamp="1306871932",
  oauth_token="819682555b63ab8bd90a4138138e7365",
  oauth_version="1.0"
Connection: close
Host: api.tradeking.com

Response Example

  <?xml version="1.0" encoding="UTF-8"?>
  <response id="-198e0f1:1365a983053:-7fda">
    <quotes>
      <quote>
        <chg>25.3600</chg>
        <chg_sign>u</chg_sign>
        <last>449.8600</last>
        <name>MARKEL CORP</name>
        <pchg>5.9741 %</pchg>
        <pcls>424.5000</pcls>
        <rank>1</rank>
        <symbol>MKL</symbol>
        <vl>52525</vl>
      </quote>
      <quote>
        <chg>15.8300</chg>
        <chg_sign>u</chg_sign>
        <last>34.8300</last>
        <name>ANNIE'S INC</name>
        <pchg>83.3158 %</pchg>
        <pcls>19.0000</pcls>
        <rank>2</rank>
        <symbol>BNNY</symbol>
        <vl>6664631</vl>
      </quote>
      <quote>
        <chg>7.5400</chg>
        <chg_sign>u</chg_sign>
        <last>22.9300</last>
        <name>AMYLIN PHARMACEUTICALS INC</name>
        <pchg>48.9929 %</pchg>
        <pcls>15.3900</pcls>
        <rank>3</rank>
        <symbol>AMLN</symbol>
        <vl>33211085</vl>
      </quote>
      <quote>
        <chg>5.9800</chg>
        <chg_sign>u</chg_sign>
        <last>653.0000</last>
        <name>GOOGLE INC CL A</name>
        <pchg>0.9242 %</pchg>
        <pcls>647.0200</pcls>
        <rank>4</rank>
        <symbol>GOOG</symbol>
        <vl>1824715</vl>
      </quote>
      <quote>
        <chg>5.6400</chg>
        <chg_sign>u</chg_sign>
        <last>45.9000</last>
        <name>PENTAIR INC</name>
        <pchg>14.0089 %</pchg>
        <pcls>40.2600</pcls>
        <rank>5</rank>
        <symbol>PNR</symbol>
        <vl>6448420</vl>
      </quote>
      <quote>
        <chg>4.3000</chg>
        <chg_sign>u</chg_sign>
        <last>50.1300</last>
        <name>ROBBINS &amp; MYERS INC</name>
        <pchg>9.3825 %</pchg>
        <pcls>45.8300</pcls>
        <rank>6</rank>
        <symbol>RBN</symbol>
        <vl>1640720</vl>
      </quote>
      <quote>
        <chg>3.6700</chg>
        <chg_sign>u</chg_sign>
        <last>155.5300</last>
        <name>EQUINIX INC</name>
        <pchg>2.4167 %</pchg>
        <pcls>151.8600</pcls>
        <rank>7</rank>
        <symbol>EQIX</symbol>
        <vl>1093616</vl>
      </quote>
      <quote>
        <chg>3.2500</chg>
        <chg_sign>u</chg_sign>
        <last>39.8500</last>
        <name>PROSHARES VIX SHRT TRM FUT ETF</name>
        <pchg>8.8798 %</pchg>
        <pcls>36.6000</pcls>
        <rank>8</rank>
        <symbol>VIXY</symbol>
        <vl>366217</vl>
      </quote>
      <quote>
        <chg>3.1700</chg>
        <chg_sign>u</chg_sign>
        <last>40.4500</last>
        <name>VELOCITYSHARES VIX STERM ETN</name>
        <pchg>8.5032 %</pchg>
        <pcls>37.2800</pcls>
        <rank>9</rank>
        <symbol>VIIX</symbol>
        <vl>184745</vl>
      </quote>
      <quote>
        <chg>3.0700</chg>
        <chg_sign>u</chg_sign>
        <last>40.9700</last>
        <name>HUNTINGTON INGALLS INDUSTRIES</name>
        <pchg>8.1003 %</pchg>
        <pcls>37.9000</pcls>
        <rank>10</rank>
        <symbol>HII</symbol>
        <vl>715916</vl>
      </quote>
    </quotes>
  </response>
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, 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 (PDF) before you begin trading options. Options investors may lose the entire amount of their investment in a relatively short period of time.