## API changes September 2019 - basis/multiplier ##

edited November 2019 in General

Dear developers,

We'll be changing the following API calls:

  • buy
  • buy_contract_for_multiple_accounts
  • proposal
  • proposal_array

At the moment, the “basis” parameter accepts either “payout”, “stake”, or “multiplier”. With this change, “basis” will only accept “payout” and “stake”. The “multiplier” parameter must be defined separately.

This is an example of the “proposal” API call:

Before

{

"proposal": 1,

"amount": 100,

"basis": "multiplier",

"contract_type": "LBFLOATCALL",

"currency": "USD",

"duration": 5,

"duration_unit": "m",

"symbol": "R_100"

}

After

{

"proposal": 1,

"multiplier": 100,

"contract_type": "LBFLOATCALL",

"currency": "USD",

"duration": 5,

"duration_unit": "m",

"symbol": "R_100"

}

This will take effect on 17 September 2019 . Let us know if you have any questions.

Sign In or Register to comment.