Skip to main content
The solana.predictions.trades_enriched table provides prediction market trades enriched with Kalshi market metadata. Joins trades with Kalshi markets table for market context including event details, settlement, and status. Covers Jupiter and DFlow.

Table Columns

Column NameData TypeDescription
projectVARCHARProject identifier (jupiter or dflow).
protocolVARCHARProtocol identifier (kalshi).
trade_dateDATEDate of the trade execution.
timestampTIMESTAMP_NTZ(9)Timestamp when the fill instruction was executed on-chain.
trade_idVARCHARUnique identifier for the trade (Kalshi order ID).
tickerVARCHARKalshi market ticker identifier.
num_contractsINTEGERNumber of contracts filled in this trade.
user_addressVARCHARSolana wallet address of the trader.
actionVARCHARTrade action (buy or sell) - buy increases position, sell decreases position.
taker_sideVARCHARSide taken by the taker (yes or no).
maker_sideVARCHARSide taken by the maker (opposite of taker_side).
yes_priceFLOATDerived YES price at execution (0-1 scale).
no_priceFLOATDerived NO price at execution (0-1 scale).
taker_priceFLOATActual execution price paid by the taker.
settlement_token_priceFLOATSettlement token USD price at trade time (USDC or CASH depending on project).
venue_fee_usdFLOATKalshi venue fee paid in USD.
market_event_idVARCHAREvent identifier for the market (from Kalshi markets table).
market_nameVARCHARMarket name (from Kalshi markets table).
market_questionVARCHARMarket question text (from Kalshi markets table).
market_descriptionVARCHARMarket description (from Kalshi markets table).
market_categoryVARCHARMarket category classification (from Kalshi markets table).
market_statusVARCHARCurrent status of the market (from Kalshi markets table).
market_start_dateTIMESTAMP_NTZ(9)Timestamp when the market opened for trading (from Kalshi markets table).
market_end_dateTIMESTAMP_NTZ(9)Timestamp when the market closes for trading (from Kalshi markets table).
market_expected_expiration_timeTIMESTAMP_NTZ(9)Expected timestamp for market expiration (from Kalshi markets table).
market_expiration_timeTIMESTAMP_NTZ(9)Actual expiration timestamp of the market (from Kalshi markets table).
market_outcomeVARCHARMarket outcome resolution (from Kalshi markets table).
market_resolved_atTIMESTAMP_NTZ(9)Timestamp when the market was resolved (from Kalshi markets table).
order_created_timeTIMESTAMP_NTZ(9)Timestamp when the order was created on-chain.
order_txn_idVARCHARTransaction signature of the create_order instruction.
fill_txn_idVARCHARTransaction signature of the fill instruction.
extrasVARIANTJSON object containing technical fields (position_pda, order_pda, external_order_id).
_created_atTIMESTAMP_NTZ(9)Timestamp when the record was created in Allium’s database.
_updated_atTIMESTAMP_NTZ(9)Timestamp when the record was last updated in Allium’s database.