Get stock rankings
toss_get_rankingsRetrieve leaderboards of Korean and US stocks ranked by traded value, volume, or price change to screen today's active market moves.
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. |