Interface MarginPeriodInput

What a period holds, read from a store.

interface MarginPeriodInput {
    scopeId: string;
    fromDay: string;
    toDay: string;
    asOf: number;
    settlements: MarginSettlement[];
    lateSupplierMicro: number;
    lateFailedSupplierMicro?: number;
    reversalsMicro: number;
    refundsMicro: number;
    platformLossMicro: number;
}

Properties

scopeId: string
fromDay: string
toDay: string
asOf: number
settlements: MarginSettlement[]
lateSupplierMicro: number

Supplier cost reported in the period for attempts of operations settled earlier.

lateFailedSupplierMicro?: number

The part of lateSupplierMicro attributable to customer-free operations.

reversalsMicro: number

Consumed funds reversed by lost disputes in the period (their receivables).

refundsMicro: number

Refunds of unspent paid credit completed in the period.

platformLossMicro: number

Losses the ledger recorded in the period (overruns past a hold).