Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. A224819
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    A224819

    @A224819

    0
    Reputation
    23
    Posts
    20
    Profile views
    1
    Followers
    0
    Following
    Joined Last Online

    A224819 Follow

    Best posts made by A224819

    This user hasn't posted anything yet.

    Latest posts made by A224819

    • RE: Historical Data not Pulling prior October 2016 and Getting JSON Error

      @A224819

      Update on the JSON error: I tried to pull the json response code and it pulled 403:
      eb5d0ca1-3271-418b-a1d5-8cd39a87e603-image.png

      It seems to be some issue on AB's server? Can somebody please check?

      Thank you.

      posted in General Discussion
      A224819
      A224819
    • Historical Data not Pulling prior October 2016 and Getting JSON Error

      Hello team,

      I hope you all are well! I have been trying to pull historical data - the 15 minute OHLC to be specific, starting from 2010. However, it seems to be pulling starting from October 2016. I am using Python, if that helps:
      2f269240-43db-4834-9fce-bcf2f8a6bea1-image.png

      I am handling the format of the date correctly - so I am fine there.
      Here is a screenshot of the data pulled:
      15a6ecfa-b501-4225-b1a1-a33680b2e8a4-image.png

      Another issue I have noticed is I have been getting this error from a couple of days:
      7ea0bccd-eaf3-4252-ba73-5608b4738439-image.png

      Can somebody help me solve this issue?

      Thank you!

      posted in General Discussion
      A224819
      A224819
    • Suggestion: CSV or Excel File of Symbols

      Hello team,

      I hope you are well.

      The link to the list of instruments is too heavy for my browser to handle. It crashes every time I try to open it. I have also tried to extract the content of the page to a .txt file using the terminal on my linux machine but even the text editor I use to open this txt file is unable to handle the overwhelming content. I does show the data but with some limitation.

      Suggestion - It would be better if someone could create a CSV file and separate the equity symbols by NSE/BSE or the equity/options symbols.

      Thank you.

      Regards,
      Ahmed

      posted in Python SDK
      A224819
      A224819
    • Pulling Price Data Throws AB2000

      Hello team,

      The code I had been using was working perfectly and has suddenly started misbehaving. I am trying to pull price data and here is what it has suddenly started to give:

      68dbf5ba-56f1-4e0f-838f-5f660b06002e-image.png

      Can someone check why this issue suddenly? It was working well yesterday

      Thank you and best regards.

      posted in Python SDK
      A224819
      A224819
    • RE: Fetching LTP Gives 500 Internal Server Error

      @kaleps
      There were three errors:

      • The Symbol token was incorrect -> refer the link
      • The url used was incorrect -> check the documentation
      • I missed the authorization in the header. -> add to header as shown in the documentaion
      posted in Python SDK
      A224819
      A224819
    • RE: Fetching LTP Gives 500 Internal Server Error

      @admin
      Thanks a ton!

      posted in Python SDK
      A224819
      A224819
    • RE: Fetching LTP Gives 500 Internal Server Error

      Hi @admin

      I have tried doing that. I have copy-pasted your code exactly and still no luck:
      ddc3b130-7280-4f9b-8202-65d576f8e923-image.png

      Kindly assist me with this. It's been days now I am trying to pull LTP.

      You had said earlier that I have to try during market hours, but you did not clarify if the code won't work off-hours. I have tried now and will try the same code tomorrow morning and update a screenshot (which I am sure will still pull 404).

      Thank you.

      posted in Python SDK
      A224819
      A224819
    • RE: Fetching LTP Gives 500 Internal Server Error

      @admin ,

      I have been following the same link you have shared. Here is what i tried today during the trading hours:
      d80aa131-3a74-4e47-9b62-8164c22d8f26-image.png

      22cd6e39-c1d0-4e74-b462-42ab1253ca79-image.png

      Kindly tell me where I am going wrong?

      Please tell me how a working code would look like with the correct parameters. As I follow the documentation, I see we only pass the exchange, trading symbol and the symbol token.

      posted in Python SDK
      A224819
      A224819
    • API Returns Success on Cancel Order but the App Still Shows Pending Order

      Hello @admin :

      After failing to implement the API documentation, I thought of giving the smartapi a shot: in an attempt to test the code, I am trying to cancel the order I had placed on late Thursday (24 Dec) and here is what the code has returned:
      a7bed851-f899-428d-af5d-5264294677c2-image.png

      As you can see the cancellation was successful from the API end, but the app fails to reflect the same:
      367982aa-eac6-4646-a41c-712379ed9172-image.png

      Should I consider this order cancelled or still pending (as the app shows)?

      Appreciate your help 🙂

      posted in Python SDK
      A224819
      A224819
    • RE: Unable to Cancel Order - 404 Error

      FYI: I have also tried the upper case "NORMAL" and still same issue 😞

      posted in Python SDK
      A224819
      A224819