Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. RK
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 12
    • Best 0
    • Groups 0

    RK

    @RK

    0
    Reputation
    4
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    RK Unfollow Follow

    Latest posts made by RK

    • RE: Tempory technical issue: 17-11-2-21

      Hi @admin,

      For all the good days a bad day sometimes feels odd.
      Hope to see you back soon.

      Thanks,
      Akey Venkat

      posted in General Discussion
      R
      RK
    • RE: Historical Data - Only Until 14:35

      @admin

      I am able to query the data until 15:30.

      There was a mistake in my code that I did not recognise.

      Thanks,
      Akey Venkat

      posted in Bugs
      R
      RK
    • Historical Data - Only Until 14:35

      @admin

      I am facing an issue while querying for Historical data.

      These are the parameters I am passing:
      "exchange": "NSE",
      "symboltoken": 3045,
      "interval": "FIVE_MINUTE",
      "fromdate": "2021-11-12 09:15",
      "todate": "2021-11-12 15:30"

      However I am receiving data only till 14:35. Can you kindly let me know the reason why I am not getting the data till 15:30.

      Thanks,
      Akey Venkat

      posted in Bugs
      R
      RK
    • RE: Get Historical Data

      @admin

      I am able to access the data. I was sending the headers wrong. The X_SOURCEID and Accept parameters were send twice per say:
      'X-SourceID': 'WEB, WEB' has to be 'X-SourceID': 'WEB'

      Thank You very Much.
      Much appreciated.

      posted in Bugs
      R
      RK
    • RE: Get Historical Data

      @admin

      I have emailed the respective EMAILID that you have provided but I did not get a response.

      Can you kindly check.

      Thanks,
      Akey Venkat

      posted in Bugs
      R
      RK
    • Get Historical Data

      @admin

      My Login ID is A734010

      I am able to Login and get different type of data like

      Funds and Margins, Generate Tokens and Get Profile to name a few. However when I try to access the GetCandleData I get an error saying Invalid Token. The response code is 400 and the error is AG8001.

      Here is the code:

      var axios = require('axios');
      var data = JSON.stringify({"exchange":"NSE","symboltoken":"2885",
      "interval":"FIVE_MINUTE","fromdate":"2021-11-08 09:00",
      "todate":"2021-11-08 09:20"});

      var config = {
      method: 'post',
      url: 'https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData',
      headers: {
      'X-PrivateKey': 'XXXXXXXX',
      'Accept': 'application/json, application/json',
      'X-SourceID': 'WEB, WEB',
      'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
      'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
      'X-MACAddress': 'MAC_ADDRESS',
      'X-UserType': 'USER',
      'Authorization': 'Bearer XXXXXXXXX',
      'Content-Type': 'application/json'
      },
      data : data
      };

      axios(config)
      .then(function (response) {
      console.log(JSON.stringify(response.data));
      })
      .catch(function (error) {
      console.log(error);
      });

      Could you kindly let me know where I am going wrong

      posted in Bugs
      R
      RK
    • RE: Login problem

      Hi @admin

      My AngelOne ID is A734010.

      I have requested for the migration about 8 days ago. I am unable to access the SMARTAPI. Can you kindly do the needful.

      Thanks,

      posted in Bugs
      R
      RK
    • RE: Historical API for Nifty and Bank Nifty

      @admin
      Can you kindly confirm if this is available?

      posted in General Discussion
      R
      RK
    • RE: Not able to log in via api

      @admin
      I have filled the form and kindly let me know when my Login will be activated.

      Thanks,
      Venkat

      posted in Bugs
      R
      RK
    • RE: Please activate API for ABUG1002

      @admin
      Can you kindly let us know if the new requests will be activated.

      Client ID: A734010

      Thanks

      posted in Test
      R
      RK