Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • P

      Unable to place Orders
      General Discussion • • Preetham

      4
      0
      Votes
      4
      Posts
      15
      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
      16
      Votes
      35
      Posts
      281
      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
      16
      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
      7
      Views

      A

      @sanjay09 Sample code here.

    • P

      Options Chain NIFTY
      General Discussion • • Pandyavarun9

      2
      0
      Votes
      2
      Posts
      8
      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
      32
      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
      48
      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.

    • S

      AG8001 Invalid Token even with fresh login
      Test • • shahnawaz.pe 0

      2
      -1
      Votes
      2
      Posts
      14
      Views

      A

      @shahnawaz-pe-0 SmartConnect is not using "X-API-Key" header. https://github.com/angel-one/smartapi-python/blob/main/SmartApi/smartConnect.py#L153. Correct the header and it will work.