Navigation

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

    Posts made by sajy

    • live data feed on websocket2

      is there any one getting live data in python thru smartwebsocket2?
      i have tried to put token =3045 in parse_binary _data and changed
      def _parse_token_value(binary_packet):
      token = ""

          for i in range(len(binary_packet)):
              if binary_packet[i] == b'\x00':
                  print(binary_packet)
                  return token
              token += binary_packet[i].encode("UTF-8")
          print(token)    
          return token
      

      but result i get is
      In on pong function==> b'\x00'
      In on pong function==> b'\x00'
      In on pong function==> b'\x00'

      any help will be highly appriciated

      posted in Python SDK
      S
      sajy
    • RE: Websocket 2.0

      @rajanprabu same here now. any solution??

      posted in Python SDK
      S
      sajy
    • RE: unable to log in J46494

      @admin now waas able to start my api journey due to your ready code. the above problem happened purhaps i was trying publisher api log in,-- while i had created trading api. problem solved for now. Thanks

      posted in General Discussion
      S
      sajy
    • RE: unable to log in J46494

      @admin yes

      posted in General Discussion
      S
      sajy
    • RE: unable to log in J46494

      @sajy
      bf37b576-3983-4e53-8e03-ca2f3c71a0ca-image.png

      posted in General Discussion
      S
      sajy
    • RE: unable to log in J46494

      @admin no response comes
      c300eed3-62d6-4e1d-9912-a795b970a59c-image.png

      posted in General Discussion
      S
      sajy
    • unable to log in J46494

      Re: unable to log in.
      when i tried to log in no response comes. only one circile rotates and goes off.

      posted in General Discussion
      S
      sajy
    • RE: Instrument master fields interpretation

      @admin can paise value be two digit after dot or 6 digit after dot? as admin are you convinced of reply from coding team?? ask coding team to accept error and not fool around.ask them to code placing only two digit after dot seperator.the coding needs to be corrected. we are not fools.

      google --How do I fix decimal places in Python?

      posted in Python SDK
      S
      sajy
    • RE: Instrument master fields interpretation

      @admin it seems since admin is generally non coder he cant understand problem faced in coding.

      posted in Python SDK
      S
      sajy
    • RE: FAQ: Smart API

      @rajanprabu
      ading to above i can say inodin there was data feed available as: toexcel.
      this is same.
      but additional features are you can legally place order thru algo.and get other data from angel server.like open position, trade book.
      one has to pay extra to people like tradetron.
      or you can get front end done by some one like streamlit, backtrader, open source python library.

      its all about machine algo trading. fast and furious!!!

      posted in General Discussion
      S
      sajy
    • RE: Error while placing order

      getting error while placing order' string indices must be integers.
      using sample.py

      posted in Python SDK
      S
      sajy
    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      @admin pl migrate J46494

      posted in General Discussion
      S
      sajy
    • RE: NameError: name 'true' is not defined

      @admin yes this is bbug . pl. remove

      posted in Python SDK
      S
      sajy
    • RE: Unable to login

      @Sailash
      remove 'or true' from file smart connect py line 244

      posted in General Discussion
      S
      sajy
    • RE: Unable to login

      @Sailash
      just type this in your browser https://smartapi.angelbroking.com/publisher-login?api_key=xxx
      you get log in page.
      use api keys generated by you at xxx.
      will see log in page

      posted in General Discussion
      S
      sajy
    • please migrate J46494 for smart api trial

      @admin pl transfer this code for smart api so i can start experimenting.

      posted in General Discussion
      S
      sajy