SPB Git

Repository Public

derivatives-gmx.json 11.2 KB 432 lines json

1{2 "status": {3  "venue": "gmx",4  "network": "arbitrum",5  "chainId": 42161,6  "settings": {7   "liveMainnet": true,8   "gmxLive": true9  },10  "tradable": true,11  "blockers": [],12  "blockerText": {13   "gmx_setting_off": "GMX trading is off on this server (SPW_DERIV_GMX_LIVE)",14   "mainnet_setting_off": "mainnet trading is off on this server (SPW_DERIV_LIVE_MAINNET)",15   "not_authorized": "GMX trading is not authorized"16  },17  "pins": {18   "id": "gmx-v2-arbitrum-2026-11-11",19   "reviewedAt": "2026-11-11",20   "ok": true,21   "checkedAt": 1794000000000,22   "problems": [],23   "contracts": [24    {25     "name": "exchangeRouter",26     "address": "0x7dE39FF2e232A2203196788d37e234cF8F1b83f1",27     "explorer": "https://arbiscan.io/address/0x7dE39FF2e232A2203196788d37e234cF8F1b83f1"28    },29    {30     "name": "router",31     "address": "0x7452c558d45f8afC8c83dAe62C3f8A5BE19c71f6",32     "explorer": null33    },34    {35     "name": "orderVault",36     "address": "0x31eF83a530Fde1B38EE9A18093A333D8Bbbc40D5",37     "explorer": null38    }39   ]40  },41  "account": {42   "address": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",43   "explorer": "https://arbiscan.io/address/0x70997970C51812dc3A010C7d01b50e0d17dc79C8"44  },45  "wallet": {46   "usdc": "500",47   "eth": "0.01",48   "weth": "0",49   "limits": {50    "perTransfer": "500",51    "perDay": "1000",52    "spentToday": "0",53    "maxNow": "500"54   },55   "feeCeilingEth": "0.001"56  },57  "walletError": null,58  "authorization": {59   "id": "7a1c1f0e-8f5f-4b1e-9c56-0000000000aa",60   "state": "active",61   "policy": {62    "allowedMarkets": [63     "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",64     "0x47c031236e19d024b42f8AE6780E44A573170703"65    ],66    "maxLeverage": 5,67    "maxOrderSizeUsd": "500",68    "maxOrdersPerDay": 20,69    "maxPriceDeviationBps": 150,70    "maxExecutionFeeWei": "1000000000000000"71   },72   "createdAt": 1794000000,73   "expiresAt": 1796592000,74   "today": {75    "increases": 1,76    "reduces": 077   }78  },79  "markets": [80   {81    "market": "0x47c031236e19d024b42f8AE6780E44A573170703",82    "name": "BTC/USD [WBTC.b-USDC]",83    "instrument": "gmx:BTC/USD [BTC-USDC]",84    "base": "BTC",85    "indexDecimals": 8,86    "collateral": [87     {88      "token": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",89      "symbol": "USDC",90      "decimals": 691     }92    ],93    "allowed": true,94    "mark": "70000.12",95    "oracleMin": "69999.5",96    "oracleMax": "70000.74"97   },98   {99    "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",100    "name": "ETH/USD [WETH-USDC]",101    "instrument": "gmx:ETH/USD [WETH-USDC]",102    "base": "ETH",103    "indexDecimals": 18,104    "collateral": [105     {106      "token": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",107      "symbol": "USDC",108      "decimals": 6109     }110    ],111    "allowed": true,112    "mark": "3500",113    "oracleMin": "3499.5",114    "oracleMax": "3500.5"115   }116  ],117  "risk": {118   "halt": null,119   "maxDailyLoss": "75",120   "maxTotalLoss": "300",121   "defaults": {122    "maxDailyLoss": "75",123    "maxTotalLoss": "300"124   },125   "realizedToday": "-1.5",126   "realizedTotal": "12.25",127   "note": "Stops new positions only; closing and cancelling are never refused by these."128  },129  "positions": [130   {131    "key": "0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",132    "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",133    "marketName": "ETH/USD [WETH-USDC]",134    "instrument": "gmx:ETH/USD [WETH-USDC]",135    "side": "long",136    "collateralToken": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",137    "collateralSymbol": "USDC",138    "sizeUsd": "125.5",139    "sizeTokens": "0.035857",140    "collateral": "41.8",141    "entryPrice": "3500.0139",142    "markPrice": "3500",143    "pnlUsd": "-0.01",144    "leverage": "3",145    "liquidationPrice": "2400.12",146    "increasedAt": 1794000100,147    "source": "chain",148    "venueApi": {149     "agrees": true,150     "detail": null151    }152   }153  ],154  "positionsSource": "chain",155  "positionsError": null,156  "pendingOrders": [157   {158    "key": "0xabababababababababababababababababababababababababababababababab",159    "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",160    "marketName": "ETH/USD [WETH-USDC]",161    "orderType": "MarketIncrease",162    "side": "long",163    "sizeUsd": "60",164    "collateral": "20",165    "acceptablePrice": "3517.5",166    "executionFeeEth": "0.00017",167    "updatedAt": 1794000003,168    "cancellableAt": 1794000303,169    "frozen": false,170    "opId": "7a1c1f0e-8f5f-4b1e-9c56-000000000a01"171   }172  ],173  "operations": [174   {175    "id": "7a1c1f0e-8f5f-4b1e-9c56-000000000a01",176    "kind": "increase",177    "state": "created",178    "final": false,179    "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",180    "marketName": "ETH/USD [WETH-USDC]",181    "side": "long",182    "collateral": "20",183    "collateralSymbol": "USDC",184    "sizeUsd": "60",185    "acceptablePrice": "3517.5",186    "slippageBps": 50,187    "leverage": "3",188    "executionFeeEth": "0.00017",189    "maxFeeEth": "0.00026",190    "needsApproval": true,191    "orderKey": "0xabababababababababababababababababababababababababababababababab",192    "targetOpId": null,193    "hash": "1212121212121212121212121212121212121212121212121212121212121212",194    "proposalId": "7a1c1f0e-8f5f-4b1e-9c56-000000000014",195    "txid": "0x22",196    "explorer": "https://arbiscan.io/tx/0x22",197    "approvalTxid": "0x21",198    "createdAt": 1794000000000,199    "expiresAt": 1794000120000,200    "sentAt": 1794000001000,201    "orderCreatedAt": 1794000003000,202    "doneAt": null,203    "checkedAt": 1794000005000,204    "cancellableAt": 1794000303000,205    "overdue": false,206    "estimate": {207     "source": "estimate",208     "referencePrice": "3500.5",209     "acceptablePrice": "3517.5",210     "sizeUsd": "60",211     "liquidationPrice": "2400.12",212     "liquidationNote": "estimate: isolated, before funding and borrowing",213     "notes": [],214     "ts": 1794000000000215    },216    "outcome": null,217    "error": null218   },219   {220    "id": "7a1c1f0e-8f5f-4b1e-9c56-000000000a02",221    "kind": "increase",222    "state": "executed",223    "final": true,224    "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",225    "marketName": "ETH/USD [WETH-USDC]",226    "side": "long",227    "collateral": "20",228    "collateralSymbol": "USDC",229    "sizeUsd": "60",230    "acceptablePrice": "3517.5",231    "slippageBps": 50,232    "leverage": "3",233    "executionFeeEth": "0.00017",234    "maxFeeEth": "0.00026",235    "needsApproval": true,236    "orderKey": "0xabababababababababababababababababababababababababababababababab",237    "targetOpId": null,238    "hash": "1212121212121212121212121212121212121212121212121212121212121212",239    "proposalId": "7a1c1f0e-8f5f-4b1e-9c56-000000000014",240    "txid": "0x22",241    "explorer": "https://arbiscan.io/tx/0x22",242    "approvalTxid": "0x21",243    "createdAt": 1794000000000,244    "expiresAt": 1794000120000,245    "sentAt": 1794000001000,246    "orderCreatedAt": 1794000003000,247    "doneAt": 1794000009000,248    "checkedAt": 1794000005000,249    "cancellableAt": null,250    "overdue": false,251    "estimate": {252     "source": "estimate",253     "referencePrice": "3500.5",254     "acceptablePrice": "3517.5",255     "sizeUsd": "60",256     "liquidationPrice": "2400.12",257     "liquidationNote": "estimate: isolated, before funding and borrowing",258     "notes": [],259     "ts": 1794000000000260    },261    "outcome": {262     "event": "OrderExecuted",263     "txid": "0x33",264     "explorer": "https://arbiscan.io/tx/0x33",265     "executionPrice": "3501",266     "sizeUsd": "60",267     "positionFeeUsd": "0.036",268     "priceImpactUsd": "-0.01",269     "pnlUsd": null,270     "collateralOut": null,271     "executionFeeRefundEth": "0.00005",272     "reason": null,273     "reasonCode": null,274     "cancelledBy": null,275     "collateralReturned": null276    },277    "error": null278   }279  ],280  "facts": {281   "requestExpirationSec": 300,282   "executionGas": "4149674",283   "twoStep": true284  },285  "ts": 1794000000000286 },287 "statusLocked": {288  "venue": "gmx",289  "network": "arbitrum",290  "chainId": 42161,291  "settings": {292   "liveMainnet": false,293   "gmxLive": false294  },295  "tradable": false,296  "blockers": [297   "gmx_setting_off",298   "mainnet_setting_off",299   "not_authorized"300  ],301  "blockerText": {302   "gmx_setting_off": "Le trading GMX est désactivé sur ce serveur (SPW_DERIV_GMX_LIVE).",303   "mainnet_setting_off": "Le trading réel est désactivé sur ce serveur (SPW_DERIV_LIVE_MAINNET).",304   "not_authorized": "Le trading GMX n'est pas autorisé."305  },306  "pins": {307   "id": "gmx-v2-arbitrum-2026-11-11",308   "reviewedAt": "2026-11-11",309   "ok": null,310   "checkedAt": null,311   "problems": [312    "rpc"313   ],314   "contracts": []315  },316  "account": null,317  "wallet": null,318  "walletError": "signer unreachable",319  "authorization": null,320  "markets": [],321  "risk": null,322  "positions": [],323  "positionsSource": "chain",324  "positionsError": null,325  "pendingOrders": [],326  "operations": [],327  "facts": {328   "requestExpirationSec": 300,329   "executionGas": null,330   "twoStep": true331  },332  "ts": 1794000000000333 },334 "jurisdiction": {335  "venue": "gmx",336  "fr": {337   "venue": "gmx",338   "locale": "fr",339   "text": "TEXTE",340   "sha256": "00",341   "version": "2026-11-10",342   "source": "docs/v4/venues/jurisdiction.md"343  },344  "en": {345   "venue": "gmx",346   "locale": "en",347   "text": "TEXT",348   "sha256": "00",349   "version": "2026-11-10",350   "source": "docs/v4/venues/jurisdiction.md"351  }352 },353 "preview": {354  "order": {355   "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",356   "marketName": "ETH/USD [WETH-USDC]",357   "side": "long",358   "action": "increase",359   "collateral": "20",360   "sizeUsd": "60",361   "acceptablePrice": "3517.5",362   "slippageBps": 50,363   "leverage": "3"364  },365  "estimate": {366   "source": "estimate",367   "referencePrice": "3500.5",368   "acceptablePrice": "3517.5",369   "sizeUsd": "60",370   "liquidationPrice": "2400.12",371   "liquidationNote": "estimate: isolated, before funding and borrowing",372   "notes": [],373   "ts": 1794000000000374  },375  "risk": {376   "ok": false,377   "code": "daily_loss_exceeded",378   "reason": "the daily loss limit is reached"379  },380  "blockers": [381   "gmx_halted"382  ],383  "signerWould": "order size 60 USD is above the authorized 50"384 },385 "operation": {386  "operation": {387   "id": "7a1c1f0e-8f5f-4b1e-9c56-000000000a01",388   "kind": "increase",389   "state": "created",390   "final": false,391   "market": "0x70d95587d40A2caf56bd97485aB3Eec10Bee6336",392   "marketName": "ETH/USD [WETH-USDC]",393   "side": "long",394   "collateral": "20",395   "collateralSymbol": "USDC",396   "sizeUsd": "60",397   "acceptablePrice": "3517.5",398   "slippageBps": 50,399   "leverage": "3",400   "executionFeeEth": "0.00017",401   "maxFeeEth": "0.00026",402   "needsApproval": true,403   "orderKey": "0xabababababababababababababababababababababababababababababababab",404   "targetOpId": null,405   "hash": "1212121212121212121212121212121212121212121212121212121212121212",406   "proposalId": "7a1c1f0e-8f5f-4b1e-9c56-000000000014",407   "txid": "0x22",408   "explorer": "https://arbiscan.io/tx/0x22",409   "approvalTxid": "0x21",410   "createdAt": 1794000000000,411   "expiresAt": 1794000120000,412   "sentAt": 1794000001000,413   "orderCreatedAt": 1794000003000,414   "doneAt": null,415   "checkedAt": 1794000005000,416   "cancellableAt": 1794000303000,417   "overdue": false,418   "estimate": {419    "source": "estimate",420    "referencePrice": "3500.5",421    "acceptablePrice": "3517.5",422    "sizeUsd": "60",423    "liquidationPrice": "2400.12",424    "liquidationNote": "estimate: isolated, before funding and borrowing",425    "notes": [],426    "ts": 1794000000000427   },428   "outcome": null,429   "error": null430  }431 }432}
Files main
Menu

Theme