aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface CoinGeckoHistoricalTradeData

    Represents a historical trade record for integration with CoinGecko, storing a trade ID, price, volumes, timestamp, and buy/sell type.

    interface CoinGeckoHistoricalTradeData {
        base_volume: number;
        price: number;
        target_volume: number;
        trade_id: string;
        trade_timestamp: number;
        type: "buy" | "sell";
    }
    Index
    base_volume: number

    The base-coin amount in the trade.

    price: number

    The executed base-to-target price.

    target_volume: number

    The target-coin amount in the trade.

    trade_id: string

    The trade identifier used by the CoinGecko integration.

    trade_timestamp: number

    The trade timestamp returned by the integration.

    type: "buy" | "sell"

    Whether the trade bought or sold the base currency.