Client API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
Version: v1
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
post /ClientApi/ClosePosition
Close position (clientApiClosePosition)
Consumes
This API call consumes the following media types via the request header:
application/json
text/json
Request body
Body Parameter — Close position parameters
Return type
Example data
Content-Type: application/json
{
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
PositionDataInfo
Up
post /ClientApi/CreateAccount
Create new trade account.
Allow anonimous access. (clientApiCreateAccount)
Consumes
This API call consumes the following media types via the request header:
application/json
text/json
Request body
Body Parameter — New account parameters
Return type
Example data
Content-Type: application/json
{
"Group" : "Group",
"Comment" : "Comment",
"ReferralCode" : "ReferralCode",
"Email" : "Email",
"Address" : "Address",
"CreateTime" : "2000-01-23T04:56:07.000+00:00",
"Enabled" : true,
"City" : "City",
"Name" : "Name",
"LastLoginTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Demo",
"Credit" : 5.637376656633329,
"Phone" : "Phone",
"State" : "State",
"Currency" : "Currency",
"Zipcode" : "Zipcode",
"Country" : "Country",
"Leverage" : 1,
"Id" : 0,
"Balance" : 5.962133916683182,
"CurrencyPrecision" : 6
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
AccountDataInfo
Up
post /ClientApi/Deposit
Deposit/Withdraw funds to account.
Allow anonimous access. (clientApiDeposit)
Consumes
This API call consumes the following media types via the request header:
application/json
text/json
Request body
Body Parameter — Deposit/Withdraw parameters
Return type
Example data
Content-Type: application/json
{
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
PositionDataInfo
Up
get /ClientApi/GetAccountInfo
Get account info (clientApiGetAccountInfo)
Return type
Example data
Content-Type: application/json
{
"Group" : "Group",
"Comment" : "Comment",
"ReferralCode" : "ReferralCode",
"Email" : "Email",
"Address" : "Address",
"CreateTime" : "2000-01-23T04:56:07.000+00:00",
"Enabled" : true,
"City" : "City",
"Name" : "Name",
"LastLoginTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Demo",
"Credit" : 5.637376656633329,
"Phone" : "Phone",
"State" : "State",
"Currency" : "Currency",
"Zipcode" : "Zipcode",
"Country" : "Country",
"Leverage" : 1,
"Id" : 0,
"Balance" : 5.962133916683182,
"CurrencyPrecision" : 6
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
AccountDataInfo
Up
get /ClientApi/GetBinaryPosition
Get binary position (clientApiGetBinaryPosition)
Query parameters
tradeId (required)
Query Parameter — Position Id format: int64
Return type
Example data
Content-Type: application/json
{
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
PositionDataInfo
Up
get /ClientApi/GetClosedPositions
Get closed positions list (clientApiGetClosedPositions)
Return type
Example data
Content-Type: application/json
[ {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}, {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
Up
get /ClientApi/GetDeposits
Get balance transactions list(deposit/withdrawals) (clientApiGetDeposits)
Return type
Example data
Content-Type: application/json
[ {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}, {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
Up
get /ClientApi/GetOpenBinaryPositions
Get opend binary positions list (clientApiGetOpenBinaryPositions)
Return type
Example data
Content-Type: application/json
[ {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}, {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
Up
get /ClientApi/GetOpenPositions
Get opened positions list (clientApiGetOpenPositions)
Return type
Example data
Content-Type: application/json
[ {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}, {
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
Up
get /ClientApi/GetPosition
Get position info (clientApiGetPosition)
Query parameters
tradeId (required)
Query Parameter — Position Id format: int64
Return type
Example data
Content-Type: application/json
{
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
PositionDataInfo
Up
get /ClientApi/GetSymbolHistory
Get symbol OHLC history.
Allow anonimous access. (clientApiGetSymbolHistory)
Query parameters
symbol (required)
Query Parameter — Symbol name
period (optional)
Query Parameter — OHLC Bar period. M1,M5,M15,M30,H1,H4,D1,W1,MN1 Default M1
count (optional)
Query Parameter — Bars count. Default 200 format: int32
Return type
Example data
Content-Type: application/json
[ {
"High" : 6.027456183070403,
"Low" : 1.4658129805029452,
"Volume" : 5,
"Symbol" : "Symbol",
"Time" : "2000-01-23T04:56:07.000+00:00",
"Close" : 5.962133916683182,
"Open" : 0.8008281904610115
}, {
"High" : 6.027456183070403,
"Low" : 1.4658129805029452,
"Volume" : 5,
"Symbol" : "Symbol",
"Time" : "2000-01-23T04:56:07.000+00:00",
"Close" : 5.962133916683182,
"Open" : 0.8008281904610115
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
Up
get /ClientApi/GetSymbolInfo
Get symbol info.
Allow anonimous access. (clientApiGetSymbolInfo)
Query parameters
symbol (required)
Query Parameter — Symbol name
Return type
Example data
Content-Type: application/json
{
"TickPrice" : 4.145608029883936,
"Group" : "Group",
"VolumeStep" : 5.637376656633329,
"SymbolBaseCurrency" : "SymbolBaseCurrency",
"Description" : "Description",
"Percentage" : 7.386281948385884,
"Symbol" : "Symbol",
"SymbolCounterCurrency" : "SymbolCounterCurrency",
"SpreadMin" : 2,
"ContractSize" : 9.301444243932576,
"SpreadMax" : 7,
"Enabled" : true,
"SwapMode" : "ByPoints",
"VolumeMin" : 1.4658129805029452,
"InitialMargin" : 3.616076749251911,
"SwapShort" : 1.0246457001441578,
"SpreadMode" : "Manual",
"SwapLong" : 1.2315135367772556,
"Precision" : 6,
"TickSize" : 2.027123023002322,
"SwapsEnabled" : true,
"Id" : 0,
"VolumeMax" : 5.962133916683182,
"CalculationMode" : "Forex"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
SymbolInfoData
Up
get /ClientApi/GetTicks
Get last symbols ticks.
Allow anonimous access. For logged in accounts return symbols for account. (clientApiGetTicks)
Return type
Example data
Content-Type: application/json
[ {
"Symbol" : "Symbol",
"Ask" : 6.027456183070403,
"Time" : "2000-01-23T04:56:07.000+00:00",
"Bid" : 0.8008281904610115
}, {
"Symbol" : "Symbol",
"Ask" : 6.027456183070403,
"Time" : "2000-01-23T04:56:07.000+00:00",
"Bid" : 0.8008281904610115
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
Login trade account.
Allow anonimous access. (clientApiLogin)
Query parameters
accountId (required)
Query Parameter — Account number for login format: int64
password (required)
Query Parameter — Account password
Return type
String
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
String
Up
post /ClientApi/OpenBinaryPosition
Open binary position (clientApiOpenBinaryPosition)
Consumes
This API call consumes the following media types via the request header:
application/json
text/json
Request body
Body Parameter — Open binary position parameters
Return type
Example data
Content-Type: application/json
{
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
PositionDataInfo
Up
post /ClientApi/OpenPosition
Open new position (clientApiOpenPosition)
Consumes
This API call consumes the following media types via the request header:
application/json
text/json
Request body
Body Parameter — New position parameters
Return type
Example data
Content-Type: application/json
{
"WinPercent" : 7.061401241503109,
"LossPercent" : 9.301444243932576,
"Comment" : "Comment",
"AccountId" : 6,
"Symbol" : "Symbol",
"Commission" : 1.0246457001441578,
"StopLoss" : 5.637376656633329,
"ConvRate" : 1.4894159098541704,
"CloseConvRate" : 4.145608029883936,
"ClosePrice" : 2.027123023002322,
"DrawPercent" : 3.616076749251911,
"OpenTime" : "2000-01-23T04:56:07.000+00:00",
"Type" : "Buy",
"TakeProfit" : 2.3021358869347655,
"PendingType" : "None",
"Swap" : 1.2315135367772556,
"Volume" : 1.4658129805029452,
"CloseTime" : "2000-01-23T04:56:07.000+00:00",
"State" : "None",
"OpenPrice" : 5.962133916683182,
"ClosedTo" : 7,
"Profit" : 6.84685269835264,
"Id" : 0,
"ExpireTime" : "2000-01-23T04:56:07.000+00:00"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
text/json
Responses
200
OK
PositionDataInfo
Up
post /ClientApi/SetPassword
Change account password (clientApiSetPassword)
Consumes
This API call consumes the following media types via the request header:
application/json
text/json
Request body
Body Parameter — New password
Responses
204
No Content
[ Jump to Methods ]
Table of Contents
AccountDataInfo
-
ClosePositionData
-
CreateAccountData
-
DepositData
-
OpenBinaryPositionData
-
OpenPositionData
-
PositionDataInfo
-
QuotationInfoData
-
SymbolInfoData
-
TickInfoData
-
Account data info
Id (optional)
Long Account Id format: int64
Type (optional)
Demo
Live
Enabled (optional)
Group (optional)
Currency (optional)
CurrencyPrecision (optional)
Integer Currency precision format: int32
Name (optional)
Email (optional)
Phone (optional)
City (optional)
State (optional)
Country (optional)
Zipcode (optional)
Address (optional)
Comment (optional)
CreateTime (optional)
Date Create time format: date-time
LastLoginTime (optional)
Date Last login time format: date-time
Leverage (optional)
Long Leverage format: int64
Balance (optional)
Credit (optional)
ReferralCode (optional)
Close position parameters
PositionId (optional)
Long Position Id format: int64
Volume (optional)
Double Position close volume format: double
Price (optional)
Double Close price format: double
Comment (optional)
Create account parameters
Type (optional)
Demo
Live
Group (optional)
Name (optional)
Email (optional)
Phone (optional)
City (optional)
State (optional)
Country (optional)
Zipcode (optional)
Address (optional)
Comment (optional)
Password (optional)
ReferralCode (optional)
Deposit parameters
AccountId (optional)
Long Account Id format: int64
Value (optional)
Double Deposit amount(negative for withdrawal) format: double
Comment (optional)
Open Binary position parameters
ItemType (optional)
Buy
Sell
Up
Down
Balance
Credit
Symbol (optional)
Volume (optional)
PeriodSeconds (optional)
Integer Position period in seconds format: int32
Open new trande position parameters
Type (optional)
Buy
Sell
Up
Down
Balance
Credit
Symbol (optional)
Volume (optional)
Price (optional)
Double Open price format: double
SL (optional)
Double Stop Loss format: double
TP (optional)
Double Take Profit format: double
Comment (optional)
Position data info
Id (optional)
Long Position Id format: int64
AccountId (optional)
Long Account Id format: int64
Symbol (optional)
State (optional)
None
Open
Closed
Deleted
Type (optional)
Buy
Sell
Up
Down
Balance
Credit
PendingType (optional)
None
Stop
Limit
Volume (optional)
OpenTime (optional)
Date Open time format: date-time
OpenPrice (optional)
Double Open price format: double
StopLoss (optional)
Double Stop loss format: double
TakeProfit (optional)
Double Take profit format: double
WinPercent (optional)
Double BO Win percent format: double
LossPercent (optional)
Double BO Loss Percent format: double
DrawPercent (optional)
Double BO Draw percent format: double
ExpireTime (optional)
Date BO Expire time format: date-time
CloseTime (optional)
Date Close time format: date-time
ClosePrice (optional)
Double Close price format: double
CloseConvRate (optional)
Double Close conversation rate format: double
ClosedTo (optional)
Long Close to position format: int64
Swap (optional)
Commission (optional)
Double Commission format: double
ConvRate (optional)
Double Conversation rate format: double
Profit (optional)
Comment (optional)
Quotation data
Symbol (optional)
Time (optional)
Date Bar time format: date-time
Open (optional)
Double Open price format: double
High (optional)
Double High price format: double
Low (optional)
Double Low price format: double
Close (optional)
Double Close price format: double
Volume (optional)
Long Volume format: int64
Instrument info
Id (optional)
Long Instrument Id format: int64
Enabled (optional)
Symbol (optional)
SymbolBaseCurrency (optional)
SymbolCounterCurrency (optional)
String Symbol counter currency
Description (optional)
Group (optional)
Precision (optional)
Integer Symbol precision format: int32
VolumeMin (optional)
Double Min volume format: double
VolumeMax (optional)
Double Max volume format: double
VolumeStep (optional)
Double Volume step format: double
SpreadMode (optional)
Manual
Automatic
Source
ManualNegative
SourceNegative
ZeroUseBid
ZeroUseAsk
SpreadMin (optional)
SpreadMax (optional)
CalculationMode (optional)
Forex
CFD
Futures
BinaryOption
ContractSize (optional)
Double Contract size format: double
InitialMargin (optional)
Double Initial margin format: double
TickSize (optional)
Double Tick size format: double
TickPrice (optional)
Double Tick price format: double
Percentage (optional)
Double Percentage format: double
SwapsEnabled (optional)
SwapMode (optional)
ByPoints
ByMoney
SwapLong (optional)
Double Long swap format: double
SwapShort (optional)
Double Short swap format: double
Symbol (optional)
Time (optional)
Date Tick time format: date-time
Bid (optional)
Double Bid price format: double
Ask (optional)
Double Ask price format: double