Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. shahnawaz.pe
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 9
    • Best 0
    • Groups 0

    shahnawaz.pe

    @shahnawaz.pe

    1
    Reputation
    3
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    shahnawaz.pe Unfollow Follow

    Latest posts made by shahnawaz.pe

    • Historical type app active hai, Python SmartApi SDK se login OK, lekin getCandleData pe errorCode: AG8001

      “Historical type app active hai, Python SmartApi SDK se login OK, lekin getCandleData pe errorCode: AG8001 (Invalid Token) aa raha hai. Kya mere client ID ke liye Historical Data enable hai? Historical app ke liye correct headers / flow kya hai?”
      ​

      posted in Test
      S
      shahnawaz.pe
    • Get all your historical transactions for a stock

      Is there any API to fetch all my historical transactions for a stock. All the BUY and SELL transactions. On the web UI i could find an internal API https://trade.angelbroking.com/Equity/GetTransactions.

      Can this be considered as a Feature request if not already supported?

      posted in General Discussion
      S
      shahnawaz.pe
    • RE: Selling stocks via SmartAPI & doubts regarding websockets

      @rajanprabu said in Selling stocks via SmartAPI & doubts regarding websockets:

      Not sure what are you asking here.. You want to do algo trading right ??
      I would recommend spend some time reading about it. This is a technical forum to raise questions about usage. Your questions are beyond the scope of it.

      Will check more about algo trading. Thanks.

      posted in General Discussion
      S
      shahnawaz.pe
    • RE: Selling stocks via SmartAPI & doubts regarding websockets

      @rajanprabu said in Selling stocks via SmartAPI & doubts regarding websockets:

      Just change the buy to sell, it will sell it for you

      So in this case no need of TPIN and all those things (as we have it in the APP while selling) right?

      posted in General Discussion
      S
      shahnawaz.pe
    • RE: Selling stocks via SmartAPI & doubts regarding websockets

      @admin said in Selling stocks via SmartAPI & doubts regarding websockets:

      https://smartapi.angelbroking.com/docs

      I have been through the docs. I just want to know the correct way to use them,
      I can use websockets and process them in memory lets say frontend app( i am not using any async queuing system like kafka or other) , is it recommended?
      Or should I poll frequently?

      posted in General Discussion
      S
      shahnawaz.pe
    • RE: Selling stocks via SmartAPI & doubts regarding websockets

      @admin said in Selling stocks via SmartAPI & doubts regarding websockets:

      Yo can develop a fully automated rule based system using SmartAPI

      Can you please explain what do you mean by rule based system?
      Is it related to GTT?
      All the examples and docs are demonstrated for BUY transaction but not for SELL. I am not sure if I can place SELL order using API.

      My doubt is whether TPIN and OTP is asked on placing a SELL order via API? I am expecting a YES/NO. I want to be sure before trying it out on my portfolio.

      posted in General Discussion
      S
      shahnawaz.pe
    • Selling stocks via SmartAPI & doubts regarding websockets

      When we use the AngelOne app to sell a stock, we have enter the TPIN and OTP (once for the day).

      So if I use the smart api, do i still have to do these things manually?

      • If yes then I am not sure if I can build a fully automated platform. Can you guys suggest some alternatives? Can we disable TPIN and OTP for the API sell orders?

      How do you guys usually place orders via the smart api?

      Also how do you guys leverage the websockets api? I am trying to have some custom strategy at my end.
      There are two way I am thinking of doing it:

      • use the websockets to continously read and process the data
        (data is continous, i don't want to use any queuing system right now as this will only be a sort of POC. Any good inmemory queuing system for python/nodejs?)
      • poll regularly and apply the strategy(limits issue)

      Thanks

      posted in General Discussion
      S
      shahnawaz.pe
    • RE: How do we get the daily contract notes and store it in a journal.

      @James-Bond Thanks for the prompt response. Appreciate it.
      Is there any other way of getting this information programmatically?

      I am thinking of following two ways:

      1: Check with angel team/ exchange teams if we can get the contract notes in some format (ex: Excel sheet) instead of PDF,

      2: Use some open source libraries which will parse the PDF and extract some tabular data. But I find this soln. unreliable as the format in PDF may change and current pdf parsers are not that accurate.

      Any advice you would like to provide?

      posted in General Discussion
      S
      shahnawaz.pe
    • How do we get the daily contract notes and store it in a journal.

      Are there any APIs to get the contract notes for the day. I know I can parse the PDF of the contract we get but i was hoping if we can get this data in structured format from somewhere.

      Any advice from algo traders on this?

      posted in General Discussion
      S
      shahnawaz.pe