Navigation

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

    pt4rh3

    @pt4rh3

    1
    Reputation
    14
    Posts
    6
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    pt4rh3 Follow

    Best posts made by pt4rh3

    This user hasn't posted anything yet.

    Latest posts made by pt4rh3

    • incorrect package name

      in
      https://github.com/angel-one/smartapi-python/blob/main/setup.py

      packages=["smartapi"],

      it should have been

      packages=["SmartApi"],

      posted in Bugs
      P
      pt4rh3
    • stock option quantity field

      while placing order for stock options,
      what should be the quantity,
      e.g for GRASIM 1900CE
      I want to buy 1 lot
      so quantity should be 1 or 475?

      try:
          orderparams = {
              "variety": "NORMAL",
              "tradingsymbol": tradingsymbol,
              "symboltoken": symboltoken,
              "transactiontype": "BUY",
              "exchange": "NFO",
              "ordertype": "MARKET",
              "producttype": "CARRYFORWARD",
              "duration": "DAY",
              "quantity": "1"
          }
      
      posted in Python SDK
      P
      pt4rh3
    • RE: How to fetch last price (LTP) of multiple instrument in one API Call

      @admin looping through instruments is time consuming it takes around 80 seconds to fetch ltp for 175 instruments, in kite api it takes merely 0.30 seconds, please make the function to fetch ltp for mutliple instruments

      posted in Python SDK
      P
      pt4rh3
    • RE: Fetching Technical Indicators data

      @rajanprabu as per the documentation ap parameter in script feed is Vwap Average Price is it same as vwap indicator?

      posted in General Discussion
      P
      pt4rh3
    • RE: Websocket multiple sessions

      @admin I tried passing 2000 instrument token in single websocket session, and it didnt work,
      received only time feed, (i an using python sdk)

      but it works fine when i pass upto 200 tokens

      what is the ideal limit to pass instrument tokens in single websocket?

      posted in General Discussion
      P
      pt4rh3
    • RE: getting error in websocket

      @nahas_n connect_ws is not predefined method, right?

      posted in Python SDK
      P
      pt4rh3
    • RE: getting error in websocket

      @nahas_n error occurs after streaming some ticks

      posted in Python SDK
      P
      pt4rh3
    • RE: getting error in websocket

      @rajanprabu I don't think there is anything to debug, websocket works fine for few minutes and then error occurs

      I have tried this in flask app
      As well as tried running a single script
      Both time the error happens

      So the issue is at APIs end.

      In upgraded version of websocket there is no option to make it threaded, why?

      posted in Python SDK
      P
      pt4rh3
    • RE: getting error in websocket

      @pt4rh3 @admin @rajanprabu

      posted in Python SDK
      P
      pt4rh3
    • getting error in websocket

      when i start the web socket it works for few minutes and

      then i get following error

      Error info: [WinError 10054] An existing connection was forcibly closed by the remote host
      [WinError 10054] An existing connection was forcibly closed by the remote host
      

      how to resolve this?

      posted in Python SDK
      P
      pt4rh3