Client API

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
More information: https://helloreverb.com
Contact Info: hello@helloreverb.com
Version: v1
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

ClientApi

ClientApi

Up
post /ClientApi/ClosePosition
Close position (clientApiClosePosition)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

parameters ClosePositionData (required)
Body Parameter — Close position parameters

Return type

PositionDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

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 Content-Type request header:

Request body

parameters CreateAccountData (required)
Body Parameter — New account parameters

Return type

AccountDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

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 Content-Type request header:

Request body

parameters DepositData (required)
Body Parameter — Deposit/Withdraw parameters

Return type

PositionDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PositionDataInfo

Up
get /ClientApi/GetAccountInfo
Get account info (clientApiGetAccountInfo)

Return type

AccountDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK AccountDataInfo

Up
get /ClientApi/GetBinaryPosition
Get binary position (clientApiGetBinaryPosition)

Query parameters

tradeId (required)
Query Parameter — Position Id format: int64

Return type

PositionDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PositionDataInfo

Up
get /ClientApi/GetClosedPositions
Get closed positions list (clientApiGetClosedPositions)

Return type

array[PositionDataInfo]

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK

Up
get /ClientApi/GetDeposits
Get balance transactions list(deposit/withdrawals) (clientApiGetDeposits)

Return type

array[PositionDataInfo]

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK

Up
get /ClientApi/GetOpenBinaryPositions
Get opend binary positions list (clientApiGetOpenBinaryPositions)

Return type

array[PositionDataInfo]

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK

Up
get /ClientApi/GetOpenPositions
Get opened positions list (clientApiGetOpenPositions)

Return type

array[PositionDataInfo]

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK

Up
get /ClientApi/GetPosition
Get position info (clientApiGetPosition)

Query parameters

tradeId (required)
Query Parameter — Position Id format: int64

Return type

PositionDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

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

array[QuotationInfoData]

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK

Up
get /ClientApi/GetSymbolInfo
Get symbol info. Allow anonimous access. (clientApiGetSymbolInfo)

Query parameters

symbol (required)
Query Parameter — Symbol name

Return type

SymbolInfoData

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 Accept request header; the media type will be conveyed by the Content-Type response header.

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

array[TickInfoData]

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK

Up
get /ClientApi/Login
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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK String

Up
post /ClientApi/OpenBinaryPosition
Open binary position (clientApiOpenBinaryPosition)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

parameters OpenBinaryPositionData (required)
Body Parameter — Open binary position parameters

Return type

PositionDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PositionDataInfo

Up
post /ClientApi/OpenPosition
Open new position (clientApiOpenPosition)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

parameters OpenPositionData (required)
Body Parameter — New position parameters

Return type

PositionDataInfo

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 Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK PositionDataInfo

Up
post /ClientApi/SetPassword
Change account password (clientApiSetPassword)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

password string (required)
Body Parameter — New password

Responses

204

No Content

Models

[ Jump to Methods ]

Table of Contents

  1. AccountDataInfo -
  2. ClosePositionData -
  3. CreateAccountData -
  4. DepositData -
  5. OpenBinaryPositionData -
  6. OpenPositionData -
  7. PositionDataInfo -
  8. QuotationInfoData -
  9. SymbolInfoData -
  10. TickInfoData -

AccountDataInfo - Up

Account data info
Id (optional)
Long Account Id format: int64
Type (optional)
String Account type
Enum:
Demo
Live
Enabled (optional)
Boolean Is enabled
Group (optional)
String Group
Currency (optional)
String Currency
CurrencyPrecision (optional)
Integer Currency precision format: int32
Name (optional)
String Account name
Email (optional)
String Account email
Phone (optional)
String Account phone
City (optional)
String City
State (optional)
String State
Country (optional)
String Country
Zipcode (optional)
String Zip code
Address (optional)
String Address
Comment (optional)
String Comment
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)
Double Balance format: double
Credit (optional)
Double Credit format: double
ReferralCode (optional)
String Referal code

ClosePositionData - Up

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)
String Comment

CreateAccountData - Up

Create account parameters
Type (optional)
String Account type
Enum:
Demo
Live
Group (optional)
String Account group
Name (optional)
String Name
Email (optional)
String Email
Phone (optional)
String Phone
City (optional)
String City
State (optional)
String State
Country (optional)
String Country
Zipcode (optional)
String Zipcode
Address (optional)
String Address
Comment (optional)
String Comment
Password (optional)
String Password
ReferralCode (optional)
String Referral code

DepositData - Up

Deposit parameters
AccountId (optional)
Long Account Id format: int64
Value (optional)
Double Deposit amount(negative for withdrawal) format: double
Comment (optional)
String Comment

OpenBinaryPositionData - Up

Open Binary position parameters
ItemType (optional)
String Trade item type
Enum:
Buy
Sell
Up
Down
Balance
Credit
Symbol (optional)
String Symbol name
Volume (optional)
Double Volume format: double
PeriodSeconds (optional)
Integer Position period in seconds format: int32

OpenPositionData - Up

Open new trande position parameters
Type (optional)
String Position type
Enum:
Buy
Sell
Up
Down
Balance
Credit
Symbol (optional)
String Symbol name
Volume (optional)
Double Volume format: double
Price (optional)
Double Open price format: double
SL (optional)
Double Stop Loss format: double
TP (optional)
Double Take Profit format: double
Comment (optional)
String Comment

PositionDataInfo - Up

Position data info
Id (optional)
Long Position Id format: int64
AccountId (optional)
Long Account Id format: int64
Symbol (optional)
String Symbol name
State (optional)
String State
Enum:
None
Open
Closed
Deleted
Type (optional)
String Type
Enum:
Buy
Sell
Up
Down
Balance
Credit
PendingType (optional)
String Pending type
Enum:
None
Stop
Limit
Volume (optional)
Double Volume format: double
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)
Double Swap format: double
Commission (optional)
Double Commission format: double
ConvRate (optional)
Double Conversation rate format: double
Profit (optional)
Double Profit format: double
Comment (optional)
String Comment

QuotationInfoData - Up

Quotation data
Symbol (optional)
String Symbol name
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

SymbolInfoData - Up

Instrument info
Id (optional)
Long Instrument Id format: int64
Enabled (optional)
Boolean Is enabled
Symbol (optional)
String Symbol name
SymbolBaseCurrency (optional)
String Symbol base currency
SymbolCounterCurrency (optional)
String Symbol counter currency
Description (optional)
String Symbol description
Group (optional)
String Symbol group
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)
String Spread mode
Enum:
Manual
Automatic
Source
ManualNegative
SourceNegative
ZeroUseBid
ZeroUseAsk
SpreadMin (optional)
Integer Min spread format: int32
SpreadMax (optional)
Integer Max spread format: int32
CalculationMode (optional)
String Calculation mode
Enum:
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)
Boolean Is swaps enabled
SwapMode (optional)
String Swap mode
Enum:
ByPoints
ByMoney
SwapLong (optional)
Double Long swap format: double
SwapShort (optional)
Double Short swap format: double

TickInfoData - Up

Symbol (optional)
String Symbol name
Time (optional)
Date Tick time format: date-time
Bid (optional)
Double Bid price format: double
Ask (optional)
Double Ask price format: double