Skip to main content
Glama

replace_order

Cancel an existing order and place a new one in a single atomic operation to update trading parameters while maintaining position integrity.

Instructions

Replace an existing order (cancel old and place new) in one atomic operation. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subaccount_idYesSubaccount ID
order_idYesOrder ID to replace
amountYesNew order amount
priceYesNew order price

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/solenyaresearch0000/derive-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server