Get stock rankings
toss_get_rankingsRank Korean or US stocks by traded value, volume, or price change to see today's active market leaders. Get a leaderboard of top gainers, losers, or most-traded securities for screening.
Instructions
Ranks Korean or US stocks by traded value, traded volume, or price change, for screening what is active today. Returns a leaderboard, not data about a stock you already picked — use toss_get_price for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Ranking metric. MARKET_* covers the whole exchange; TOSS_SECURITIES_* covers only Toss Securities customers, which reflects retail sentiment. TOP_GAINERS and TOP_LOSERS rank by percentage price change. | |
| count | No | How many ranked entries to return, from the top. | |
| duration | Yes | Window the ranking is computed over. 'realtime' reflects the current session. | |
| marketCountry | Yes | KR for KOSPI and KOSDAQ, US for US exchanges. | |
| excludeInvestmentCaution | No | Set true to drop stocks flagged with investment cautions or warnings. See toss_get_stock_warnings for the flags themselves. |