Navigation

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

    Posts made by Linux Smiths

    • RE: How do I get historical Index Data for NIFTY/SENSEX?

      @Moderator_1 thanks, I understand your point, but I guess what I am looking for is "shares traded" as shown by NSE (https://www.nseindia.com/reports-indices-historical-index-data) for the indices. I think that'd be a more useful value for volume than 0.
      Thanks btw, rest of the APIs work great!

      posted in General Discussion
      L
      Linux Smiths
    • RE: How do I get historical Index Data for NIFTY/SENSEX?

      @Moderator_2 I'm able to fetch historical data for NIFTY50 and other indices, but the volume comes as 0. Is this something you are fixing?

      posted in General Discussion
      L
      Linux Smiths
    • RE: Exit Robo Order Manually

      @admin, nvm I tried it out and I see that we need to cancel the main order (though it's status is complete).

      posted in General Discussion
      L
      Linux Smiths
    • RE: Exit Robo Order Manually

      @admin If it allows cancelling like this then how will the system perform auto-squareoff at 3:10PM, in case I cancel the open legs of the ROBO order but forget to place the reverse order to close the open position (or the reverse order placement fails for some reason). I think the system should not allow cancelling the two open orders for this reason and we need a "close order" API to atomically/correctly do this.

      posted in General Discussion
      L
      Linux Smiths
    • RE: Exiting an order with order_id. (Reverse Order with order_id)

      @admin Related question, how do we do this for a ROBO order where the main order is completed and the two sub-orders are not. Basically this is like squaringoff the order. Unlike the given example, though we can place a new order but we have to cancel the two sub orders, cancelOrder fails.

      posted in Python SDK
      L
      Linux Smiths
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      nvm, I gather that this is the amount of pending buy and sell orders at the Exchange.

      posted in Python SDK
      L
      Linux Smiths
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      What is total_buy_quantity and total_sell_quantity?
      When are they different? I mean whatever is bought is sold as well. Thanks.

      posted in Python SDK
      L
      Linux Smiths
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      @dharm change the function as following

      @staticmethod
      def _parse_token_value(binary_packet):
          token = ""
          binary_packet = binary_packet.decode("UTF-8")
          for i in range(len(binary_packet)):
              if binary_packet[i] == '\x00':
                  return token
              token += str(binary_packet[i])
          return token
      
      posted in Python SDK
      L
      Linux Smiths