Mayson Monorepo Documentation
    Preparing search index...

    Interface IVirtualTrade

    Virtual trade record for ghost trading

    interface IVirtualTrade {
        _id?: string;
        userId: string;
        symbol: string;
        side: OrderSide;
        type: OrderType;
        quantity: string;
        price: string;
        quoteQty: string;
        orderId: string;
        createdAt: Date;
    }
    Index

    Properties

    _id?: string
    userId: string

    User ID

    symbol: string

    Trading pair symbol (e.g., "BTCUSDT")

    side: OrderSide

    Trade side

    type: OrderType

    Order type

    quantity: string

    Executed quantity in base asset

    price: string

    Execution price

    quoteQty: string

    Quote quantity (quantity * price)

    orderId: string

    Simulated order ID

    createdAt: Date

    Timestamp of the trade