getLeaders API

Barchart OnDemand's getLeaders API provides leaderboard lists for equities, futures, forex, mutual funds and ETFs, including most active, gainers, losers, what's hot and what's not hot.

All APIs

Contact Us to Get Access

Inputs

exchanges optional

Exchange code for the marketplace where the financial instruments are listed.

Type
list-enum (A comma or semi-colon delimited string that must match a list of valid possible values.) 
Example
NYSE 

Valid Values:
AMEX, AGIDX_B_CRD, AGIDX_P_CRD, AGIDX_P_COU, AGIDX_B_COU, AGIDX_B_NAT, AGIDX_P_NAT, AGIDX_B_REG, AGIDX_P_REG, AGIDX_B_STA, AGIDX_P_STA, CBOT, CBOTM, CME, COMEX, FOREX, GBLX, ICE, ICEFI, ICEUS, WCE, CADFUNDS, FUND, INDEX, INDEX-CBOE, INDEX-DOW, INDEX-NQ, INDEX-NY, INDEX-SP, INDEX-TSX, IOM, IMM, KCBT, LCE, MGEX, NASDAQ, OTHER OTC, RATES, RATE, NYMEX, NYMI, NYSE, NLIF, TSX, TSX-V, SECTOR, CNSX, LIFFE, EUIDX, EUREX, BMF, MATIF, CXMI, HKFE, SPECIAL, INDEX-RL, MATBA, NCDEX, ASX, ROFEX, OTC-BB, SIMEX, CZCE, CROSS, BSE, MNTRL, ECONOMY, TOCOM, MEFF, ENDEX, SAFEX, TIFFE, CASH, MCX, NZX, MDEX, DGCX, NSE, CBOE, DME, OMX, CFE, TURK, TFEX, TAIWA, SHFE, DCE, BATS, LSE, LME, EEX, CFFEX, JPX, SFE, CRYPTO, GRBIDS

assetType required

The type of asset. Includes: equities ("STK"), mutual funds ("FUNDS"), ETFs ("ETF"), futures ("FUT"), forex ("FOREX")

Type
enum (A type which includes a list of valid possible values.) 
Example
STK 

Valid Values:
STK, ETF, FUND, FUT, FOREX

type required

The type of leaderboard to display.

Type
enum (A type which includes a list of valid possible values.) 
Example
hot 

Valid Values:
active, active_5d, active_1m, active_3m, active_6m, active_9m, active_12m, active_ytd, gainers, gainers_5d, gainers_1m, gainers_3m, gainers_6m, gainers_9m, gainers_12m, gainers_ytd, losers, losers_5d, losers_1m, losers_3m, losers_6m, losers_9m, losers_12m, losers_ytd, hot, hot_daily, hot_weekly, hot_monthly, nothot, nothot_daily, nothot_weekly, nothot_monthly, barchart

maxRecords optional

The maximum number of records to show in the return.

Type
int (A numeric type defining a whole number. (example: 2)) 
Example
30 
Default
100 

period optional

A value representing the time period.

Type
enum (A type which includes a list of valid possible values.) 
Example
260d 
Default
260d 

Valid Values:
5d, 20d, 65d, 100d, 260d

sortDirection optional

To determine the sort direction.

Type
enum (A type which includes a list of valid possible values.) 
Example
DESC 
Default
ASC 

Valid Values:
ASC, DESC

Outputs

Name / Requirement
Description
Type
symbol
always returned
A symbol or code that identifies a financial instrument.
string
A sequence of characters. (example: GOOG)
symbolName
always returned
The full name of the instrument.
string
A sequence of characters. (example: GOOG)
exchange
always returned
Exchange code for the marketplace where the financial instruments are listed.
string
A sequence of characters. (example: GOOG)
country
always returned
The instrument's country of origin.
string
A sequence of characters. (example: GOOG)
sicSector
always returned
A four-digit code for classifying industries.
string
A sequence of characters. (example: GOOG)
industry
always returned
A code that identifies a group of businesses that produce similar products or services.
string
A sequence of characters. (example: GOOG)
subIndustry
always returned
A more specific group of businesses within an industry that produce similar products or services.
string
A sequence of characters. (example: GOOG)
timestamp
always returned
The time the message was generated on the server.
dateTime
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.
tradeTimestamp
always returned
The exchange timestamp for the last traded price.
dateTime
A date and time in the format of YYYY-MM-DD HH:MI:SS<TIMEZONE_OFFSET>.
lastPrice
always returned
The last price the instrument traded.
double
A numeric type defining a number with fractional parts. (example: 2.14)
priceNetChange
always returned
The difference between the last price and the previous day's settlement price.
double
A numeric type defining a number with fractional parts. (example: 2.14)
pricePercentChange
always returned
The difference between the last price and the previous day's settlement price, expressed as a percentage.
double
A numeric type defining a number with fractional parts. (example: 2.14)
previousClose
always returned
The closing value of the instrument on the previous day.
double
A numeric type defining a number with fractional parts. (example: 2.14)
volume
always returned
The number of shares or contracts traded.
int
A numeric type defining a whole number. (example: 2)
previousVolume
always returned
The number of shares or contracts traded for the previous day.
int
A numeric type defining a whole number. (example: 2)
standardDeviation
always returned
The standard deviation using the past 20-days of data.
double
A numeric type defining a number with fractional parts. (example: 2.14)

Status Code Responses

200
OK
Success
400
Bad Request
The request was invalid, please see the message for more information.
500
Internal Server Error
Something is not working correctly, please contact support.


JSON

GET

GET https://ondemand.websol.barchart.com/getLeaders.json?apikey=YOUR_API_KEY&exchanges=NYSE&assetType=STK&type=hot&maxRecords=30&period=260d&sortDirection=DESC
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getLeaders.json
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=YOUR_API_KEY&exchanges=NYSE&assetType=STK&type=hot&maxRecords=30&period=260d&sortDirection=DESC

Response

{
    "status": {
        "code": 200,
        "message": "Success."
    },
    "results": [
        {
            "symbol": "TPR",
            "symbolName": "Tapestry Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "3100",
            "industry": "Retail",
            "subIndustry": "Apparel & Shoes",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:06-05:00",
            "lastPrice": 52.87,
            "priceNetChange": 5.41,
            "pricePercentChange": 11.4,
            "previousClose": 47.46,
            "volume": 5432121,
            "previousVolume": 6691600,
            "standardDeviation": 4.14
        },
        {
            "symbol": "AAP",
            "symbolName": "Advance Auto Parts Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "5531",
            "industry": "Retail",
            "subIndustry": "Wholesale Auto Parts",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:05-05:00",
            "lastPrice": 158.46,
            "priceNetChange": 13.62,
            "pricePercentChange": 9.4,
            "previousClose": 144.84,
            "volume": 1465711,
            "previousVolume": 1407300,
            "standardDeviation": 3.87
        },
        {
            "symbol": "SJW",
            "symbolName": "SJW Corp",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "4941",
            "industry": "Utility",
            "subIndustry": "Water Supply",
            "timestamp": "2018-08-14T09:57:32-05:00",
            "tradeTimestamp": "2018-08-14T10:42:32-05:00",
            "lastPrice": 65.53,
            "priceNetChange": 3.13,
            "pricePercentChange": 5.02,
            "previousClose": 62.4,
            "volume": 39410,
            "previousVolume": 98700,
            "standardDeviation": 2.76
        },
        {
            "symbol": "CHAP",
            "symbolName": "Chaparral Energy Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "1311",
            "industry": "Oil",
            "subIndustry": "US Exploration & Product",
            "timestamp": "2018-08-14T09:57:32-05:00",
            "tradeTimestamp": "2018-08-14T10:35:48-05:00",
            "lastPrice": 17.64,
            "priceNetChange": 0.07,
            "pricePercentChange": 0.4,
            "previousClose": 17.57,
            "volume": 8205,
            "previousVolume": 35800,
            "standardDeviation": 2.42
        },
        {
            "symbol": "BGG",
            "symbolName": "Briggs & Stratton Corp",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "3510",
            "industry": "Machinery",
            "subIndustry": "Farm",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:03-05:00",
            "lastPrice": 17.96,
            "priceNetChange": 0.76,
            "pricePercentChange": 4.42,
            "previousClose": 17.2,
            "volume": 242298,
            "previousVolume": 214400,
            "standardDeviation": 2.31
        },
        {
            "symbol": "AZO",
            "symbolName": "Autozone",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "5531",
            "industry": "Retail",
            "subIndustry": "Wholesale Auto Parts",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:04-05:00",
            "lastPrice": 749.1,
            "priceNetChange": 19.69,
            "pricePercentChange": 2.7,
            "previousClose": 729.41,
            "volume": 105482,
            "previousVolume": 199600,
            "standardDeviation": 2.3
        },
        {
            "symbol": "WBK",
            "symbolName": "Westpac Banking Corp",
            "exchange": "NYSE",
            "country": "AUS",
            "sicSector": "6029",
            "industry": "Banks",
            "subIndustry": "Foreign",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:42:53-05:00",
            "lastPrice": 21.69,
            "priceNetChange": 0.43,
            "pricePercentChange": 2.02,
            "previousClose": 21.26,
            "volume": 112501,
            "previousVolume": 257900,
            "standardDeviation": 2.3
        },
        {
            "symbol": "LAC",
            "symbolName": "Lithium Americas Corp",
            "exchange": "NYSE",
            "country": "CAN",
            "sicSector": "1000",
            "industry": "Chemical",
            "subIndustry": "Diversified",
            "timestamp": "2018-08-14T09:57:56-05:00",
            "tradeTimestamp": "2018-08-14T10:42:28-05:00",
            "lastPrice": 3.98,
            "priceNetChange": 0.42,
            "pricePercentChange": 11.8,
            "previousClose": 3.56,
            "volume": 224977,
            "previousVolume": 275400,
            "standardDeviation": 2.28
        },
        {
            "symbol": "EGN",
            "symbolName": "Energen Corp",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "1311",
            "industry": "Oil",
            "subIndustry": "US Exploration & Product",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:05-05:00",
            "lastPrice": 73,
            "priceNetChange": 1.64,
            "pricePercentChange": 2.3,
            "previousClose": 71.36,
            "volume": 243249,
            "previousVolume": 1228900,
            "standardDeviation": 2.18
        },
        {
            "symbol": "ORN",
            "symbolName": "Orion Group Holdings Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "1600",
            "industry": "Building",
            "subIndustry": "Heavy Construction",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:02-05:00",
            "lastPrice": 9.08,
            "priceNetChange": 0.29,
            "pricePercentChange": 3.3,
            "previousClose": 8.79,
            "volume": 61938,
            "previousVolume": 346800,
            "standardDeviation": 2.14
        },
        {
            "symbol": "ASR",
            "symbolName": "Grupo Aeroportuario Del Sureste",
            "exchange": "NYSE",
            "country": "MEX",
            "sicSector": "4581",
            "industry": "Transportation",
            "subIndustry": "Services",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:02-05:00",
            "lastPrice": 188.63,
            "priceNetChange": 8.21,
            "pricePercentChange": 4.55,
            "previousClose": 180.42,
            "volume": 18128,
            "previousVolume": 15500,
            "standardDeviation": 2.14
        },
        {
            "symbol": "COP",
            "symbolName": "Conocophillips",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "2911",
            "industry": "Oil",
            "subIndustry": "US Integrated",
            "timestamp": "2018-08-14T09:58:07-05:00",
            "tradeTimestamp": "2018-08-14T10:43:06-05:00",
            "lastPrice": 72.24,
            "priceNetChange": 1.17,
            "pricePercentChange": 1.65,
            "previousClose": 71.07,
            "volume": 1273001,
            "previousVolume": 4322100,
            "standardDeviation": 2.13
        },
        {
            "symbol": "DL",
            "symbolName": "China Distance Education Holdings",
            "exchange": "NYSE",
            "country": "CHN",
            "sicSector": "8200",
            "industry": "Internet",
            "subIndustry": "Content",
            "timestamp": "2018-08-14T09:55:19-05:00",
            "tradeTimestamp": "2018-08-14T10:35:04-05:00",
            "lastPrice": 8.21,
            "priceNetChange": 0.090000000000002,
            "pricePercentChange": 1.11,
            "previousClose": 8.12,
            "volume": 2624,
            "previousVolume": 27200,
            "standardDeviation": 2.1
        },
        {
            "symbol": "APLE",
            "symbolName": "Apple Hospitality REIT Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "6798",
            "industry": "REIT",
            "subIndustry": "Equity Trust Other",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:42:54-05:00",
            "lastPrice": 17.43,
            "priceNetChange": 0.23,
            "pricePercentChange": 1.34,
            "previousClose": 17.2,
            "volume": 376816,
            "previousVolume": 1225300,
            "standardDeviation": 2.1
        },
        {
            "symbol": "MOSC",
            "symbolName": "Mosaic Acquisition Corp",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "6770",
            "industry": "Unclassified",
            "subIndustry": null,
            "timestamp": "2018-08-14T09:55:19-05:00",
            "tradeTimestamp": "2018-08-14T10:40:13-05:00",
            "lastPrice": 9.75,
            "priceNetChange": 0.039999999999999,
            "pricePercentChange": 0.41,
            "previousClose": 9.71,
            "volume": 2761,
            "previousVolume": 12800,
            "standardDeviation": 2.05
        },
        {
            "symbol": "CPF",
            "symbolName": "Central Pacific Financial Co",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "6022",
            "industry": "Banks",
            "subIndustry": "West",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:42:03-05:00",
            "lastPrice": 28.32,
            "priceNetChange": 0.53,
            "pricePercentChange": 1.91,
            "previousClose": 27.79,
            "volume": 11792,
            "previousVolume": 143800,
            "standardDeviation": 2.04
        },
        {
            "symbol": "CIT",
            "symbolName": "Cit Group Inc [Del]",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "6021",
            "industry": "Finance",
            "subIndustry": "Misc Services",
            "timestamp": "2018-08-14T09:57:56-05:00",
            "tradeTimestamp": "2018-08-14T10:42:51-05:00",
            "lastPrice": 53.97,
            "priceNetChange": 0.63,
            "pricePercentChange": 1.18,
            "previousClose": 53.34,
            "volume": 58726,
            "previousVolume": 591100,
            "standardDeviation": 2.01
        },
        {
            "symbol": "TU",
            "symbolName": "Telus Corp Non Voting Shares",
            "exchange": "NYSE",
            "country": "CAN",
            "sicSector": "4812",
            "industry": "Diversified Comm Services",
            "subIndustry": null,
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:42:25-05:00",
            "lastPrice": 36.72,
            "priceNetChange": 0.49,
            "pricePercentChange": 1.35,
            "previousClose": 36.23,
            "volume": 102208,
            "previousVolume": 245200,
            "standardDeviation": 1.97
        },
        {
            "symbol": "MFC",
            "symbolName": "Manulife Financial Corp",
            "exchange": "NYSE",
            "country": "CAN",
            "sicSector": "6311",
            "industry": "Insurance",
            "subIndustry": "Life",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:04-05:00",
            "lastPrice": 18.58,
            "priceNetChange": 0.36,
            "pricePercentChange": 1.98,
            "previousClose": 18.22,
            "volume": 619949,
            "previousVolume": 1906600,
            "standardDeviation": 1.96
        },
        {
            "symbol": "AVA",
            "symbolName": "Avista Corp",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "4931",
            "industry": "Utility",
            "subIndustry": "Electric Power",
            "timestamp": "2018-08-14T09:57:11-05:00",
            "tradeTimestamp": "2018-08-14T10:42:10-05:00",
            "lastPrice": 51,
            "priceNetChange": 0.32,
            "pricePercentChange": 0.63,
            "previousClose": 50.68,
            "volume": 194430,
            "previousVolume": 478300,
            "standardDeviation": 1.95
        },
        {
            "symbol": "HRTG",
            "symbolName": "Heritage Insurance Holdings",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "6331",
            "industry": "Insurance",
            "subIndustry": "Proprty & Casualty",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:42:48-05:00",
            "lastPrice": 15.97,
            "priceNetChange": 0.96,
            "pricePercentChange": 6.4,
            "previousClose": 15.01,
            "volume": 74746,
            "previousVolume": 172800,
            "standardDeviation": 1.93
        },
        {
            "symbol": "LB",
            "symbolName": "L Brands Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "5621",
            "industry": "Retail",
            "subIndustry": "Apparel & Shoes",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:00-05:00",
            "lastPrice": 32.16,
            "priceNetChange": 0.98999999999999,
            "pricePercentChange": 3.18,
            "previousClose": 31.17,
            "volume": 1262378,
            "previousVolume": 6442300,
            "standardDeviation": 1.88
        },
        {
            "symbol": "CRD.A",
            "symbolName": "Crawford Co Cl A",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "6411",
            "industry": "Business Services",
            "subIndustry": null,
            "timestamp": "2018-08-14T09:55:30-05:00",
            "tradeTimestamp": "2018-08-14T10:22:53-05:00",
            "lastPrice": 8.59,
            "priceNetChange": 0.19,
            "pricePercentChange": 2.26,
            "previousClose": 8.4,
            "volume": 311,
            "previousVolume": 47800,
            "standardDeviation": 1.88
        },
        {
            "symbol": "NLS",
            "symbolName": "Nautilus Group",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "3949",
            "industry": "Retail",
            "subIndustry": "Mail Order",
            "timestamp": "2018-08-14T09:57:46-05:00",
            "tradeTimestamp": "2018-08-14T10:42:41-05:00",
            "lastPrice": 14.02,
            "priceNetChange": 0.22,
            "pricePercentChange": 1.59,
            "previousClose": 13.8,
            "volume": 46978,
            "previousVolume": 196400,
            "standardDeviation": 1.85
        },
        {
            "symbol": "MIC",
            "symbolName": "Macquarie Infrastructure Company Trust",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "5172",
            "industry": "Conglomerates",
            "subIndustry": "Div Operations",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:00-05:00",
            "lastPrice": 45.22,
            "priceNetChange": 0.79,
            "pricePercentChange": 1.78,
            "previousClose": 44.43,
            "volume": 108044,
            "previousVolume": 593900,
            "standardDeviation": 1.77
        },
        {
            "symbol": "RCUS",
            "symbolName": "Arcus Biosciences Inc.",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "2834",
            "industry": "Medical",
            "subIndustry": "Biomedical",
            "timestamp": "2018-08-14T09:58:04-05:00",
            "tradeTimestamp": "2018-08-14T10:31:54-05:00",
            "lastPrice": 12.48,
            "priceNetChange": 0.64,
            "pricePercentChange": 5.41,
            "previousClose": 11.84,
            "volume": 41624,
            "previousVolume": 42800,
            "standardDeviation": 1.76
        },
        {
            "symbol": "AGN",
            "symbolName": "Allergan Plc",
            "exchange": "NYSE",
            "country": "IRL",
            "sicSector": "2834",
            "industry": "Medical",
            "subIndustry": "Generic Drugs",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:42:13-05:00",
            "lastPrice": 186.77,
            "priceNetChange": 2.5,
            "pricePercentChange": 1.36,
            "previousClose": 184.27,
            "volume": 496250,
            "previousVolume": 1772100,
            "standardDeviation": 1.74
        },
        {
            "symbol": "KAI",
            "symbolName": "Kadant Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "3550",
            "industry": "Machinery",
            "subIndustry": "General Industrial",
            "timestamp": "2018-08-14T09:58:04-05:00",
            "tradeTimestamp": "2018-08-14T10:41:24-05:00",
            "lastPrice": 98,
            "priceNetChange": 2.65,
            "pricePercentChange": 2.78,
            "previousClose": 95.35,
            "volume": 20808,
            "previousVolume": 66500,
            "standardDeviation": 1.73
        },
        {
            "symbol": "TLYS",
            "symbolName": "Tilly's Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "5600",
            "industry": "Retail",
            "subIndustry": "Apparel & Shoes",
            "timestamp": "2018-08-14T09:57:44-05:00",
            "tradeTimestamp": "2018-08-14T10:42:29-05:00",
            "lastPrice": 17.71,
            "priceNetChange": 0.66,
            "pricePercentChange": 3.87,
            "previousClose": 17.05,
            "volume": 80811,
            "previousVolume": 180800,
            "standardDeviation": 1.72
        },
        {
            "symbol": "WMS",
            "symbolName": "Advanced Drainage Systems Inc",
            "exchange": "NYSE",
            "country": "USA",
            "sicSector": "3086",
            "industry": "Building & Construction",
            "subIndustry": "Misc",
            "timestamp": "2018-08-14T09:58:06-05:00",
            "tradeTimestamp": "2018-08-14T10:43:05-05:00",
            "lastPrice": 31.35,
            "priceNetChange": 0.6,
            "pricePercentChange": 1.95,
            "previousClose": 30.75,
            "volume": 140526,
            "previousVolume": 346500,
            "standardDeviation": 1.69
        }
    ]
}

XML

GET

GET https://ondemand.websol.barchart.com/getLeaders.xml?apikey=YOUR_API_KEY&exchanges=NYSE&assetType=STK&type=hot&maxRecords=30&period=260d&sortDirection=DESC
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getLeaders.xml
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=YOUR_API_KEY&exchanges=NYSE&assetType=STK&type=hot&maxRecords=30&period=260d&sortDirection=DESC

Response


<?xml version="1.0" encoding="utf-8"?>
 <getLeaders>
  <status>
   <code>200</code>
   <message>Success.</message>
  </status>
  <item>
   <symbol>TPR</symbol>
   <symbolName>Tapestry Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>3100</sicSector>
   <industry>Retail</industry>
   <subIndustry>Apparel &amp; Shoes</subIndustry>
   <timestamp>2018-08-14T09:58:07-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:06-05:00</tradeTimestamp>
   <lastPrice>52.87</lastPrice>
   <priceNetChange>5.41</priceNetChange>
   <pricePercentChange>11.4</pricePercentChange>
   <previousClose>47.46</previousClose>
   <volume>5432121</volume>
   <previousVolume>6691600</previousVolume>
   <standardDeviation>4.14</standardDeviation>
  </item>
  <item>
   <symbol>AAP</symbol>
   <symbolName>Advance Auto Parts Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>5531</sicSector>
   <industry>Retail</industry>
   <subIndustry>Wholesale Auto Parts</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:05-05:00</tradeTimestamp>
   <lastPrice>158.46</lastPrice>
   <priceNetChange>13.62</priceNetChange>
   <pricePercentChange>9.4</pricePercentChange>
   <previousClose>144.84</previousClose>
   <volume>1465711</volume>
   <previousVolume>1407300</previousVolume>
   <standardDeviation>3.87</standardDeviation>
  </item>
  <item>
   <symbol>SJW</symbol>
   <symbolName>SJW Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>4941</sicSector>
   <industry>Utility</industry>
   <subIndustry>Water Supply</subIndustry>
   <timestamp>2018-08-14T09:57:32-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:32-05:00</tradeTimestamp>
   <lastPrice>65.53</lastPrice>
   <priceNetChange>3.13</priceNetChange>
   <pricePercentChange>5.02</pricePercentChange>
   <previousClose>62.4</previousClose>
   <volume>39410</volume>
   <previousVolume>98700</previousVolume>
   <standardDeviation>2.76</standardDeviation>
  </item>
  <item>
   <symbol>CHAP</symbol>
   <symbolName>Chaparral Energy Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>1311</sicSector>
   <industry>Oil</industry>
   <subIndustry>US Exploration &amp; Product</subIndustry>
   <timestamp>2018-08-14T09:57:32-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:35:48-05:00</tradeTimestamp>
   <lastPrice>17.64</lastPrice>
   <priceNetChange>0.07</priceNetChange>
   <pricePercentChange>0.4</pricePercentChange>
   <previousClose>17.57</previousClose>
   <volume>8205</volume>
   <previousVolume>35800</previousVolume>
   <standardDeviation>2.42</standardDeviation>
  </item>
  <item>
   <symbol>BGG</symbol>
   <symbolName>Briggs &amp; Stratton Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>3510</sicSector>
   <industry>Machinery</industry>
   <subIndustry>Farm</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:03-05:00</tradeTimestamp>
   <lastPrice>17.96</lastPrice>
   <priceNetChange>0.76</priceNetChange>
   <pricePercentChange>4.42</pricePercentChange>
   <previousClose>17.2</previousClose>
   <volume>242298</volume>
   <previousVolume>214400</previousVolume>
   <standardDeviation>2.31</standardDeviation>
  </item>
  <item>
   <symbol>AZO</symbol>
   <symbolName>Autozone</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>5531</sicSector>
   <industry>Retail</industry>
   <subIndustry>Wholesale Auto Parts</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:04-05:00</tradeTimestamp>
   <lastPrice>749.1</lastPrice>
   <priceNetChange>19.69</priceNetChange>
   <pricePercentChange>2.7</pricePercentChange>
   <previousClose>729.41</previousClose>
   <volume>105482</volume>
   <previousVolume>199600</previousVolume>
   <standardDeviation>2.3</standardDeviation>
  </item>
  <item>
   <symbol>WBK</symbol>
   <symbolName>Westpac Banking Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>AUS</country>
   <sicSector>6029</sicSector>
   <industry>Banks</industry>
   <subIndustry>Foreign</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:53-05:00</tradeTimestamp>
   <lastPrice>21.69</lastPrice>
   <priceNetChange>0.43</priceNetChange>
   <pricePercentChange>2.02</pricePercentChange>
   <previousClose>21.26</previousClose>
   <volume>112501</volume>
   <previousVolume>257900</previousVolume>
   <standardDeviation>2.3</standardDeviation>
  </item>
  <item>
   <symbol>LAC</symbol>
   <symbolName>Lithium Americas Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>CAN</country>
   <sicSector>1000</sicSector>
   <industry>Chemical</industry>
   <subIndustry>Diversified</subIndustry>
   <timestamp>2018-08-14T09:57:56-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:28-05:00</tradeTimestamp>
   <lastPrice>3.98</lastPrice>
   <priceNetChange>0.42</priceNetChange>
   <pricePercentChange>11.8</pricePercentChange>
   <previousClose>3.56</previousClose>
   <volume>224977</volume>
   <previousVolume>275400</previousVolume>
   <standardDeviation>2.28</standardDeviation>
  </item>
  <item>
   <symbol>EGN</symbol>
   <symbolName>Energen Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>1311</sicSector>
   <industry>Oil</industry>
   <subIndustry>US Exploration &amp; Product</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:05-05:00</tradeTimestamp>
   <lastPrice>73</lastPrice>
   <priceNetChange>1.64</priceNetChange>
   <pricePercentChange>2.3</pricePercentChange>
   <previousClose>71.36</previousClose>
   <volume>243249</volume>
   <previousVolume>1228900</previousVolume>
   <standardDeviation>2.18</standardDeviation>
  </item>
  <item>
   <symbol>ORN</symbol>
   <symbolName>Orion Group Holdings Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>1600</sicSector>
   <industry>Building</industry>
   <subIndustry>Heavy Construction</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:02-05:00</tradeTimestamp>
   <lastPrice>9.08</lastPrice>
   <priceNetChange>0.29</priceNetChange>
   <pricePercentChange>3.3</pricePercentChange>
   <previousClose>8.79</previousClose>
   <volume>61938</volume>
   <previousVolume>346800</previousVolume>
   <standardDeviation>2.14</standardDeviation>
  </item>
  <item>
   <symbol>ASR</symbol>
   <symbolName>Grupo Aeroportuario Del Sureste</symbolName>
   <exchange>NYSE</exchange>
   <country>MEX</country>
   <sicSector>4581</sicSector>
   <industry>Transportation</industry>
   <subIndustry>Services</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:02-05:00</tradeTimestamp>
   <lastPrice>188.63</lastPrice>
   <priceNetChange>8.21</priceNetChange>
   <pricePercentChange>4.55</pricePercentChange>
   <previousClose>180.42</previousClose>
   <volume>18128</volume>
   <previousVolume>15500</previousVolume>
   <standardDeviation>2.14</standardDeviation>
  </item>
  <item>
   <symbol>COP</symbol>
   <symbolName>Conocophillips</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>2911</sicSector>
   <industry>Oil</industry>
   <subIndustry>US Integrated</subIndustry>
   <timestamp>2018-08-14T09:58:07-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:06-05:00</tradeTimestamp>
   <lastPrice>72.24</lastPrice>
   <priceNetChange>1.17</priceNetChange>
   <pricePercentChange>1.65</pricePercentChange>
   <previousClose>71.07</previousClose>
   <volume>1273001</volume>
   <previousVolume>4322100</previousVolume>
   <standardDeviation>2.13</standardDeviation>
  </item>
  <item>
   <symbol>APLE</symbol>
   <symbolName>Apple Hospitality REIT Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>6798</sicSector>
   <industry>REIT</industry>
   <subIndustry>Equity Trust Other</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:54-05:00</tradeTimestamp>
   <lastPrice>17.43</lastPrice>
   <priceNetChange>0.23</priceNetChange>
   <pricePercentChange>1.34</pricePercentChange>
   <previousClose>17.2</previousClose>
   <volume>376816</volume>
   <previousVolume>1225300</previousVolume>
   <standardDeviation>2.1</standardDeviation>
  </item>
  <item>
   <symbol>DL</symbol>
   <symbolName>China Distance Education Holdings</symbolName>
   <exchange>NYSE</exchange>
   <country>CHN</country>
   <sicSector>8200</sicSector>
   <industry>Internet</industry>
   <subIndustry>Content</subIndustry>
   <timestamp>2018-08-14T09:55:19-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:35:04-05:00</tradeTimestamp>
   <lastPrice>8.21</lastPrice>
   <priceNetChange>0.090000000000002</priceNetChange>
   <pricePercentChange>1.11</pricePercentChange>
   <previousClose>8.12</previousClose>
   <volume>2624</volume>
   <previousVolume>27200</previousVolume>
   <standardDeviation>2.1</standardDeviation>
  </item>
  <item>
   <symbol>MOSC</symbol>
   <symbolName>Mosaic Acquisition Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>6770</sicSector>
   <industry>Unclassified</industry>
   <subIndustry></subIndustry>
   <timestamp>2018-08-14T09:55:19-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:40:13-05:00</tradeTimestamp>
   <lastPrice>9.75</lastPrice>
   <priceNetChange>0.039999999999999</priceNetChange>
   <pricePercentChange>0.41</pricePercentChange>
   <previousClose>9.71</previousClose>
   <volume>2761</volume>
   <previousVolume>12800</previousVolume>
   <standardDeviation>2.05</standardDeviation>
  </item>
  <item>
   <symbol>CPF</symbol>
   <symbolName>Central Pacific Financial Co</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>6022</sicSector>
   <industry>Banks</industry>
   <subIndustry>West</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:03-05:00</tradeTimestamp>
   <lastPrice>28.32</lastPrice>
   <priceNetChange>0.53</priceNetChange>
   <pricePercentChange>1.91</pricePercentChange>
   <previousClose>27.79</previousClose>
   <volume>11792</volume>
   <previousVolume>143800</previousVolume>
   <standardDeviation>2.04</standardDeviation>
  </item>
  <item>
   <symbol>CIT</symbol>
   <symbolName>Cit Group Inc [Del]</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>6021</sicSector>
   <industry>Finance</industry>
   <subIndustry>Misc Services</subIndustry>
   <timestamp>2018-08-14T09:57:56-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:51-05:00</tradeTimestamp>
   <lastPrice>53.97</lastPrice>
   <priceNetChange>0.63</priceNetChange>
   <pricePercentChange>1.18</pricePercentChange>
   <previousClose>53.34</previousClose>
   <volume>58726</volume>
   <previousVolume>591100</previousVolume>
   <standardDeviation>2.01</standardDeviation>
  </item>
  <item>
   <symbol>TU</symbol>
   <symbolName>Telus Corp Non Voting Shares</symbolName>
   <exchange>NYSE</exchange>
   <country>CAN</country>
   <sicSector>4812</sicSector>
   <industry>Diversified Comm Services</industry>
   <subIndustry></subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:25-05:00</tradeTimestamp>
   <lastPrice>36.72</lastPrice>
   <priceNetChange>0.49</priceNetChange>
   <pricePercentChange>1.35</pricePercentChange>
   <previousClose>36.23</previousClose>
   <volume>102208</volume>
   <previousVolume>245200</previousVolume>
   <standardDeviation>1.97</standardDeviation>
  </item>
  <item>
   <symbol>MFC</symbol>
   <symbolName>Manulife Financial Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>CAN</country>
   <sicSector>6311</sicSector>
   <industry>Insurance</industry>
   <subIndustry>Life</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:04-05:00</tradeTimestamp>
   <lastPrice>18.58</lastPrice>
   <priceNetChange>0.36</priceNetChange>
   <pricePercentChange>1.98</pricePercentChange>
   <previousClose>18.22</previousClose>
   <volume>619949</volume>
   <previousVolume>1906600</previousVolume>
   <standardDeviation>1.96</standardDeviation>
  </item>
  <item>
   <symbol>AVA</symbol>
   <symbolName>Avista Corp</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>4931</sicSector>
   <industry>Utility</industry>
   <subIndustry>Electric Power</subIndustry>
   <timestamp>2018-08-14T09:57:11-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:10-05:00</tradeTimestamp>
   <lastPrice>51</lastPrice>
   <priceNetChange>0.32</priceNetChange>
   <pricePercentChange>0.63</pricePercentChange>
   <previousClose>50.68</previousClose>
   <volume>194430</volume>
   <previousVolume>478300</previousVolume>
   <standardDeviation>1.95</standardDeviation>
  </item>
  <item>
   <symbol>HRTG</symbol>
   <symbolName>Heritage Insurance Holdings</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>6331</sicSector>
   <industry>Insurance</industry>
   <subIndustry>Proprty &amp; Casualty</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:48-05:00</tradeTimestamp>
   <lastPrice>15.97</lastPrice>
   <priceNetChange>0.96</priceNetChange>
   <pricePercentChange>6.4</pricePercentChange>
   <previousClose>15.01</previousClose>
   <volume>74746</volume>
   <previousVolume>172800</previousVolume>
   <standardDeviation>1.93</standardDeviation>
  </item>
  <item>
   <symbol>LB</symbol>
   <symbolName>L Brands Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>5621</sicSector>
   <industry>Retail</industry>
   <subIndustry>Apparel &amp; Shoes</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:00-05:00</tradeTimestamp>
   <lastPrice>32.16</lastPrice>
   <priceNetChange>0.98999999999999</priceNetChange>
   <pricePercentChange>3.18</pricePercentChange>
   <previousClose>31.17</previousClose>
   <volume>1262378</volume>
   <previousVolume>6442300</previousVolume>
   <standardDeviation>1.88</standardDeviation>
  </item>
  <item>
   <symbol>CRD.A</symbol>
   <symbolName>Crawford Co Cl A</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>6411</sicSector>
   <industry>Business Services</industry>
   <subIndustry></subIndustry>
   <timestamp>2018-08-14T09:55:30-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:22:53-05:00</tradeTimestamp>
   <lastPrice>8.59</lastPrice>
   <priceNetChange>0.19</priceNetChange>
   <pricePercentChange>2.26</pricePercentChange>
   <previousClose>8.4</previousClose>
   <volume>311</volume>
   <previousVolume>47800</previousVolume>
   <standardDeviation>1.88</standardDeviation>
  </item>
  <item>
   <symbol>NLS</symbol>
   <symbolName>Nautilus Group</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>3949</sicSector>
   <industry>Retail</industry>
   <subIndustry>Mail Order</subIndustry>
   <timestamp>2018-08-14T09:57:46-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:41-05:00</tradeTimestamp>
   <lastPrice>14.02</lastPrice>
   <priceNetChange>0.22</priceNetChange>
   <pricePercentChange>1.59</pricePercentChange>
   <previousClose>13.8</previousClose>
   <volume>46978</volume>
   <previousVolume>196400</previousVolume>
   <standardDeviation>1.85</standardDeviation>
  </item>
  <item>
   <symbol>MIC</symbol>
   <symbolName>Macquarie Infrastructure Company Trust</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>5172</sicSector>
   <industry>Conglomerates</industry>
   <subIndustry>Div Operations</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:00-05:00</tradeTimestamp>
   <lastPrice>45.22</lastPrice>
   <priceNetChange>0.79</priceNetChange>
   <pricePercentChange>1.78</pricePercentChange>
   <previousClose>44.43</previousClose>
   <volume>108044</volume>
   <previousVolume>593900</previousVolume>
   <standardDeviation>1.77</standardDeviation>
  </item>
  <item>
   <symbol>RCUS</symbol>
   <symbolName>Arcus Biosciences Inc.</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>2834</sicSector>
   <industry>Medical</industry>
   <subIndustry>Biomedical</subIndustry>
   <timestamp>2018-08-14T09:58:04-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:31:54-05:00</tradeTimestamp>
   <lastPrice>12.48</lastPrice>
   <priceNetChange>0.64</priceNetChange>
   <pricePercentChange>5.41</pricePercentChange>
   <previousClose>11.84</previousClose>
   <volume>41624</volume>
   <previousVolume>42800</previousVolume>
   <standardDeviation>1.76</standardDeviation>
  </item>
  <item>
   <symbol>AGN</symbol>
   <symbolName>Allergan Plc</symbolName>
   <exchange>NYSE</exchange>
   <country>IRL</country>
   <sicSector>2834</sicSector>
   <industry>Medical</industry>
   <subIndustry>Generic Drugs</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:13-05:00</tradeTimestamp>
   <lastPrice>186.77</lastPrice>
   <priceNetChange>2.5</priceNetChange>
   <pricePercentChange>1.36</pricePercentChange>
   <previousClose>184.27</previousClose>
   <volume>496250</volume>
   <previousVolume>1772100</previousVolume>
   <standardDeviation>1.74</standardDeviation>
  </item>
  <item>
   <symbol>KAI</symbol>
   <symbolName>Kadant Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>3550</sicSector>
   <industry>Machinery</industry>
   <subIndustry>General Industrial</subIndustry>
   <timestamp>2018-08-14T09:58:04-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:41:24-05:00</tradeTimestamp>
   <lastPrice>98</lastPrice>
   <priceNetChange>2.65</priceNetChange>
   <pricePercentChange>2.78</pricePercentChange>
   <previousClose>95.35</previousClose>
   <volume>20808</volume>
   <previousVolume>66500</previousVolume>
   <standardDeviation>1.73</standardDeviation>
  </item>
  <item>
   <symbol>TLYS</symbol>
   <symbolName>Tilly's Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>5600</sicSector>
   <industry>Retail</industry>
   <subIndustry>Apparel &amp; Shoes</subIndustry>
   <timestamp>2018-08-14T09:57:44-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:42:29-05:00</tradeTimestamp>
   <lastPrice>17.71</lastPrice>
   <priceNetChange>0.66</priceNetChange>
   <pricePercentChange>3.87</pricePercentChange>
   <previousClose>17.05</previousClose>
   <volume>80811</volume>
   <previousVolume>180800</previousVolume>
   <standardDeviation>1.72</standardDeviation>
  </item>
  <item>
   <symbol>WMS</symbol>
   <symbolName>Advanced Drainage Systems Inc</symbolName>
   <exchange>NYSE</exchange>
   <country>USA</country>
   <sicSector>3086</sicSector>
   <industry>Building &amp; Construction</industry>
   <subIndustry>Misc</subIndustry>
   <timestamp>2018-08-14T09:58:06-05:00</timestamp>
   <tradeTimestamp>2018-08-14T10:43:05-05:00</tradeTimestamp>
   <lastPrice>31.35</lastPrice>
   <priceNetChange>0.6</priceNetChange>
   <pricePercentChange>1.95</pricePercentChange>
   <previousClose>30.75</previousClose>
   <volume>140526</volume>
   <previousVolume>346500</previousVolume>
   <standardDeviation>1.69</standardDeviation>
  </item>
 </getLeaders>

CSV

GET

GET https://ondemand.websol.barchart.com/getLeaders.csv?apikey=YOUR_API_KEY&exchanges=NYSE&assetType=STK&type=hot&maxRecords=30&period=260d&sortDirection=DESC
Host: ondemand.websol.barchart.com

POST

POST https://ondemand.websol.barchart.com/getLeaders.csv
Host: ondemand.websol.barchart.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=YOUR_API_KEY&exchanges=NYSE&assetType=STK&type=hot&maxRecords=30&period=260d&sortDirection=DESC

Response

symbol,symbolName,exchange,country,sicSector,industry,subIndustry,timestamp,tradeTimestamp,lastPrice,priceNetChange,pricePercentChange,previousClose,volume,previousVolume,standardDeviation
"TPR","Tapestry Inc","NYSE","USA","3100","Retail","Apparel & Shoes","2018-08-14T09:58:07-05:00","2018-08-14T10:43:06-05:00","52.87","5.41","11.4","47.46","5432121","6691600","4.14"
"AAP","Advance Auto Parts Inc","NYSE","USA","5531","Retail","Wholesale Auto Parts","2018-08-14T09:58:06-05:00","2018-08-14T10:43:05-05:00","158.46","13.62","9.4","144.84","1465711","1407300","3.87"
"SJW","SJW Corp","NYSE","USA","4941","Utility","Water Supply","2018-08-14T09:57:32-05:00","2018-08-14T10:42:32-05:00","65.53","3.13","5.02","62.4","39410","98700","2.76"
"CHAP","Chaparral Energy Inc","NYSE","USA","1311","Oil","US Exploration & Product","2018-08-14T09:57:32-05:00","2018-08-14T10:35:48-05:00","17.64","0.07","0.4","17.57","8205","35800","2.42"
"BGG","Briggs & Stratton Corp","NYSE","USA","3510","Machinery","Farm","2018-08-14T09:58:06-05:00","2018-08-14T10:43:03-05:00","17.96","0.76","4.42","17.2","242298","214400","2.31"
"WBK","Westpac Banking Corp","NYSE","AUS","6029","Banks","Foreign","2018-08-14T09:58:06-05:00","2018-08-14T10:42:53-05:00","21.69","0.43","2.02","21.26","112501","257900","2.3"
"AZO","Autozone","NYSE","USA","5531","Retail","Wholesale Auto Parts","2018-08-14T09:58:06-05:00","2018-08-14T10:43:04-05:00","749.1","19.69","2.7","729.41","105482","199600","2.3"
"LAC","Lithium Americas Corp","NYSE","CAN","1000","Chemical","Diversified","2018-08-14T09:57:56-05:00","2018-08-14T10:42:28-05:00","3.98","0.42","11.8","3.56","224977","275400","2.28"
"EGN","Energen Corp","NYSE","USA","1311","Oil","US Exploration & Product","2018-08-14T09:58:06-05:00","2018-08-14T10:43:05-05:00","73","1.64","2.3","71.36","243249","1228900","2.18"
"ORN","Orion Group Holdings Inc","NYSE","USA","1600","Building","Heavy Construction","2018-08-14T09:58:06-05:00","2018-08-14T10:43:02-05:00","9.08","0.29","3.3","8.79","61938","346800","2.14"
"ASR","Grupo Aeroportuario Del Sureste","NYSE","MEX","4581","Transportation","Services","2018-08-14T09:58:06-05:00","2018-08-14T10:43:02-05:00","188.63","8.21","4.55","180.42","18128","15500","2.14"
"COP","Conocophillips","NYSE","USA","2911","Oil","US Integrated","2018-08-14T09:58:07-05:00","2018-08-14T10:43:06-05:00","72.24","1.17","1.65","71.07","1273001","4322100","2.13"
"APLE","Apple Hospitality REIT Inc","NYSE","USA","6798","REIT","Equity Trust Other","2018-08-14T09:58:06-05:00","2018-08-14T10:42:54-05:00","17.43","0.23","1.34","17.2","376816","1225300","2.1"
"DL","China Distance Education Holdings","NYSE","CHN","8200","Internet","Content","2018-08-14T09:55:19-05:00","2018-08-14T10:35:04-05:00","8.21","0.090000000000002","1.11","8.12","2624","27200","2.1"
"MOSC","Mosaic Acquisition Corp","NYSE","USA","6770","Unclassified","","2018-08-14T09:55:19-05:00","2018-08-14T10:40:13-05:00","9.75","0.039999999999999","0.41","9.71","2761","12800","2.05"
"CPF","Central Pacific Financial Co","NYSE","USA","6022","Banks","West","2018-08-14T09:58:06-05:00","2018-08-14T10:42:03-05:00","28.32","0.53","1.91","27.79","11792","143800","2.04"
"CIT","Cit Group Inc [Del]","NYSE","USA","6021","Finance","Misc Services","2018-08-14T09:57:56-05:00","2018-08-14T10:42:51-05:00","53.97","0.63","1.18","53.34","58726","591100","2.01"
"TU","Telus Corp Non Voting Shares","NYSE","CAN","4812","Diversified Comm Services","","2018-08-14T09:58:06-05:00","2018-08-14T10:42:25-05:00","36.72","0.49","1.35","36.23","102208","245200","1.97"
"MFC","Manulife Financial Corp","NYSE","CAN","6311","Insurance","Life","2018-08-14T09:58:06-05:00","2018-08-14T10:43:04-05:00","18.58","0.36","1.98","18.22","619949","1906600","1.96"
"AVA","Avista Corp","NYSE","USA","4931","Utility","Electric Power","2018-08-14T09:57:11-05:00","2018-08-14T10:42:10-05:00","51","0.32","0.63","50.68","194430","478300","1.95"
"HRTG","Heritage Insurance Holdings","NYSE","USA","6331","Insurance","Proprty & Casualty","2018-08-14T09:58:06-05:00","2018-08-14T10:42:48-05:00","15.97","0.96","6.4","15.01","74746","172800","1.93"
"CRD.A","Crawford Co Cl A","NYSE","USA","6411","Business Services","","2018-08-14T09:55:30-05:00","2018-08-14T10:22:53-05:00","8.59","0.19","2.26","8.4","311","47800","1.88"
"LB","L Brands Inc","NYSE","USA","5621","Retail","Apparel & Shoes","2018-08-14T09:58:06-05:00","2018-08-14T10:43:00-05:00","32.16","0.98999999999999","3.18","31.17","1262378","6442300","1.88"
"NLS","Nautilus Group","NYSE","USA","3949","Retail","Mail Order","2018-08-14T09:57:46-05:00","2018-08-14T10:42:41-05:00","14.02","0.22","1.59","13.8","46978","196400","1.85"
"MIC","Macquarie Infrastructure Company Trust","NYSE","USA","5172","Conglomerates","Div Operations","2018-08-14T09:58:06-05:00","2018-08-14T10:43:00-05:00","45.22","0.79","1.78","44.43","108044","593900","1.77"
"RCUS","Arcus Biosciences Inc.","NYSE","USA","2834","Medical","Biomedical","2018-08-14T09:58:04-05:00","2018-08-14T10:31:54-05:00","12.48","0.64","5.41","11.84","41624","42800","1.76"
"AGN","Allergan Plc","NYSE","IRL","2834","Medical","Generic Drugs","2018-08-14T09:58:06-05:00","2018-08-14T10:42:13-05:00","186.77","2.5","1.36","184.27","496250","1772100","1.74"
"KAI","Kadant Inc","NYSE","USA","3550","Machinery","General Industrial","2018-08-14T09:58:04-05:00","2018-08-14T10:41:24-05:00","98","2.65","2.78","95.35","20808","66500","1.73"
"TLYS","Tilly's Inc","NYSE","USA","5600","Retail","Apparel & Shoes","2018-08-14T09:57:44-05:00","2018-08-14T10:42:29-05:00","17.71","0.66","3.87","17.05","80811","180800","1.72"
"WMS","Advanced Drainage Systems Inc","NYSE","USA","3086","Building & Construction","Misc","2018-08-14T09:58:06-05:00","2018-08-14T10:43:05-05:00","31.35","0.6","1.95","30.75","140526","346500","1.69"


PHP

<?php

$ondemand = new SoapClient('https://ondemand.websol.barchart.com/service?wsdl');

$params = [
    'apikey' => 'YOUR_API_KEY',
    'exchanges' => 'NYSE',
    'assetType' => 'STK',
    'type' => 'hot',
    'maxRecords' => '30',
    'period' => '260d',
    'sortDirection' => 'DESC',
];

$result = $ondemand->getLeaders($params);
var_dump($result);

Classic ASP

Dim ondemand
Dim result

Set ondemand = Server.CreateObject("MSSOAP.SoapClient30")
ondemand.ClientProperty("ServerHTTPRequest") = True
ondemand.MSSoapInit("https://ondemand.websol.barchart.com/service?wsdl")

Set result = ondemand.getLeaders("YOUR_API_KEY", "NYSE", "STK", "hot", "30", "260d", "DESC")

Perl

use SOAP::Lite;
use SOAP::WSDL;

my $ondemand = SOAP::Lite
    -> service('https://ondemand.websol.barchart.com/service?wsdl');

my $result = $ondemand->getLeaders('YOUR_API_KEY', 'NYSE', 'STK', 'hot', '30', '260d', 'DESC');

print $result;

Python

from suds.client import Client
ondemand = Client('https://ondemand.websol.barchart.com/service?wsdl')

result = client.service.getLeaders('YOUR_API_KEY', 'NYSE', 'STK', 'hot', '30', '260d', 'DESC')

print result

Ruby

require 'savon'

ondemand = Savon.client(wsdl: 'https://ondemand.websol.barchart.com/service?wsdl')

response = ondemand.call(
    :getLeaders,
    message: {
        apikey: 'YOUR_API_KEY',
        exchanges: 'NYSE',
        assetType: 'STK',
        type: 'hot',
        maxRecords: '30',
        period: '260d',
        sortDirection: 'DESC',
    }
)

response.body