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

    • N

      Static IP for market feed and historical data?
      • namit  

      3
      0
      Votes
      3
      Posts
      22
      Views

      V

      @namit check https://smartapi.angelbroking.com/smartapi/forum/topic/5527/urgent-unable-to-generate-api-key-for-market-api-type-and-historic-api-type
    • S

      This topic is deleted!
      • sdrnaikinv  

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • I

      This topic is deleted!
      • incroyale  

      2
      0
      Votes
      2
      Posts
      2
      Views
    • A

      Historical data api not working
      • asif_khan1993  

      13
      0
      Votes
      13
      Posts
      33
      Views

      A

      @diwakarpant16 You can put any IP address in to order to use it for data only purpose.
    • P

      TOTP generated using pyotp is not validating in SmartAPI login (Invalid totp AB1050)
      • P187170  

      7
      0
      Votes
      7
      Posts
      16
      Views

      J

      @algo_trading_50 Thanks a lot for your quick and precise help :)
    • S

      Not able to get gainersLosers, PutCallRatio & OIBuildup
      • sanjay09  

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      @sanjay09 Sample code here.
    • R

      To datetime can't be greater than current datetime
      • rakeshkr114  

      7
      1
      Votes
      7
      Posts
      33
      Views

      G

      @rakeshkr114 just minus 1 minute from to datatime
    • S

      Connection closed due to max retry attempts reached
      • sainath  

      3
      0
      Votes
      3
      Posts
      17
      Views

      A

      @sainath You are exceeding your retry attempts
    • M

      BO Order edit not allowed via UI
      • mahidaparth7  

      11
      0
      Votes
      11
      Posts
      49
      Views

      G

      @mahidaparth7 @admin , Im also facing the same issue. what is the reason and is order executing even if it is not editable ?
    • A

      Error code : AB1004
      • archana  

      3
      0
      Votes
      3
      Posts
      6
      Views

      A

      @algo_trading_50 --Thanks , Its working Today
    • K

      Are there any SLA for the apis?
      • kvineeth  

      2
      0
      Votes
      2
      Posts
      16
      Views

      A

      @kvineeth Having a trading account itself puts you in a SLA. This could be an intermittent issue. Error AB1004, clearly suggest "Internal Server Error" as mentioned in the docs here https://smartapi.angelbroking.com/docs/Exceptions.
    • S

      SmartAPI Session Invalid / Token Expiry Issue – Urgent
      • S237783 0  

      4
      1
      Votes
      4
      Posts
      18
      Views

      A

      @meenavenkit This is an intermittent issue. You can try "Logout from all devices" from the website and can try again. Try with mobile internet on local machine that has new IP everytime to verify if it's an IP related issue.
    • O

      SMART API Session invalid/Token expiry
      • olivenorthfiel  

      1
      0
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • D

      TSL Order Update होने पर भी पहला SL Modify/Cancel न होने की समस्या के समाधान हेतु अनुरोध
      • diwakar  

      2
      0
      Votes
      2
      Posts
      11
      Views

      A

      @diwakar Get all pending orders, https://smartapi.angelbroking.com/docs/Orders#orderbook, filter by "variety": "STOPLOSS" and symboltoken, and cancel all SL orders not matching your sl_order_id.
    • S

      Relation Between exch_seg from instrument json and exchange type in WebSocket API
      • sagargami777  

      2
      0
      Votes
      2
      Posts
      10
      Views

      A

      @sagargami777 Javascript example:: // Reference:: https://smartapi.angelbroking.com/docs/WebSocket2 let ExchangeType = { nse_cm: 1, nse_fo: 2, bse_cm: 3, bse_fo: 4, mcx_fo: 5, ncx_fo: 7, cde_fo: 13 } // Reference: https://smartapi.angelbroking.com/docs/Orders#place let ExchangeMap = { BSE: 'bse_cm', NSE: 'nse_cm', NFO: 'nse_fo', MCX: 'mcx_fo', BFO: 'bse_fo', CDS: 'cde_fo' } let exch_seg = 'NSE' console.log(ExchangeType[ExchangeMap[exch_seg]])
    • U

      Option Greeks Option Greeks Delta(Δ), Gamma (Γ), Theta(Θ) an
      • uga19082002  

      2
      0
      Votes
      2
      Posts
      18
      Views

      A

      @uga19082002 BANKNIFTY has monthly expiry only and the mentioned expirydate is incorrect, therefore "No Data Available".
    • P

      How to add stoploss and target in a single order payload
      • pravilraj  

      2
      0
      Votes
      2
      Posts
      20
      Views

      A

      @pravilraj For the time being, you can try storing stoploss and target orders in your trading bot database locally and subscribing to market data feed of the instrument. Often has less slippages than bracket orders, if implemented correctly.
    • J

      White Listing IP
      • Jeetu  

      2
      0
      Votes
      2
      Posts
      15
      Views

      A

      @jeetu Local IP can't be whitelisted. Get a static IP from ISP or use server static IP. Create a new API key from "New login" here - https://smartapi.angelone.in/publisher-login/v2/login/
    • S

      Error Code: AB1004, Error Message: "Something Went Wrong, Please Try After Sometime"
      • S237783  

      2
      0
      Votes
      2
      Posts
      6
      Views

      A

      @s237783 Intermittent issue caused by service outage.
    • A

      Frequent API error AB1004
      • abhay15.akshukla 0  

      2
      0
      Votes
      2
      Posts
      4
      Views

      A

      @abhay15-akshukla-0 As mentioned on https://smartapi.angelbroking.com/docs/Exceptions, this is an "Internal Server Error", most probably an intermittent issue because of service disruption.
    • undefined


      •  


      Votes

      Posts

      Views