{ "opencollection": "1.0.0", "info": { "name": "GM Backend Account Stop Orders API", "version": "1.0.0" }, "items": [ { "info": { "name": "Stop Orders", "type": "folder" }, "items": [ { "info": { "name": "Get Stop Orders", "type": "http" }, "http": { "method": "GET", "url": "https://api.gm.ondo.finance/v1/perps/stop_order" }, "docs": "Gets a list of all stop orders for all markets." }, { "info": { "name": "Set Stop Order", "type": "http" }, "http": { "method": "POST", "url": "https://api.gm.ondo.finance/v1/perps/stop_order", "body": { "type": "json", "data": "{}" } }, "docs": "Set a stop order for a particular position defined by market and direction." }, { "info": { "name": "Remove Stop Order", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.gm.ondo.finance/v1/perps/stop_order", "params": [ { "name": "market", "value": "", "type": "query", "description": "Perps market" }, { "name": "type", "value": "", "type": "query", "description": "The type of stop order to remove. Either \"stopLoss\" or \"takeProfit\". If not set, removes both stop loss and take profit orders.\n" } ] }, "docs": "Remove a stop order. If no type is specified, removes both stop loss and take profit." } ] } ], "bundled": true }