실물자산 · Stock perp
| 거래소 | Atlas ID | 가격 | 24h | 미결제약정 | 펀딩 | 베이시스, bps | Spread, bps | 최상단 호가 깊이 | 매수/매도 |
|---|---|---|---|---|---|---|---|---|---|
| Binance | perpetual-ASTS-USDT:USDT | 25.500 | +4.72% | $1.9M | 0.0000% | -8.29 | 4.11 | $883 | 1.09 |
| OKX | perpetual-ASTS-USDT:USDT | 25.510 | +4.72% | $366.1K | 0.0000% | +3.92 | 8.11 | $472 | 1.03 |
pip install "aperiodic[polars]"from datetime import date
from aperiodic import get_metrics
# AST SpaceMobile (ASTS), `basis`, hourly, on 2 venues
for exchange, symbol in [
("binance-futures", "perpetual-ASTS-USDT:USDT"),
("okx-perps", "perpetual-ASTS-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 AST SpaceMobile (ASTS) perps on Binance 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?