Navigation

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

    Topics created by rishi6310

    • R

      how to use arrange websocket data
      General Discussion • • rishi6310  

      9
      0
      Votes
      9
      Posts
      60
      Views

      A

      @rishi6310: I suggest following this https://www.analyticsvidhya.com/blog/2020/07/read-and-update-google-spreadsheets-with-python/ Not very detailed, so you might have to read more from the Google API OAuth system. I cannot share code because I don't have it on me. Quick Github search might help too. I might code such a system but it's not on my priority list currently. I hope you find what you're looking for.
    • R

      access token
      General Discussion • • rishi6310  

      2
      0
      Votes
      2
      Posts
      13
      Views

      A

      Hi @rishi6310 said in access token: please mention how to place order using access token after it generated and place order only using that in python this has been cleared on call.
    • R

      Token
      General Discussion • • rishi6310  

      16
      0
      Votes
      16
      Posts
      67
      Views

      R

      @admin plz respond to query
    • R

      close specific position
      General Discussion • • rishi6310  

      6
      0
      Votes
      6
      Posts
      36
      Views

      R

      @admin can you provide me piece of code how to filter out and exit position
    • R

      option order is not placing
      General Discussion • • rishi6310  

      6
      0
      Votes
      6
      Posts
      61
      Views

      A

      @rishi6310 send us the request which you executed to take the position and the req which you executed for selling.
    • R

      websocket
      General Discussion • • rishi6310  

      2
      0
      Votes
      2
      Posts
      41
      Views

      A

      @rishi6310 you can pass one task at a time.
    • R

      drag and drop
      General Discussion • • rishi6310  

      3
      0
      Votes
      3
      Posts
      13
      Views

      A

      Hi @rishi6310 This is complete user specific requirement you need to develop own piece of code.
    • R

      rate limit
      General Discussion • • rishi6310  

      4
      0
      Votes
      4
      Posts
      224
      Views

      A

      @rishi6310 said in rate limit: i think you are not able to understand my query is there any limit on daily order like zerodha No
    • R

      Reverse order
      General Discussion • • rishi6310  

      6
      0
      Votes
      6
      Posts
      28
      Views

      R

      @admin can you provide code of it in python
    • R

      square off
      General Discussion • • rishi6310  

      3
      0
      Votes
      3
      Posts
      91
      Views

      A

      @rishi6310 This is a complete user specific requirement but you can go through below piece of code for reference and try to write your own piece of code. def closePositionOnStart(position): for i in range(len(position)): pos = position[i] log.info(f'{pos["tradingsymbol"]}, {pos["symboltoken"]}, {pos["netqty"]}, {pos["producttype"]}') if int(pos["netqty"]) == 0: continue elif int(pos["netqty"]) > 0: _transactiontype = "SELL" else: _transactiontype = "BUY" # pprint(pos) orderId = None try: orderparams = { "variety": "NORMAL", "tradingsymbol": pos["tradingsymbol"], "symboltoken": pos["symboltoken"], "transactiontype": _transactiontype, "exchange": "NSE", "ordertype": "MARKET", "producttype": pos['producttype'], "duration": "DAY", "price": 0, "triggerprice": 0, "quantity": abs(int(pos["netqty"])) } log.info(f'{orderparams}') orderId=sapi.placeOrder(orderparams) except Exception as e : log.info(f"Order placement failed: {traceback.print_exc()}") log.info('MESSAGE :: ', e) log.info(f"The order CLOSED is: {orderId}") print('\n') def closeAll(): try: position = sapi.position() pos = position["data"] orderBook = sapi.orderBook() ordb = orderBook["data"] if len(pos) != 0: closePositionOnStart(pos) if len(ordb) != 0: closePendingOrders(ordb) except: log.info('EXCEPTION : IN CLOSING POSITION AT START..!!!') pass
    • R

      account migration
      General Discussion • • rishi6310  

      19
      0
      Votes
      19
      Posts
      39
      Views

      A

      @as999 Post your client id to know the status of migration.
    • R

      what is migrate account
      General Discussion • • rishi6310  

      5
      0
      Votes
      5
      Posts
      15
      Views

      A

      @rishi6310 No
    • R

      how to convert websocket data in candlestick chart
      General Discussion • • rishi6310  

      4
      0
      Votes
      4
      Posts
      46
      Views

      A

      HI @rishi6310 This is a user specific requirement you have to write your own piece of code.
    • R

      not able to generate feedtoken
      General Discussion • • rishi6310  

      2
      0
      Votes
      2
      Posts
      17
      Views

      A

      HI @rishi6310 1)Have you migrated your account..? 2)Are you able to login in to the web based platform using same credentials which you are using here to generate tokens.
    • R

      link api
      General Discussion • • rishi6310  

      5
      0
      Votes
      5
      Posts
      15
      Views

      R

      @admin can you provide contact details