{
"id": "656444f14350fb0b69bd6402",
"synthetixPositionId": "48503", // only Kwenta, Polynomial
"reverseIndex": 0, // only Kwenta, Polynomial
"account": "0x852610C4BD327C9c7fd93e06505173092f29a39c",
"smartAccount": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C", // only Kwenta, Polynomial
"key": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C-0x2B3bb4c683BFc5239B029131EEf3B1d214478d93-LONG",
"logId": 11,
"openBlockNumber": 112735639,
"openBlockTime": "2023-11-27T07:27:35.000Z",
"closeBlockNumber": 112797988,
"closeBlockTime": "2023-11-28T18:05:53.000Z",
"indexToken": "0x2B3bb4c683BFc5239B029131EEf3B1d214478d93",
"lastSizeNumber": 0, // only Kwenta, Polynomial
"size": 299791.2220018517,
"fee": 228.62124740700003,
"lastCollateral": 13993.076127358, // only Kwenta, Polynomial
"collateral": 16215.501363168,
"averagePrice": 2022.9018492877242,
"lastFunding": -195.163117027, // only Kwenta, Polynomial
"funding": -112.83324162360957,
"lastPriceNumber": 2063.625026153, // only Kwenta, Polynomial
"pnl": 3993.0761273536705,
"realisedPnl": 4334.53061638428,
"roi": 24.625054988577602,
"realisedRoi": 26.730783830278366,
"isLong": true,
"isWin": true,
"isLiquidate": false,
"leverage": 18.487940353346062,
"orderCount": 6,
"orderIncreaseCount": 3,
"orderDecreaseCount": 3,
"durationInSecond": 124698,
"status": "CLOSE",
"createdAt": "2023-11-27T07:27:45.029Z",
"protocol": "KWENTA",
"orders": [
{
"id": "656444f1c6583cc67b6985b6",
"synthetixPositionId": "48503", // only Kwenta, Polynomial
"account": "0x852610C4BD327C9c7fd93e06505173092f29a39c",
"smartAccount": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C", // only Kwenta, Polynomial
"txHash": "0xb6c1d05806205893e33e2248fb67a7701931126777d3e706d91d7503dd83b34e",
"logId": 11,
"blockNumber": 112735639,
"blockTime": "2023-11-27T07:27:35.000Z",
"key": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C-0x2B3bb4c683BFc5239B029131EEf3B1d214478d93-LONG",
"indexToken": "0x2B3bb4c683BFc5239B029131EEf3B1d214478d93",
"sizeDeltaNumber": 149884.05160703347,
"sizeNumber": 73.5244,
"collateralDeltaNumber": 9967.858290134,
"priceNumber": 2038.562050245,
"fundingRateNumber": 0.000209485,
"fundingNumber": -194.18719593,
"leverage": 15.036735800646957,
"isLong": true,
"isOpen": true,
"type": "OPEN",
"createdAt": "2023-11-27T07:27:45.026Z"
},
{
"id": "6564c9d5c6583cc67b6a0a38",
"synthetixPositionId": "48503", // only Kwenta, Polynomial
"account": "0x852610C4BD327C9c7fd93e06505173092f29a39c",
"smartAccount": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C", // only Kwenta, Polynomial
"txHash": "0x2a555f29a93ecb9a99c849f25ff798edc69fb099d04e6dd586cb46db35f91f00",
"logId": 22,
"blockNumber": 112752648,
"blockTime": "2023-11-27T16:54:33.000Z",
"key": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C-0x2B3bb4c683BFc5239B029131EEf3B1d214478d93-LONG",
"indexToken": "0x2B3bb4c683BFc5239B029131EEf3B1d214478d93",
"sizeDeltaNumber": 0,
"sizeNumber": 0,
"collateralDeltaNumber": 3218.916340476,
"priceNumber": 0,
"fundingRateNumber": 0,
"fundingNumber": 0,
"leverage": 0,
"isLong": true,
"isOpen": false,
"type": "MARGIN_TRANSFERRED",
"createdAt": "2023-11-27T16:54:45.331Z"
},
{
"id": "6564c9dac6583cc67b6a0a43",
"synthetixPositionId": "48503", // only Kwenta, Polynomial
"account": "0x852610C4BD327C9c7fd93e06505173092f29a39c",
"smartAccount": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C", // only Kwenta, Polynomial
"txHash": "0xd1749c1b3319fe2ea0e3da6aa7ea9633bc265dd5c1a0ec9ec7bb0a591b690dfb",
"logId": 12,
"blockNumber": 112752650,
"blockTime": "2023-11-27T16:54:37.000Z",
"key": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C-0x2B3bb4c683BFc5239B029131EEf3B1d214478d93-LONG",
"indexToken": "0x2B3bb4c683BFc5239B029131EEf3B1d214478d93",
"sizeDeltaNumber": 74977.61596141392,
"sizeNumber": 37.1775,
"collateralDeltaNumber": 159.73717763400055,
"priceNumber": 2016.747117515,
"feeNumber": 49.943313331,
"fundingRateNumber": 0,
"fundingNumber": -194.181960095,
"leverage": 16.72779681583392,
"isLong": true,
"isClose": false,
"type": "INCREASE",
"createdAt": "2023-11-27T16:54:50.322Z"
},
...,
{
"id": "6565d90bc6583cc67b6b0131",
"synthetixPositionId": "48503", // only Kwenta, Polynomial
"account": "0x852610C4BD327C9c7fd93e06505173092f29a39c",
"smartAccount": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C", // only Kwenta, Polynomial
"txHash": "0xa4ca3a4a5467868b31412e4b2c1f49ec920a599f686c0f2d6142edde51b0bda7",
"logId": 8,
"blockNumber": 112787364,
"blockTime": "2023-11-28T12:11:45.000Z",
"key": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C-0x2B3bb4c683BFc5239B029131EEf3B1d214478d93-LONG",
"indexToken": "0x2B3bb4c683BFc5239B029131EEf3B1d214478d93",
"sizeDeltaNumber": 74898.679078195,
"sizeNumber": 37,
"collateralDeltaNumber": 3813.289160432001,
"priceNumber": 2024.288623735,
"feeNumber": 84.28932395400001,
"fundingRateNumber": 0,
"fundingNumber": -194.971449737,
"leverage": 11.238724609457813,
"isLong": true,
"isClose": false,
"type": "DECREASE",
"createdAt": "2023-11-28T12:11:55.022Z"
},
...,
{
"id": "65662c12c6583cc67b6b55d1",
"synthetixPositionId": "48503", // only Kwenta, Polynomial
"account": "0x852610C4BD327C9c7fd93e06505173092f29a39c",
"smartAccount": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C", // only Kwenta, Polynomial
"txHash": "0x267f696c7e751ea6e39eeb576988f069f9535714331117954fb9c61838d637b6",
"logId": 12,
"blockNumber": 112797988,
"blockTime": "2023-11-28T18:05:53.000Z",
"key": "0x375fa2B494208b0F4f3f5f0b85121844a929AE6C-0x2B3bb4c683BFc5239B029131EEf3B1d214478d93-LONG",
"indexToken": "0x2B3bb4c683BFc5239B029131EEf3B1d214478d93",
"sizeDeltaNumber": 153118.087865516,
"sizeNumber": 74.1986,
"collateralDeltaNumber": 363.81130071199914,
"priceNumber": 2063.625026153,
"feeNumber": 228.62124740700003,
"fundingRateNumber": 0,
"fundingNumber": -195.163117027,
"leverage": 18.487940353346062,
"isLong": true,
"isClose": true,
"type": "CLOSE",
"createdAt": "2023-11-28T18:06:10.036Z"
}
]
}