nautilus-okx 0.61.0

OKX exchange integration adapter for the Nautilus trading engine
Documentation
{
  "code": "0",
  "msg": "",
  "data": [
    {
      "instId": "BTC-USDT-SWAP",
      "instType": "SWAP",
      "mgnMode": "isolated",
      "posId": "12345",
      "posSide": "long",
      "pos": "5.00",
      "baseBal": "5.00",
      "ccy": "BTC",
      "fee": "0.01",
      "lever": "10.0",
      "last": "30000",
      "markPx": "30500",
      "liqPx": "25000",
      "mmr": "0.1",
      "interest": "0",
      "tradeId": "111",
      "notionalUsd": "150000",
      "avgPx": "30000",
      "upl": "2500",
      "uplRatio": "0.0167",
      "uTime": "1622559930237",
      "margin": "15000",
      "mgnRatio": "0.01",
      "adl": "0",
      "cTime": "1622559930237",
      "realizedPnl": "0",
      "uplLastPx": "2500",
      "uplRatioLastPx": "0.0167",
      "availPos": "5.00",
      "bePx": "30000",
      "fundingFee": "0",
      "idxPx": "30500",
      "liqPenalty": "0",
      "optVal": "0",
      "pendingCloseOrdLiabVal": "0",
      "pnl": "2500",
      "posCcy": "BTC",
      "quoteBal": "150000",
      "quoteBorrowed": "0",
      "quoteInterest": "0",
      "spotInUseAmt": "0",
      "spotInUseCcy": "BTC",
      "usdPx": "30500"
    },
    {
      "instId": "BTC-USDT-SWAP",
      "instType": "SWAP",
      "mgnMode": "isolated",
      "posId": "67890",
      "posSide": "short",
      "pos": "2.00",
      "baseBal": "2.00",
      "ccy": "BTC",
      "fee": "0.02",
      "lever": "10.0",
      "last": "31000",
      "markPx": "30500",
      "liqPx": "36000",
      "mmr": "0.2",
      "interest": "0",
      "tradeId": "222",
      "notionalUsd": "62000",
      "avgPx": "31000",
      "upl": "1000",
      "uplRatio": "0.0161",
      "uTime": "1622559931237",
      "margin": "6200",
      "mgnRatio": "0.02",
      "adl": "0",
      "cTime": "1622559931237",
      "realizedPnl": "0",
      "uplLastPx": "1000",
      "uplRatioLastPx": "0.0161",
      "availPos": "2.00",
      "bePx": "31000",
      "fundingFee": "0",
      "idxPx": "30500",
      "liqPenalty": "0",
      "optVal": "0",
      "pendingCloseOrdLiabVal": "0",
      "pnl": "1000",
      "posCcy": "BTC",
      "quoteBal": "62000",
      "quoteBorrowed": "0",
      "quoteInterest": "0",
      "spotInUseAmt": "0",
      "spotInUseCcy": "BTC",
      "usdPx": "30500"
    }
  ]
}