Mayson Monorepo Documentation
    Preparing search index...

    Interface IDcaExecution

    DCA Execution history record

    interface IDcaExecution {
        _id?: string;
        userId: string;
        planId: string;
        symbol: string;
        amount: number;
        assetAmount: number;
        price: number;
        orderId?: string;
        status: DcaExecutionStatus;
        error?: string;
        executedAt: Date;
    }
    Index

    Properties

    _id?: string
    userId: string

    User ID

    planId: string

    Plan ID

    symbol: string

    Asset symbol

    amount: number

    Amount spent (USD)

    assetAmount: number

    Asset received

    price: number

    Execution price

    orderId?: string

    Exchange order ID

    Execution status

    error?: string

    Error message if failed

    executedAt: Date

    Execution timestamp