Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

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

Query Parameters

symbol
string

Filter by symbol (optional)

Example:

"BTCUSD"

Response

Open positions

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