tron-market

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

TRON Market Data

TRON市场数据

8 commands for real-time prices, K-line data, trade history, DEX volume, whale monitoring, large transfer alerts, liquidity pool info, and market overview.
包含8个命令,用于获取实时价格、K线数据、交易历史、DEX交易量、鲸鱼监控、大额转账提醒、流动性池信息及市场概览。

Pre-flight Checks

前置检查

  1. Confirm Python & dependencies:
    bash
    node -e "console.log('ok')"  # Node.js >= 18 required
  1. 确认Python及依赖项:
    bash
    node -e "console.log('ok')"  # 需Node.js >= 18版本

Commands

命令

1. Token Price

1. 代币价格

bash
node scripts/tron_api.mjs token-price --contract <TOKEN_CONTRACT>
Returns: current price in USD and TRX, 24h change, 24h volume, market cap.
For TRX itself:
bash
node scripts/tron_api.mjs token-price --contract TRX
bash
node scripts/tron_api.mjs token-price --contract <TOKEN_CONTRACT>
返回结果: 当前USD和TRX计价的价格、24小时涨跌幅、24小时交易量、市值。
查询TRX本身的价格:
bash
node scripts/tron_api.mjs token-price --contract TRX

2. K-line / Candlestick Data

2. K线/蜡烛图数据

bash
node scripts/tron_api.mjs kline \
  --contract <TOKEN_CONTRACT> \
  --interval <1m|5m|15m|1h|4h|1d|1w> \
  --limit 100
Returns: OHLCV (Open, High, Low, Close, Volume) data points.
bash
node scripts/tron_api.mjs kline \
  --contract <TOKEN_CONTRACT> \
  --interval <1m|5m|15m|1h|4h|1d|1w> \
  --limit 100
返回结果: OHLCV(开盘价、最高价、最低价、收盘价、成交量)数据点。

3. Trade History

3. 交易历史

bash
node scripts/tron_api.mjs trade-history --contract <TOKEN_CONTRACT> --limit 50
Returns: recent DEX trades with price, amount, buyer/seller, timestamp, DEX source.
bash
node scripts/tron_api.mjs trade-history --contract <TOKEN_CONTRACT> --limit 50
返回结果: 近期DEX交易记录,包含价格、数量、买卖方、时间戳、DEX来源。

4. DEX Volume Statistics

4. DEX交易量统计

bash
node scripts/tron_api.mjs dex-volume \
  --contract <TOKEN_CONTRACT> \
  --period <5m|1h|4h|24h>
Returns: buy/sell volume, trade count, unique traders, buy/sell ratio.
bash
node scripts/tron_api.mjs dex-volume \
  --contract <TOKEN_CONTRACT> \
  --period <5m|1h|4h|24h>
返回结果: 买卖交易量、交易笔数、独立交易者数量、买卖比率。

5. Whale Monitoring

5. 鲸鱼监控

bash
node scripts/tron_api.mjs whale-transfers \
  --contract <TOKEN_CONTRACT> \
  --min-value <MIN_USD_VALUE>
Returns: large transfers over the threshold with sender, receiver, amount, timestamp.
bash
node scripts/tron_api.mjs whale-transfers \
  --contract <TOKEN_CONTRACT> \
  --min-value <MIN_USD_VALUE>
返回结果: 超过阈值的大额转账记录,包含转出方、接收方、金额、时间戳。

6. Large TRX Transfers

6. TRX大额转账

bash
node scripts/tron_api.mjs large-transfers --min-trx 100000 --limit 20
Returns: recent large TRX movements across the network.
bash
node scripts/tron_api.mjs large-transfers --min-trx 100000 --limit 20
返回结果: TRON网络近期的大额TRX转移记录。

7. Liquidity Pool Info

7. 流动性池信息

bash
node scripts/tron_api.mjs pool-info --contract <TOKEN_CONTRACT>
Returns: LP pools on SunSwap V2/V3, liquidity depth, TVL, APY, pair token.
bash
node scripts/tron_api.mjs pool-info --contract <TOKEN_CONTRACT>
返回结果: SunSwap V2/V3上的流动性池信息,包含流动性深度、TVL、APY、交易对代币。

8. Market Overview

8. 市场概览

bash
node scripts/tron_api.mjs market-overview
Returns: TRON network stats — TRX price, total market cap, 24h network volume, active accounts, total transactions, latest block.
bash
node scripts/tron_api.mjs market-overview
返回结果: TRON网络统计数据——TRX价格、总市值、24小时网络交易量、活跃账户数、总交易数、最新区块。

DEX Sources on TRON

TRON上的DEX来源

DEXDescription
SunSwap V2Main AMM DEX on TRON
SunSwap V3Concentrated liquidity (Uni V3 fork)
Sun.ioStablecoin swap (Curve-style)
Poloniex DEXOrder book + AMM
JustMoneyAggregator
DEX描述
SunSwap V2TRON上的主流AMM DEX
SunSwap V3集中流动性(Uni V3分叉)
Sun.io稳定币兑换(Curve风格)
Poloniex DEX订单簿+AMM
JustMoney聚合器

Data Interpretation Tips for Agents

Agent的数据解读提示

  • Buy/sell ratio > 2.0: Strong buying pressure, potential pump
  • Whale transfer to exchange: Potential sell-off signal
  • Whale transfer from exchange: Potential accumulation
  • Volume spike with stable price: Possible wash trading
  • New pool creation: Early opportunity or scam — always check
    tron-token security
  • 买卖比率>2.0: 买盘压力强劲,可能出现价格拉升
  • 鲸鱼转账至交易所: 潜在抛售信号
  • 鲸鱼从交易所转出: 潜在建仓信号
  • 交易量激增但价格稳定: 可能存在洗盘交易
  • 新流动性池创建: 早期机会或骗局——务必检查
    tron-token security