xAPI 2.5.0
Released 8 June 2019
CONFIGURATION CHANGE FOR XTB CLIENTS ONLY:
- In order to gain access to the xAPI service, a new DNS address has been created. From now on, you can use the new DNS address: xapi.xtb.com. DNS addresses already in force (xapia.x-station.eu and xapib.x-station.eu) will remain active until June 8, however we encourage you to use the new address right now.
For customers who use the WebSocket interface, a new URL has been created: wss://ws.xtb.com, which will replace the existing address wss://ws.xapi.pro
Detailed information can be found on: Communication with the API
xAPI 2.4.**
Released 5 August 2017
OTHER:
- changed getVersion logic: when any module of system is updated, version of xAPI is being iterated. The getVersion response may differ from the current documentation version. Note, that only real modification of xAPI and in xAPI documentation is marked in the changelog
xAPI 2.4.12
Released 28 May 2015
Other:
- changed getChartLastRequest the limitations section is added to description
- changed getChartRangeRequest the limitations section is added to description
xAPI 2.4.7
Released 24 November 2014
Records changed:
- SYMBOL_RECORD
- ADDED stepRuleId
Other:
- changed SYMBOL_RECORD leverege field type from Number to Floating number
xAPI 2.4.1
Released 10 March 2014
Commands added:
Commands changed:
- getTickPrices (streaming)
- ADDED minArrivalTime (optional)
Records changed:
- SYMBOL_RECORD
- ADDED spreadRaw
- ADDED spreadTable
xAPI 2.4
Released 1 February 2014
Commands changed:
- getCurrentUserData
- ADDED companyUnit to response
- ADDED spreadType to response
- getMarginLevel
- ADDED credit to response
Records changed:
- STREAMING_BALANCE_RECORD
- ADDED credit
- STREAMING_TRADE_RECORD
- ADDED digits
- STREAMING_TRADE_STATUS_RECORD
- ADDED price
Other:
- possible values: REQUOTED and PRICED for field requestStatus were deleted
- new error codes such as BE200, EX007, EX008, EX009 were added to Error messages
- possible values added for profitMode and marginMode field
- fields units and command descriptions were added to various items
xAPI 2.3.4
Released 6 December 2013
Commands changed:
- getCurrentUserData
- ADDED group to response
- ADDED leverageMultiplier to response
xAPI 2.3.3
Released 6 October 2013
Records changed:
- SYMBOL_RECORD
- ADDED currencyPair
- ADDED leverage
- TICK_RECORD
- ADDED spreadRaw
- ADDED spreadTable
Other:
- few minor fixes in the documentation
- overall API stability improvements
- comprehensive security betterment
xAPI 2.3.2
Released 3 October 2013
Commands added:
- getCandles (streaming)
- getKeepAlive (streaming)
- ping
Records changed:
- STREAMING_TICK_RECORD
- ADDED spreadRaw
- ADDED spreadTable
Other:
- optional field customTag added to every command. Read more here: General data format
- there is a new rule, which forces the API clients not to be idle for longer than 60 minutes. Read more here: Connection validation
- new error codes EX002 and EX003 were added and the description for the BE003 error was changed. Details: Error messages
xAPI 2.3
Released 20 August 2013
Commands added:
- getVersion
- getNews (streaming)
Commands deleted:
- getAllSpreads
- getAllSymbolGroups
- getSpreads
Commands changed:
- getChartLastRequest
- DELETED exemode from response
- getChartRangeRequest
- DELETED exemode from response
- getCommissionDef
- DELETED showComDef from response
- getReqStatus (streaming)
- RENAMED getReqStatus to getTradeStatus
- tradeTransaction
- ADDED order to response
- DELETED requestId from response
- tradeTransactionStatus
- ADDED order to request
- DELETED requestId from request
- ADDED customComment to response
- DELETED requestId from response
Records changed:
- NEWS_TOPIC_RECORD
- DELETED category
- DELETED keywords
- DELETED priority
- DELETED read
- DELETED topic
- SYMBOL_RECORD
- DELETED digits
- DELETED exemode
- TICK_RECORD
- DELETED exemode
- TRADE_RECORD
- ADDED customComment
- DELETED login
- DELETED spread
- DELETED taxes
- TRADE_TRANS_INFO
- DELETED comment
- ADDED customComment
- DELETED ie_deviation
- STREAMING_BALANCE_RECORD
- ADDED marginFree
- ADDED marginLevel
- STREAMING_PROFIT_RECORD
- ADDED Profit
- DELETED profit
- STREAMING_TRADE_RECORD
- ADDED customComment
- ADDED profit
- ADDED state
OLDER VERSIONS
API DOCUMENTATION
VERSION CODE | COMMENT | DATE |
---|