Navigation

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

    s4ntosh

    @s4ntosh

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

    s4ntosh Unfollow Follow

    Latest posts made by s4ntosh

    • RE: Read Timed out

      Screenshot_1.jpg

      Same happened with me when using get ltp method in a loop.
      Websocket is throwing connection to remote host error so started using get ltp method but even this fails if you are using continuously.

      Force reinstalled the smart api library still no luck.

      @admin any ETA to fix this?

      posted in Test
      S
      s4ntosh
    • RE: Error info: Connection to remote host was lost. Connection to remote host was lost.

      @admin Min of 2, max I have tried is 3 scrips.

      posted in General Discussion
      S
      s4ntosh
    • RE: Error info: Connection to remote host was lost. Connection to remote host was lost.

      @admin Screenshot_10.jpg

      This has happened today at 12:24 again, this time with a different error code

      posted in General Discussion
      S
      s4ntosh
    • RE: Error info: Connection to remote host was lost. Connection to remote host was lost.

      @admin while your team is working on a resolution, please provide a way or a code snippet to reconnect the WebSocket , this will be really helpful as the connection to the host was lost error is coming every now and then.

      posted in General Discussion
      S
      s4ntosh
    • RE: Error info: Connection to remote host was lost. Connection to remote host was lost.

      @admin

      Got the same error today again:

      2021-06-15 10:38:07.204511 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '', 'user': '', 'acctid': ''} (removed acctid and token for privacy issue)
      457.7 10:38:07
      478.4 10:38:08
      Error info: Connection to remote host was lost.
      Connection to remote host was lost.

      posted in General Discussion
      S
      s4ntosh
    • RE: Error info: Connection to remote host was lost. Connection to remote host was lost.

      @admin I have faced the similar issue a while back for crude oil.

      How do I reconnect to the websocket incase of an event like this.

      posted in General Discussion
      S
      s4ntosh
    • RE: Which API to get All positions for an option expiry

      @vamseeds

      https://smartapi.angelbroking.com/docs/Portfolio#position

      You can use the above API call to get your positions.

      Filter only the net positions to get the carry positions and initiate your next steps accordingly.

      Hope that helps!

      posted in General Discussion
      S
      s4ntosh
    • RE: All Strikes not listed for BankNifty

      @admin Can you please fix the strike price format as well? it shows 3610000 instead of 36100.

      Basically extra 00 at the end for every strike.

      Thank you in advance!

      posted in Test
      S
      s4ntosh
    • RE: Which API to get All positions for an option expiry

      @vamseeds Can you elaborate more with an example? I didn't get your question.

      posted in General Discussion
      S
      s4ntosh
    • RE: Technical Indicator

      @athul_4554 You have to pull the historical data for stocks, push that data to a dataframe and get your indicator values using talib library

      posted in General Discussion
      S
      s4ntosh