Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Python SDK
    Log in to post

    Python SDK

    • Medhane Ermias

      List of all Smartapi functions in Python
      • Medhane Ermias  

      12
      1
      Votes
      12
      Posts
      1313
      Views

      M

      @mnagesh Thnx buddy. May I have any example of gttCancelRule ?
    • S

      Difference between status and orderstatus
      • Surya 1  

      6
      0
      Votes
      6
      Posts
      513
      Views

      H

      @admin i'm not getting this difference why both status has same value
    • D

      Як вибрати стильну сукню максі?
      • darui  

      3
      0
      Votes
      3
      Posts
      6
      Views

      Possumiss

      Цілком погоджуюся! Сукні максі виглядають дуже жіночно та дозволяють експериментувати зі стилем. Особисто мені подобаються моделі з акцентом на талії та мінімалістичним дизайном. Для повсякденних образів чудово підходить поєднання довгої сукні з кросівками або черевиками. Також важливо враховувати довжину виробу, щоб забезпечити максимальний комфорт під час прогулянок та активного відпочинку.
    • R

      New SmartAPI Key Without Static IP for Market Data Only
      • ranjan.1267  

      4
      0
      Votes
      4
      Posts
      17
      Views

      U

      @moderator_3 Hello SmartAPI Team, Following up on this query. I am also planning to develop a personal NIFTY options paper-trading application using SmartAPI. I want to clarify one important point before proceeding: Can a newly registered SmartAPI user create an API application for live market-data and WebSocket access without purchasing a static public IPv4? I understand that static IP is mandatory for order execution. I will not use Order API or GTT API during this development and testing phase. Could you please confirm the exact registration procedure for new users? This clarification will help me avoid purchasing unnecessary static-IP services. Thank you.
    • Possumiss

      Як підготувати дитину до нового навчального року?
      • Possumiss  

      3
      0
      Votes
      3
      Posts
      5
      Views

      D

      Погоджуюся, що завчасна підготовка до навчального року допомагає уникнути зайвого стресу та непотрібних витрат. Особливо вдалою вважаю ідею залучати дитину до вибору шкільного приладдя. Також рекомендую перевіряти, які матеріали залишилися з попереднього навчального року. Це дозволить заощадити кошти та придбати лише справді необхідні речі для комфортного й продуктивного навчання школяра.
    • D

      Are Specialist Players More Valuable Than All-Rounders in IPL Cricket?
      • darui  

      3
      0
      Votes
      3
      Posts
      8
      Views

      Possumiss

      Absolutely! All-rounders bring valuable versatility to IPL teams, especially when unexpected situations arise during matches. Although specialist players can strengthen specific departments, having cricketers who excel in multiple roles provides greater tactical freedom. I believe successful teams should prioritise balanced squads rather than relying too heavily on tactical substitution rules.
    • J

      This topic is deleted!
      • johnvbrown  

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • J

      Static IP Requirement for Market Data-Only SmartAPI Application
      • jampigoud  

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • A

      This topic is deleted!
      • airlinetravel  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • T

      NFO options via SmartAPI: SL / SL-M orders, modifyOrder trigger price, and order status after a timeout
      • Tirupathi  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • Chethan

      SmartAPI Historical Candle API Returning HTTP 403 Despite Successful Authentication
      • Chethan  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • R

      Invalid API Key
      • Ratech_240792  

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • W

      How to Access Live NIFTY and BANKNIFTY Option Chain Data Using Python
      • W11681  

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • R

      Historical Candlestick OHLCV data 5Min, Hourly Daily Static IP required or not?
      • rigseo  

      2
      0
      Votes
      2
      Posts
      3
      Views

      M

      @rigseo As of now Static IP is required to access any smartAPI
    • D

      This topic is deleted!
      • deadeyetreacle  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • D

      SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'
      • Deeeepak  

      6
      0
      Votes
      6
      Posts
      28
      Views

      D

      Hi @admin @Moderator_1 @Moderator_2 @Moderator_3 If you are alive, please take action on error Too many requests [E 260928 12:33:13 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData. Error: Too many requests. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '1.1.1.1', 'X-MACAddress': '02:a1:b1:c1:d1:e1', 'Accept': 'application/json', 'X-PrivateKey': 'aXxxxxxx', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NFO', 'symboltoken': '115595', 'interval': 'FIVE_MINUTE', 'fromdate': '2026-09-25 09:15', 'todate': '2026-09-28 12:30'}, Response: {'message': 'Too many requests', 'errorcode': 'AB1021', 'status': False, 'data': None} This error is unresolved from 4-5 months I stopped my live algo just because of these errors. There are so many other users shouting about this error in forum about it.
    • D

      Closing Auction Session(CAS) elment like IEP & Volume related
      • deepakkumar88  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • S

      SmartAPI connectivity issue from VPS
      • Shekkil  

      2
      1
      Votes
      2
      Posts
      12
      Views

      S

      Did you find any solution?
    • S

      Complete fix: AG8004 "Invalid API Key" after successful login + "Primary static IP is already associated with another app"
      • saif859  

      2
      0
      Votes
      2
      Posts
      5
      Views

      B

      Hello, I have the same issue. My existing application: TradingView Auto Primary Static IP: 157.20.240.41 Current test results: generateSession() → SUCCESS getProfile() → SUCCESS getRMS() → AG8004 Invalid API Key getPosition() → AG8004 Invalid API Key searchScrip() → AG8004 Invalid API Key When I try to create a new Trading app using my server IP, the portal says that the Primary Static IP is already associated with another app. Could SmartAPI Admin please check whether my existing TradingView Auto application/API key is a legacy/orphaned app after the April 2026 portal migration? Please also check whether 157.20.240.xxx is still locked to an old/dead application and release/remap it if required. I want to continue with automated MCX trading using the SmartAPI Trading API. Please advise the exact backend action required. Thank you.
    • K

      placeOrder returns HTTP 400 with a completely empty body (no JSON) — reproducible with a real, valid instrument
      • kamlesh364  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • undefined


      •  


      Votes

      Posts

      Views