API Higher/lower with fixed profit percentage what to use

What parts I need to use in the API to get:

  • higher/lower
  • trade in ticks; if tick in 5 is higher you win

Cant find this.

Who can help me?

Comments

  • You need to make proposal call or call buy with parameters

    {
      "proposal": 1,
      "subscribe": 1,
      "amount": 10,
      "basis": "payout",
      "contract_type": "CALL",
      "currency": "USD",
      "symbol": "R_10",
      "duration": 5,
      "duration_unit": "t",
      "barrier": "+0.359",
      "passthrough": {
        "form_id": 9
      },
      "req_id": 39
    }
    

    this will the response of the call

    {
      "echo_req": {
        "amount": 10,
        "barrier": "+0.359",
        "basis": "payout",
        "contract_type": "CALL",
        "currency": "USD",
        "duration": 5,
        "duration_unit": "t",
        "passthrough": {
          "form_id": 9
        },
        "proposal": 1,
        "req_id": 39,
        "subscribe": 1,
        "symbol": "R_10"
      },
      "msg_type": "proposal",
      "passthrough": {
        "form_id": 9
      },
      "proposal": {
        "ask_price": "2.91",
        "date_start": "1495505874",
        "display_value": "2.91",
        "id": "04e7741f-c16a-e1db-4997-5eda7c0ec77c",
        "longcode": "Win payout if Volatility 10 Index after 5 ticks is strictly higher than entry spot plus 0.359.",
        "payout": "10",
        "spot": "10711.346",
        "spot_time": "1495505874"
      },
      "req_id": 39
    }
    

    then you can buy by calling

    { 
       buy: "04e7741f-c16a-e1db-4997-5eda7c0ec77c",
       price: 2.91
    }
    
  • Thank you, Thank you! Perfect example. Compliments

    Let me play around with this.

Sign In or Register to comment.