@qtsurfer/api-client
    Preparing search index...

    Type Alias LivePaperConfig

    Paper trading for this run: the same economics as a backtest's baseConfig (same fields, defaults and limits), plus output and accounts. An empty object takes every default. By default each quote currency the run trades gets its own simulated account, opened with initialFunding in that currency; with accounts: instrument each instrument gets one instead. Accounts are never added together. As returned on a run, the block is normalised: feeRate is resolved into buyFeeRate/sellFeeRate and defaults are filled in; accounts is returned when the request gave it.

    type LivePaperConfig = {
        accounts?: "currency" | "instrument";
        buyFeeRate?: number;
        feeLeg?: "RECEIVED" | "QUOTE" | "BASE";
        feeRate?: number;
        initialFunding?: number;
        output?: "separate" | "mix";
        percentAmountToLock?: number;
        sellFeeRate?: number;
    }
    Index
    accounts?: "currency" | "instrument"

    How the run's accounts are split, fixed when it starts. currency (the default) is one shared account per quote currency: every instrument of a currency draws on the same balance, as on a venue with one wallet per asset. instrument is one isolated account per instrument, each a simulation of that instrument alone with its own initialFunding, which is what makes it comparable with a backtest of the instrument but less realistic, since a venue has one wallet per asset and not one per pair. It needs the instruments of the run named: a wildcard is refused, on every plan.

    buyFeeRate?: number

    Buy-side fee rate; overrides feeRate.

    feeLeg?: "RECEIVED" | "QUOTE" | "BASE"

    Which asset fees are charged in. Case-insensitive on start.

    feeRate?: number

    Fee rate for both sides (0.001 = 0.1%). Accepted on start; returned resolved into the two fields below.

    initialFunding?: number

    Starting capital of each account, in that account's own quote currency. With accounts: instrument it is the capital of EACH instrument's account: it is never the run's total capital and accounts are never added together.

    output?: "separate" | "mix"

    separate keeps paper output out of the run's signals (read it with GET /live/{runId}/paper); mix also interleaves it into the run's signals as type: paper, right after the signal that caused it.

    percentAmountToLock?: number

    Share of the account's free balance each entry locks, in percent. Omitted, the strategy's own setting applies, and without one 10% (the whole free balance, as a backtest, with accounts: instrument, where nothing is shared).

    sellFeeRate?: number

    Sell-side fee rate; overrides feeRate.