Updated: 2017-06-26

getLeaders

By Barchart

    The 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.

    Query Parameters

    Parameter Description Data Type
    assetType The type of asset. Includes: equities ("STK"), mutual funds ("FUNDS"), ETFs ("ETF"), futures ("FUT"), forex ("FOREX")
    exchanges Exchange code for the marketplace where the financial instruments are listed.
    maxRecords The maximum number of records to show in the return.
    period A value representing the time period.
    sortDirection To determine the sort direction.
    type The type of leaderboard to display.

    Response Fields

    Field Description Data Type
    country The instrument's country of origin. string
    exchange Exchange code for the marketplace where the financial instruments are listed. string
    industry A code that identifies a group of businesses that produce similar products or services. string
    lastPrice The last price the instrument traded. double
    previousClose The closing value of the instrument on the previous day. double
    previousVolume The number of shares or contracts traded for the previous day. int
    priceNetChange The difference between the last price and the previous day's settlement price. double
    pricePercentChange The difference between the last price and the previous day's settlement price, expressed as a percentage. double
    sicSector A four-digit code for classifying industries. string
    standardDeviation The standard deviation using the past 20-days of data. double
    subIndustry A more specific group of businesses within an industry that produce similar products or services. string
    symbol A symbol or code that identifies a financial instrument. string
    symbolName The full name of the instrument. string
    timestamp The time the message was generated on the server. dateTime
    tradeTimestamp The exchange timestamp for the last traded price. dateTime
    volume The number of shares or contracts traded. int

    About the Vendor

    From market data feeds to website content solutions and trading software to our flagship financial portal, Barchart.com, and individual subscription services, Barchart is the definitive source for comprehensive financial data and information.