Class TradeAction

Hierarchy

  • TradeAction

Constructors

  • Parameters

    • pairId: TradePairId
    • size: BigNumber
    • price: BigNumber
    • timestamp: number
    • realisedEquity: BigNumber
    • marginFee: BigNumber
    • type: "liquidation" | "trade"
    • txHash: string
    • didOpenPosition: boolean
    • didClosePosition: boolean

    Returns TradeAction

Properties

didClosePosition: boolean
didOpenPosition: boolean
marginFee: BigNumber
pairId: TradePairId
price: BigNumber
realisedEquity: BigNumber
size: BigNumber
timestamp: number
txHash: string
type: "liquidation" | "trade"

Methods

Generated using TypeDoc