config = {
    "candles": {
        "id": "String",
        "synth": "String",
        "open": "BigInt",
        "high": "BigInt",
        "low": "BigInt",
        "close": "BigInt",
        "timestamp": "BigInt",
        "average": "BigInt",
        "period": "BigInt",
        "aggregatedPrices": "BigInt",
    },
    "transfers": {
        "id": "String",
        "account": "Address",
        "timestamp": "BigInt",
        "asset": "Bytes",
        "size": "Wei",
        "market": "String",
        "txHash": "Address",
    },
    "trades": {
        "id": "String",
        "timestamp": "BigInt",
        "account": "Address",
        "abstractAccount": "Address",
        "accountType": "String",
        "margin": "Wei",
        "size": "Wei",
        "marketKey": "Bytes",
        "asset": "Bytes",
        "price": "Wei",
        "positionId": "BigInt",
        "positionSize": "Wei",
        "positionClosed": "Boolean",
        "pnl": "Wei",
        "feesPaid": "Wei",
        "keeperFeesPaid": "Wei",
        "orderType": "String",
        "trackingCode": "String",
        "fundingAccrued": "Wei",
    },
    "positions": {
        "id": "String",
        "lastTxHash": "Address",
        "openTimestamp": "BigInt",
        "closeTimestamp": "BigInt",
        "timestamp": "BigInt",
        "market": "String",
        "marketKey": "Bytes",
        "asset": "Bytes",
        "account": "Address",
        "abstractAccount": "Address",
        "accountType": "String",
        "isOpen": "Boolean",
        "isLiquidated": "Boolean",
        "trades": "BigInt",
        "totalVolume": "Wei",
        "size": "Wei",
        "initialMargin": "Wei",
        "margin": "Wei",
        "pnl": "Wei",
        "feesPaid": "Wei",
        "netFunding": "Wei",
        "pnlWithFeesPaid": "Wei",
        "netTransfers": "Wei",
        "totalDeposits": "Wei",
        "fundingIndex": "BigInt",
        "entryPrice": "Wei",
        "avgEntryPrice": "Wei",
        "lastPrice": "Wei",
        "exitPrice": "Wei",
    },
    "funding_rates": {
        "id": "String",
        "timestamp": "BigInt",
        "marketKey": "Bytes",
        "asset": "Bytes",
        "market": "String",
        "sequenceLength": "BigInt",
        "fundingRate": "Wei",
        "funding": "Wei",
    },
}
