{
  "success": true,
  "network": "testnet",
  "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
  "totalPositions": 4,
  "trades": [
    {
      "tradeId": "1",
      "assetId": "5500",
      "feedId": null,
      "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
      "direction": "1",
      "directionName": "LONG",
      "orderType": "0",
      "orderTypeName": "MARKET",
      "leverage": "5",
      "status": "OPEN",
      "collateral": "10000000",
      "targetPrice": "0",
      "margin": "9950000",
      "openInterest": "49750000",
      "openTimestamp": "1787954622",
      "executionPriceOpen": "4460424465",
      "oraclePriceOpen": "4458712320",
      "borrowIndexAtOpen": "3973888888888",
      "longSpread": null,
      "shortSpread": null,
      "currentStopLoss": "0",
      "currentTakeProfit": "0",
      "closedAt": null,
      "executionPriceClose": null,
      "oraclePriceClose": null,
      "grossPnl": null,
      "finalPnl": null,
      "traderPayout": null,
      "closeMethod": null,
      "closeMethodName": null,
      "borrowFee": null,
      "closingFee": null,
      "isRecovered": false,
      "recoveredTo": null,
      "isCancelled": false,
      "createdAt": "1787954622",
      "openedAt": "1787954622",
      "lastUpdatedAt": "1787954622",
      "creationBlock": 46093167,
      "openingBlock": 46093167,
      "closingBlock": null,
      "creationTxHash": "0x4fd541fd0d3679dc25333111a523f3fc90ba3d9cbd836cbfac02c04f5582deab",
      "openingTxHash": "0x4fd541fd0d3679dc25333111a523f3fc90ba3d9cbd836cbfac02c04f5582deab",
      "closingTxHash": null,
      "cancellationTxHash": null,
      "txHashes": [
        "0x4fd541fd0d3679dc25333111a523f3fc90ba3d9cbd836cbfac02c04f5582deab"
      ],
      "events": [
        {
          "event": "TradeOpened",
          "blockNumber": 46093167,
          "transactionHash": "0x4fd541fd0d3679dc25333111a523f3fc90ba3d9cbd836cbfac02c04f5582deab",
          "timestamp": "1787954622",
          "args": {
            "tradeId": "1",
            "assetId": "5500",
            "oraclePrice": "4458712320",
            "executionPrice": "4460424465",
            "openingSpread": "384",
            "commissionPaid": "50000",
            "margin": "9950000",
            "openInterest": "49750000",
            "borrowIndexAtOpen": "3973888888888",
            "openedAt": "1787954622"
          }
        },
        {
          "event": "TradeCreated",
          "blockNumber": 46093167,
          "transactionHash": "0x4fd541fd0d3679dc25333111a523f3fc90ba3d9cbd836cbfac02c04f5582deab",
          "timestamp": "1787954622",
          "args": {
            "tradeId": "1",
            "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
            "assetId": "5500",
            "direction": "1",
            "orderType": "0",
            "leverage": "5",
            "collateral": "10000000",
            "targetPrice": "0",
            "stopLoss": "0",
            "takeProfit": "0",
            "createdAt": "1787954622"
          }
        }
      ],
      "openingSpread": "384",
      "commissionPaid": "50000"
    },
    {
      "tradeId": "7",
      "assetId": "5500",
      "feedId": null,
      "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
      "direction": "1",
      "directionName": "LONG",
      "orderType": "1",
      "orderTypeName": "LIMIT",
      "leverage": "5",
      "status": "CANCELLED",
      "collateral": "10000000",
      "targetPrice": "4600000000",
      "margin": null,
      "openInterest": null,
      "openTimestamp": null,
      "executionPriceOpen": null,
      "oraclePriceOpen": null,
      "borrowIndexAtOpen": null,
      "longSpread": null,
      "shortSpread": null,
      "currentStopLoss": "0",
      "currentTakeProfit": "0",
      "closedAt": null,
      "executionPriceClose": null,
      "oraclePriceClose": null,
      "grossPnl": null,
      "finalPnl": null,
      "traderPayout": null,
      "closeMethod": null,
      "closeMethodName": null,
      "borrowFee": null,
      "closingFee": null,
      "isRecovered": false,
      "recoveredTo": null,
      "isCancelled": true,
      "createdAt": "1788118384",
      "openedAt": null,
      "lastUpdatedAt": "1788391542",
      "creationBlock": 46175048,
      "openingBlock": null,
      "closingBlock": null,
      "creationTxHash": "0x1c5a046475082481a82002f99fda2af8128ab6ffaf05b04bebe0fcae3250fcca",
      "openingTxHash": null,
      "closingTxHash": null,
      "cancellationTxHash": "0x03d87759fca678df96827c62bfd5ef2dca272925f060f9483611b9f1bd3bd053",
      "txHashes": [
        "0x1c5a046475082481a82002f99fda2af8128ab6ffaf05b04bebe0fcae3250fcca",
        "0x03d87759fca678df96827c62bfd5ef2dca272925f060f9483611b9f1bd3bd053"
      ],
      "events": [
        {
          "event": "TradeCreated",
          "blockNumber": 46175048,
          "transactionHash": "0x1c5a046475082481a82002f99fda2af8128ab6ffaf05b04bebe0fcae3250fcca",
          "timestamp": "1788118384",
          "args": {
            "tradeId": "7",
            "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
            "assetId": "5500",
            "direction": "1",
            "orderType": "1",
            "leverage": "5",
            "collateral": "10000000",
            "targetPrice": "4600000000",
            "stopLoss": "0",
            "takeProfit": "0",
            "createdAt": "1788118384"
          }
        },
        {
          "event": "OrderCancelled",
          "blockNumber": 46311627,
          "transactionHash": "0x03d87759fca678df96827c62bfd5ef2dca272925f060f9483611b9f1bd3bd053",
          "timestamp": "1788391542",
          "args": {
            "tradeId": "7",
            "refundedCollateral": "10000000",
            "cancelledAt": "1788391542"
          }
        }
      ],
      "refundedCollateral": "10000000",
      "cancelledAt": "1788391542"
    },
    {
      "tradeId": "8",
      "assetId": "5500",
      "feedId": null,
      "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
      "direction": "1",
      "directionName": "LONG",
      "orderType": "1",
      "orderTypeName": "LIMIT",
      "leverage": "5",
      "status": "CANCELLED",
      "collateral": "10000000",
      "targetPrice": "4600000000",
      "margin": null,
      "openInterest": null,
      "openTimestamp": null,
      "executionPriceOpen": null,
      "oraclePriceOpen": null,
      "borrowIndexAtOpen": null,
      "longSpread": null,
      "shortSpread": null,
      "currentStopLoss": "0",
      "currentTakeProfit": "0",
      "closedAt": null,
      "executionPriceClose": null,
      "oraclePriceClose": null,
      "grossPnl": null,
      "finalPnl": null,
      "traderPayout": null,
      "closeMethod": null,
      "closeMethodName": null,
      "borrowFee": null,
      "closingFee": null,
      "isRecovered": false,
      "recoveredTo": null,
      "isCancelled": true,
      "createdAt": "1788118458",
      "openedAt": null,
      "lastUpdatedAt": "1788391532",
      "creationBlock": 46175085,
      "openingBlock": null,
      "closingBlock": null,
      "creationTxHash": "0xd0a8f6737b56953204aadf73ecad34721fed4179c7661ca7d796dff834e457e8",
      "openingTxHash": null,
      "closingTxHash": null,
      "cancellationTxHash": "0xd6065bc3f0881623ece29ef08636f1cae09255ded54292514fd68ae1e3a4dc6b",
      "txHashes": [
        "0xd0a8f6737b56953204aadf73ecad34721fed4179c7661ca7d796dff834e457e8",
        "0xd6065bc3f0881623ece29ef08636f1cae09255ded54292514fd68ae1e3a4dc6b"
      ],
      "events": [
        {
          "event": "TradeCreated",
          "blockNumber": 46175085,
          "transactionHash": "0xd0a8f6737b56953204aadf73ecad34721fed4179c7661ca7d796dff834e457e8",
          "timestamp": "1788118458",
          "args": {
            "tradeId": "8",
            "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
            "assetId": "5500",
            "direction": "1",
            "orderType": "1",
            "leverage": "5",
            "collateral": "10000000",
            "targetPrice": "4600000000",
            "stopLoss": "0",
            "takeProfit": "0",
            "createdAt": "1788118458"
          }
        },
        {
          "event": "OrderCancelled",
          "blockNumber": 46311622,
          "transactionHash": "0xd6065bc3f0881623ece29ef08636f1cae09255ded54292514fd68ae1e3a4dc6b",
          "timestamp": "1788391532",
          "args": {
            "tradeId": "8",
            "refundedCollateral": "10000000",
            "cancelledAt": "1788391532"
          }
        }
      ],
      "refundedCollateral": "10000000",
      "cancelledAt": "1788391532"
    },
    {
      "tradeId": "10",
      "assetId": "5500",
      "feedId": null,
      "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
      "direction": "1",
      "directionName": "LONG",
      "orderType": "1",
      "orderTypeName": "LIMIT",
      "leverage": "5",
      "status": "CREATED",
      "collateral": "10000000",
      "targetPrice": "4500000000",
      "margin": null,
      "openInterest": null,
      "openTimestamp": null,
      "executionPriceOpen": null,
      "oraclePriceOpen": null,
      "borrowIndexAtOpen": null,
      "longSpread": null,
      "shortSpread": null,
      "currentStopLoss": "0",
      "currentTakeProfit": "0",
      "closedAt": null,
      "executionPriceClose": null,
      "oraclePriceClose": null,
      "grossPnl": null,
      "finalPnl": null,
      "traderPayout": null,
      "closeMethod": null,
      "closeMethodName": null,
      "borrowFee": null,
      "closingFee": null,
      "isRecovered": false,
      "recoveredTo": null,
      "isCancelled": false,
      "createdAt": "1788391562",
      "openedAt": null,
      "lastUpdatedAt": "1788391562",
      "creationBlock": 46311637,
      "openingBlock": null,
      "closingBlock": null,
      "creationTxHash": "0x9442290b1568965ba2e73fb42f44807001de93fd93d59e8927755f33c25baa49",
      "openingTxHash": null,
      "closingTxHash": null,
      "cancellationTxHash": null,
      "txHashes": [
        "0x9442290b1568965ba2e73fb42f44807001de93fd93d59e8927755f33c25baa49"
      ],
      "events": [
        {
          "event": "TradeCreated",
          "blockNumber": 46311637,
          "transactionHash": "0x9442290b1568965ba2e73fb42f44807001de93fd93d59e8927755f33c25baa49",
          "timestamp": "1788391562",
          "args": {
            "tradeId": "10",
            "trader": "0xca30CD2760E48af1Be32C8420e71803DA6735142",
            "assetId": "5500",
            "direction": "1",
            "orderType": "1",
            "leverage": "5",
            "collateral": "10000000",
            "targetPrice": "4500000000",
            "stopLoss": "0",
            "takeProfit": "0",
            "createdAt": "1788391562"
          }
        }
      ]
    }
  ]
}