Skip to main content
GET
/
positions
/
{ticket}
Error
A valid request URL is required to generate request examples
{
  "comment": "novosky",
  "magic": 20250101,
  "price_current": 95050,
  "price_open": 95000,
  "profit": 5,
  "sl": 94800,
  "swap": -0.12,
  "symbol": "BTCUSD",
  "ticket": 123456789,
  "time": 1777879028,
  "tp": 95300,
  "type": 0,
  "volume": 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

Position ticket number

Example:

123456789

Response

Position details

An open position.

comment
string
Example:

"novosky"

magic
integer

EA magic number.

Example:

20250101

price_current
number
Example:

95050

price_open
number
Example:

95000

profit
number

Floating profit in account currency.

Example:

5

sl
number
Example:

94800

swap
number
Example:

-0.12

symbol
string
Example:

"BTCUSD"

ticket
integer
Example:

123456789

time
integer

Position open time as Unix epoch.

Example:

1777879028

tp
number
Example:

95300

type
integer

0 = BUY, 1 = SELL.

Example:

0

volume
number
Example:

0.01