Skip to main content
Schema: stellar.defi Table: fact_trades Type: Base Table This table reports trading activity that occurs in both the decentralized exchange and automated money markets. Trades fulfill one of four operations: manage buy offers, manage sell offers and path payments (strict send and receive). Trades can be executed either against the orderbook or a liquidity pool that contains both bid and ask asset pair. Trades can be either path payments or offers that are fully or partially fulfilled, which means that the trade can be split into segments. A full trade is compromised of all β€œorder” numbers for a given history_operation_id. Learn more about Stellar data concepts: https://developers.stellar.org/docs/learn/fundamentals/stellar-data-structures

Columns

Column NameData TypeDescription
HISTORY_OPERATION_IDNUMBER
TRADE_ORDERNUMBER
LEDGER_CLOSED_ATTIMESTAMP_NTZ
BLOCK_TIMESTAMPTIMESTAMP_NTZ
SELLING_ACCOUNT_ADDRESSTEXT
SELLING_ASSET_CODETEXT
SELLING_ASSET_ISSUERTEXT
SELLING_ASSET_TYPETEXT
SELLING_ASSET_IDNUMBER
SELLING_AMOUNTFLOAT
BUYING_ACCOUNT_ADDRESSTEXT
BUYING_ASSET_CODETEXT
BUYING_ASSET_ISSUERTEXT
BUYING_ASSET_TYPETEXT
BUYING_ASSET_IDNUMBER
BUYING_AMOUNTFLOAT
PRICE_NNUMBER
PRICE_DNUMBER
SELLING_OFFER_IDNUMBER
BUYING_OFFER_IDNUMBER
BATCH_IDTEXT
BATCH_RUN_DATETIMESTAMP_NTZ
BATCH_INSERT_TSTIMESTAMP_NTZ
SELLING_LIQUIDITY_POOL_IDTEXT
LIQUIDITY_POOL_FEENUMBER
TRADE_TYPENUMBER
ROUNDING_SLIPPAGENUMBER
SELLER_IS_EXACTBOOLEAN
FACT_TRADES_IDTEXT
INSERTED_TIMESTAMPTIMESTAMP_NTZ
MODIFIED_TIMESTAMPTIMESTAMP_NTZ