Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    Log in to post

    Categories

    • Test Category 0
    • Category 8 0
    • test 0
    • Test 61
    • Python SDK 388
    • Bugs 162
    • General Discussion 474
    • NodeJS SDK 31
    • Java SDK 47

    Tags

    • websocket 33
    • migration 28
    • pythonsdk 23
    • api 18
    • historical data 18
    • order placement 11
    • @admin 10
    • totp 8
    • nodejs 7
    • python 7
    • error 5
    • options 5
    • f&o 4
    • curl php 4
    • stoploss market 3
    • post back url 3
    • symbol token 3
    • marketwatch 3
    • buy mtg proxy 3
    • app 2
    • order error 2
    • order status 2
    • future 2
    • automation 2
    • java 2
    • index 2
    • login issue 2
    • websocket2.0 2
    • livemarketfeed 2
    • csharp 2
    • dotnet 2
    • smartapi 2
    • internal 500 1
    • server issue 1
    • nifty 1
    • tradetron use 1
    • blocked 1
    • trading 1
    • newaccount 1
    • userblocked 1
    • ab1020 1
    • invalid order 1
    • robo orders 1
    • eror 1
    • ab1018 1
    • s t for fno 1
    • order punching 1
    • sell order 1
    • poa 1
    • limit order 1
    • module 1
    • async 1
    • asynchronous 1
    • scrip-master 1
    • rate-limit 1
    • timeout 1
    • staticip 1
    • tradebook 1
    • golang 1
    • ask 1
    • bid 1
    • php 1
    • issue 1
    • loginbypassword 1
    • postman 1
    • invalid totp 1
    • ab1050 1
    • f&o 1
    • c sharp 1
    • instruments 1
    • stockquote 1
    • bankniftyspot 1
    • rms block 1
    • nfo 1
    • solution 1
    • base64 1
    • ag8001 1
    • invalidtoken 1
    • greeks 1
    • quantity 1
    • intraday 1
    • gtt 1
    • rms 1
    • csmartapi 1
    • netsdk 1
    • net 1
    • fintech 1
    • integration 1
    • astra 1
    • python3 1
    • mtg proxies 1
    • riftbound 1
    • lab 0
    • billing 0
    • medical 0
    • endocrinology 0
    • services 0
    • canon 0
    • cash app 0
    • glock 19 0
    • H

      cannot login to Smart API to get api key
      General Discussion • • hemanthmarreddy  

      2
      0
      Votes
      2
      Posts
      12
      Views

      A

      @hemanthmarreddy Could be because most brokers do maintenance tasks during night hours.
    • P

      Unable to place Orders
      General Discussion • • Preetham  

      4
      0
      Votes
      4
      Posts
      17
      Views

      A

      @preetham If it's for this specific duration then it could be because of intermittent server outage.
    • B

      I cant able to get the candle data, it throws me the error as "AG8004" - "Invalid API Key"
      NodeJS SDK • • balamurugan  

      2
      0
      Votes
      2
      Posts
      8
      Views

      A

      @balamurugan Read here.
    • P

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

      7
      0
      Votes
      7
      Posts
      16
      Views

      J

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

      Historic API not working
      Test • • whemant  

      35
      15
      Votes
      35
      Posts
      287
      Views

      A

      @algo_trading_50 I tried with the same example, I am able to get my profile data but not able to get historical data
    • L

      orders are not getting executed through the API endpoints, neither the positions are retrieved through the API
      Bugs • • lipupatro  

      3
      0
      Votes
      3
      Posts
      19
      Views

      P

      @admin Facing similar issue , although this is the first time I am trying to place order via SmartAPI. Attaching curl request , replaced my sensitive credentials with placeholder values : curl -X POST "https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/placeOrder" \ -H "Authorization: Bearer AUTH_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "X-UserType: USER" \ -H "X-SourceID: WEB" \ -H "X-ClientLocalIP: 127.0.0.1" \ -H "X-ClientPublicIP: PUBLIC_IP" \ -H "X-MACAddress: MAC_ADDRESS" \ -H "X-PrivateKey: PRIVATE_KEY" \ -d '{ "variety": "NORMAL", "tradingsymbol": "BANKNIFTY30MAR2658300CE", "symboltoken": "52534", "transactiontype": "BUY", "exchange": "NFO", "ordertype": "MARKET", "producttype": "CARRYFORWARD", "duration": "DAY", "quantity": "30", "price": "0", "triggerprice": "0", "disclosedquantity": "0", "ordertag": "test-order", "scripconsent": "yes" }' Getting response as {"success":false,"data":""} No idea on what's wrong , no direction on debugging the same
    • P

      How to get historical expired commodity option chart?
      General Discussion • • parthiban89  

      5
      0
      Votes
      5
      Posts
      12
      Views

      M

      Master Scrip updates everyday ,refreshing tokens for older expiries to new ones. So, if token 123456 is for SILVER FUTURES JAN2026, post its expiry 123456 is allotted to its next expiry which is SILVER FUTURES FEB2026. Hence, you are unable to retrieve historical data for older expiries.
    • S

      Not able to get gainersLosers, PutCallRatio & OIBuildup
      Python SDK • • sanjay09  

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      @sanjay09 Sample code here.
    • P

      Options Chain NIFTY
      General Discussion • • Pandyavarun9  

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      @pandyavarun9 Read here.
    • S

      same ip address for family
      General Discussion • • smohit94  

      5
      0
      Votes
      5
      Posts
      11
      Views

      A

      @smohit94 Try emailing - smartapi@angelbroking.com. If issue doesn't get resolved, try emailing - compliance@angelbroking.com.
    • A

      Unable to create new app
      Test • • arun2282  

      2
      0
      Votes
      2
      Posts
      6
      Views

      A

      @arun2282 Run your algo on a VPS and provide it's IP or subscribe for static IP for your internet connection.
    • R

      Not Able To Create New App
      Bugs • • Renjith  

      4
      0
      Votes
      4
      Posts
      16
      Views

      A

      @Renjith New Login - https://smartapi.angelone.in/publisher-login/v2/login/
    • R

      To datetime can't be greater than current datetime
      Python SDK • • 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
      Python SDK • • sainath  

      3
      0
      Votes
      3
      Posts
      17
      Views

      A

      @sainath You are exceeding your retry attempts
    • R

      Mapping of Smartapi to Demat Account
      General Discussion • • richaty  

      2
      0
      Votes
      2
      Posts
      12
      Views

      A

      @richaty You can sign up again with the with same phone and email id by putting in new client ID
    • M

      BO Order edit not allowed via UI
      Python SDK • • 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 ?
    • S

      Creating API key just for getting data
      General Discussion • • stander  

      2
      0
      Votes
      2
      Posts
      9
      Views

      A

      @stander When creating your app, you can enter your current dynamic IP found via a "What is my IP" search to satisfy the mandatory field.
    • J

      Historical candle glitch
      NodeJS SDK • • jayesh_sapkale  

      2
      0
      Votes
      2
      Posts
      14
      Views

      J

      I think fix ho gaya hai (+10:38) working now Thanks
    • D

      Data download not working
      General Discussion • • diwakarpant16  

      7
      0
      Votes
      7
      Posts
      43
      Views

      D

      @diwakarpant16 FYI now to_datetime has to be set to today's date with time 00:00 to get latest data, otherwise throws error saying to_datetime must be less than current datetime.
    • V

      Not able to create APP. Getting cors error
      General Discussion • • Vinesh 0  

      2
      0
      Votes
      2
      Posts
      11
      Views

      A

      @vinesh-0 Use "New Login" to create the app.