Navigation

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

    MMN5468

    @MMN5468

    -1
    Reputation
    1
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    MMN5468 Follow

    Best posts made by MMN5468

    This user hasn't posted anything yet.

    Latest posts made by MMN5468

    • getcandledata throwing error

      When accessing candle data from api following error occurs. Please suggest a work around

      script : https://github.com/vhatkar/Algo_Test/blob/main/ema_indicator_query.py

      ERROR:

      [E 250131 13:04:14 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Invalid Token. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'bf:14:c0:80:c3:3a', 'Accept': 'application/json', 'X-PrivateKey': 'liiHdetf', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': 'SBIN-EQ', 'interval': '15min', 'fromdate': '2025-01-01 09:15', 'todate': '2025-01-27 15:30'}, Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}
      +++ after getcandle data {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

      posted in Python SDK
      M
      MMN5468