InvalidContractProposal / Unknown contract proposal

Hi everyone,

I'm getting the InvalidContractProposal error while I try to buy some contract:

{
  "echo_req": {
    "buy": "86b15ae1-1faa-4b92-b500-129a87584ff6",
    "price": 6393.3
  },
  "error": {
    "code": "InvalidContractProposal",
    "message": "Unknown contract proposal"
  },
  "msg_type": "buy"
}

The price proposal I'm trying to build is the following:

(Volatility 100 (1s) Index, 1 tick duration, Rise/Fall, stake)

{
  "proposal": 1,
  "amount": 10,
  "basis": "stake",
  "contract_type": "TICKHIGH",
  "currency": "USD",
  "duration": 1,
  "duration_unit": "t",
  "selected_tick": 1,
  "symbol": "1HZ100V"
}

Let's me know If I'm doing something wrong on it.

Comments

  • For this contract_type (TICKHIGH) the minimum value must be 5. The correct contract_type of your image is CALL.
    So you proposal must be:
    {
    "proposal": 1,
    "amount": 10,
    "basis": "stake",
    "contract_type": "CALL",
    "currency": "USD",
    "duration": 1,
    "duration_unit": "t",
    "selected_tick": 1,
    "symbol": "1HZ100V"
    }
    I hope this help you.

  • Thanks man!

    I've already found the solution for that.

Sign In or Register to comment.