src/markets/fixtures.ts
v0.2.0 · 1.5 KB
// Test fixtures: live `symbols` shapes from the knowledge base (mainnet 2026-07-24; PONS 2026-09-11).
// Not part of the build.
import type { RawSymbol } from './types.js';
export const BTC_RAW: RawSymbol = {
type: 'perp',
product_id: 2,
symbol: 'BTC-PERP',
price_increment_x18: '1000000000000000000',
size_increment: '50000000000000',
min_size: '100000000000000000000',
maker_fee_rate_x18: '100000000000000',
taker_fee_rate_x18: '350000000000000',
long_weight_initial_x18: '980000000000000000',
long_weight_maintenance_x18: '990000000000000000',
max_open_interest_x18: '165000000000000000000000000',
trading_status: 'live',
isolated_only: false,
};
export const PONS_RAW: RawSymbol = {
type: 'perp',
product_id: 188,
symbol: 'PONS-PERP',
price_increment_x18: '10000000000000',
size_increment: '2000000000000000000',
min_size: '100000000000000000000',
maker_fee_rate_x18: '0',
taker_fee_rate_x18: '0',
long_weight_initial_x18: '800000000000000000',
long_weight_maintenance_x18: '900000000000000000',
trading_status: 'post_only',
isolated_only: false,
};
export const XRP_RAW: RawSymbol = {
type: 'perp',
product_id: 8,
symbol: 'XRP-PERP',
price_increment_x18: '100000000000000',
size_increment: '5000000000000000000',
min_size: '100000000000000000000',
long_weight_initial_x18: '900000000000000000',
trading_status: 'live',
};
export function symbolsPayload(entries: Record<string, unknown>): { symbols: Record<string, unknown> } {
return { symbols: entries };
}