Skip to main content
PUT
/
orders
/
{ticket}
Error
A valid request URL is required to generate request examples
{
  "comment": "novosky",
  "magic": 20250101,
  "price_open": 94500,
  "sl": 94300,
  "symbol": "BTCUSDc",
  "ticket": 987654321,
  "time_setup": 1777879028,
  "tp": 94800,
  "type": 2,
  "volume_current": 0.01
}

Documentation Index

Fetch the complete documentation index at: https://docs.novosky.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Set API_TOKEN in .env to match the token configured on the server.

Path Parameters

ticket
integer
required

Order ticket number

Example:

987654321

Body

application/json

Fields to modify on a pending order.

price
number

New order price.

Example:

94600

sl
number

New stop loss price.

Example:

94400

tp
number

New take profit price.

Example:

94900

type_time
string

New expiry type.

Example:

"GTC"

Response

Modified order

A pending order.

comment
string
Example:

"novosky"

magic
integer
Example:

20250101

price_open
number
Example:

94500

sl
number
Example:

94300

symbol
string
Example:

"BTCUSDc"

ticket
integer
Example:

987654321

time_setup
integer

Order creation time as Unix epoch.

Example:

1777879028

tp
number
Example:

94800

type
integer

2=BUY_LIMIT, 3=SELL_LIMIT, 4=BUY_STOP, 5=SELL_STOP, 6=BUY_STOP_LIMIT, 7=SELL_STOP_LIMIT.

Example:

2

volume_current
number
Example:

0.01