Order Placing API
Last updated
Last updated
It is possible to customize request parameters during the project without additional costs. Below you can find our standard ready available service for getting the newest quote.
Test this service via Swagger: https://app.swaggerhub.com/apis-docs/Synnetra4/FXWebAPISOA/1.7
During implementation we provide dedicated Swagger documentation pointing to the Sandbox environment of the customer
Placed order can be only Executed or Canceled. To change order values, please cancel previous order if not executed and place a new one.
For architecture overview check:
POST
https://demo.fxcib.com/api/FXWebAPI/OrderPlacing
This service allows to place FX Order. It can be used as client facing service after Oauth2 authentication or service behind firewall used by SOA Before placing FX Order your SOA can for example: verify account balance, check/block limit
orderId
string
Unique OrderID
customerCode
string
Used by SOA when placing order in the name of the customer after internal verification.
limitRate
number
Use "." as decimal separator
timeInForce
number
For Limit Orders always = 4
expireTime
string
Date formal: dd/MM/yyyy HH:MM
orderType
string
Possible values: Limit and Stoploss
amount
string
Use "." as decimal separator
currency
string
Currency Code ISO 4217 standard.
pair
string
Currency Pair code in CCY/CCY format Ex. EUR/USD
side
number
Buy = 1, Sell = 2
key
string
Key provided by FXWebAPI
Request Example: