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

      FACING ISSUE WITH MY REGULAR CODE THAT I RUN DAILY. ANYONE ELSE having same isssue?
      Bugs • • prashant_extreme

      2
      0
      Votes
      2
      Posts
      15
      Views

      A

      @prashant_extreme Outside of market hours, this is very common error.

    • A

      Historical data api not working
      Python SDK • • asif_khan1993

      13
      0
      Votes
      13
      Posts
      29
      Views

      A

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

    • A

      TOTP reset
      General Discussion • • ASGK1030

      2
      0
      Votes
      2
      Posts
      11
      Views

      A

      @asgk1030 Read here.

    • N

      Redirection to undefined after logging in
      General Discussion • • naveenkamaraj79

      4
      0
      Votes
      4
      Posts
      21
      Views

      A

      @naveenkamaraj79

      The redirect URL is available for the old API keys only.

      Going forward, the API product will be used by tech savvy users only, and we request the users to use 2FA using login by password API for the same.

    • P

      Regarding market order placement as per new guidelines
      General Discussion • • Preetham

      3
      0
      Votes
      3
      Posts
      17
      Views

      A

      @Preetham you can place market orders in SmartAPI. They will be converted to Limit orders before sending it to the exchanges by MPP.

      But it is better that the user himself sends limit orders so that the algo can predict if the orders are going into pending state.

    • K

      redirect issue
      General Discussion • • keval

      14
      0
      Votes
      14
      Posts
      28
      Views

      A

      @algo_trading_50 In their latest circulars, exchanges have given an option for either OAuth or 2FA login.

    • 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
      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
      275
      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
      15
      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
      10
      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
      15
      Views

      A

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

    • A

      Historical Data of nifty 50 token
      Python SDK • • archana

      2
      0
      Votes
      2
      Posts
      10
      Views

      A

      @archana API does not currently support historical data for expired NFO options contracts.

    • R

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

      7
      1
      Votes
      7
      Posts
      31
      Views

      G

      @rakeshkr114 just minus 1 minute from to datatime