現実資産 · Stock perp
| 取引所 | Atlas ID | 価格 | 24h | 未決済建玉 | 資金調達率 | ベーシス(bps) | Spread, bps | 最良気配付近の板の厚み | 買い/売り |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-TSM-USDT:USDT | 342.990 | +3.48% | $15.3M | +0.0137% | +7.35 | 0.59 | $20.9K | 0.98 |
| Hyperliquid | perpetual-XYZ:TSM-USDC:USDC | 342.060 | +3.43% | $10.9M | +0.0018% | +3.80 | 2.65 | $5.2K | 0.90 |
| OKX | perpetual-TSM-USDT:USDT | 343.040 | +3.49% | $4.9M | +0.0019% | +7.88 | 0.30 | $379 | 1.11 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# TSMC (TSM), `basis`, hourly, on 3 venues
for exchange, symbol in [
("binance-futures", "perpetual-TSM-USDT:USDT"),
("hyperliquid-perps", "perpetual-XYZ:TSM-USDC:USDC"),
("okx-perps", "perpetual-TSM-USDT:USDT"),
]:
df = get_metrics(
api_key="YOUR_API_KEY",
metric="basis",
exchange=exchange,
symbol=symbol,
interval="1h",
timestamp="exchange",
start_date=date(2026, 10, 24),
end_date=date(2026, 11, 23),
)
print(exchange, df.head())Read https://aperiodic.io/start.md and follow it. Then, for the TSMC (TSM) perps on Binance, Hyperliquid and OKX over the last 30 days: how does the premium over the stock (`basis`, `funding`) behave overnight and at weekends, while its market is shut?