Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. gurindersinghcs
    G
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    gurindersinghcs

    @gurindersinghcs

    0
    Reputation
    5
    Posts
    6
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    gurindersinghcs Follow

    Best posts made by gurindersinghcs

    This user hasn't posted anything yet.

    Latest posts made by gurindersinghcs

    • NOFTY50 symboltoken to fetch historical data

      I am trying to fetch NIFTY 50 (NIFTY 29 April 2021) historical data using get candle data API , I need to know what is the symbolToken for Nifty50 to be passed in body
      {
      "exchange": "NSE",

      "symboltoken": "3045",*
      "interval": "ONE_MINUTE",
      "fromdate": "2021-02-08 09:00",
      "todate": "2021-02-08 09:15"
      }

      posted in General Discussion
      G
      gurindersinghcs
    • RE: Calculate Simple moving average and exponential moving average

      @admin said in Calculate Simple moving average and exponential moving average:

      api@angelbroking.com

      I have shared the code file , please let me know what is wrong with the calculation

      posted in General Discussion
      G
      gurindersinghcs
    • RE: Calculate Simple moving average and exponential moving average

      @admin said in Calculate Simple moving average and exponential moving average:

      her option you have is

      I have written a python file that is doing this calculation but some how the calculation does not match with the calculations I see on the Angel broking , I need to understand what is wrong with the way I am doing the calculation :
      I will elaborate a little , I want to calculate last 5 days moving SMA
      say for 19th March 9:15 AM and 19th March 9:30 AM
      and I have closing rates for 18th , 17th , 16th , 15th and 12th March , to calculate SMA at 9:15 on 19th march I am adding (18th, 17th,16th and 15th along with closing of 19th 9:15) and dividing it by 5 and for 9:30 AM I am using (15th, 16th ,17th and 18th with closing of 9:30 AM on 19th ) and dividing it by 5.
      can you please help were am I going wrong

      posted in General Discussion
      G
      gurindersinghcs
    • RE: Calculate Simple moving average and exponential moving average

      Thanks @rjbanna for answering the question , can you provide some more details should I collect 15 minutes data for past 5 days and then use all of that in calculation or just the closing or opening of the day?

      posted in General Discussion
      G
      gurindersinghcs
    • Calculate Simple moving average and exponential moving average

      Can some one explain how we calculate Simple moving average and Exponential moving average .
      In more specific case if I want to calculate SMA at 9:15 AM on 19th March and on 9:30 AM on 19th march for 5 days , what is the formula Angel Broking is using for that

      posted in General Discussion
      G
      gurindersinghcs