Raunak

About

Username
Raunak
Joined
Visits
877
Last Active
Roles
Moderator
Points
89
Badges
7
  • Re: API Higher/lower with fixed profit percentage what to use

    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
    }
    
  • Re: Help with buy/sell contract

    Price that you need to pass that is price at which you want to buy. For example you send proposal call and it returns price as 1 but you didn't send buy request now price changed while proposal is streaming to 0.98 so you need to send this price

  • Re: OAuth Login redirect URL Format change

    @Rebus redirect_url is the url where we will redirect your app user when they use login on their app. Its very standard process of oauth.

  • Apps without app_id are blocked now

    Please note that we have blocked access to apps accessing our api without app_id. We have communicated this through our facebook and twitter handle as well.

    To register your please refer https://developers.binary.com/ (https://developers.binary.com/applications/)

    As of now you will receive an error when you request any call. In future we will not allow connection for such apps.

  • Re: How can I allow copytrading?

    @Twin We are working on releasing it as soon as possible. I have informed developer about your earlier requirement as well.