Nectar SDK & API
StartRelease
v1.6
v1.6
  • Introduction
  • Quick Start
  • Installation
  • Actions
    • getAllMarkets
    • getMarket
    • getMarketByTicker
    • getAllMarket24h
    • getMarket24h
    • getChains
    • getTokens
    • getAllOrders
    • getOpenOrders
    • getChart
    • getTrades
    • getBidAsk
    • transferToTradingWallet
    • transferToFundingWallet
    • buyLimit
    • sellLimit
    • buyMarketTotal
    • sellMarketAmount
    • cancelOrder
  • Types
    • BidAsk
    • Chain
    • Contract
    • Kline
    • Market
    • MarketQuote
    • NectarTransferResult
    • Order
    • Paginated
    • Token
    • Trade
    • Transaction
  • Enums
    • ChainType
    • ContractType
    • KLineInterval
    • OrderStatus
    • OrderType
    • TokenType
    • TransactionStatus
  • API Specifications
    • Header
    • Exchange Info
    • Markets 24hr Summary
    • Market History
    • Market Trades
    • Cancel Order
    • Opened User Orders
    • All User Orders
  • Release Notes
  • License and Copyright
Powered by GitBook
On this page
  1. Types

Trade

The Trade type represents an order that has been completed.

interface Trade {
  base_ticker_amount: string;
  order_type: OrderType;
  price: string;
  quote_ticker_amount: string;
  time: string;
}

Properties

  • base_ticker_amount: string

    • The amount of the traded base token.

  • order_type: OrderType

    • An order type.

  • price: string

    • The price at which the trade was concluded.

  • quote_ticker_amount: string

    • The amount of the traded quote token.

  • time: string

    • The timestamp of the order creation, expressed in seconds.

Last updated 1 year ago