Navigation

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

    Posts made by rahul4019

    • Historical API returns JUN contract when JUL month is expected

      Hi,
      I’m trying to retrieve the July Nifty futures contract data. However, I noticed that for the days prior to the June expiry, the Open, High, Low, and Close values correspond to the June contract instead of the July contract.

      Could you please clarify if this is the expected behavior, or is there a way to retrieve the July contract data for those days?

      posted in Python SDK
      R
      rahul4019
    • RE: Calculate Margin Requirements with SmartAPI's New Margin Calculator API

      @admin
      Can you tell me if the Margin API output considers current positions as well ?

      posted in General Discussion
      R
      rahul4019
    • BANKEX strikes are not allowed to get through even if it is near ATM

      Hello @admin ,
      I am trying to sell 56700CE Bankex option , However i get this error from angel-
      70b81ecf-960f-401c-ab22-fc1bbaabc509-image.png

      Could you please let me know what is wrong here. I am sure other brokers haven't seen this error as per my trading circle?
      Why are you restricting trading in these strike prices 56600 CE also same issue?

      posted in General Discussion
      R
      rahul4019
    • RE: Time out error for LTP api

      Again I get this error today=
      equests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getOrderBook?%7B%7D (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f2cc7a6aeb0>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))
      -sh-4.2$ source ./run

      posted in General Discussion
      R
      rahul4019
    • RE: Time out error for LTP api

      @Moderator_3
      Even today i am seeing the error.

      Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getOrderBook?%7B%7D (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f75616c6250>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))

      Please check this is not expected.

      posted in General Discussion
      R
      rahul4019
    • Time out error for LTP api

      HI @admin @Moderator_1 ,

      I am getting read time out error when i try to get the LTP of an instrument.

      Please check the message below-
      Request: {'mode': 'LTP', 'exchangeTokens': {'NFO': ['50955']}}, Response: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Read timed out. (read timeout=7)

      posted in General Discussion
      R
      rahul4019
    • RE: Need to get token number of symbol in bankex

      @Moderator_1
      yes I figured that out. NFO and BFO segments has different naming convention.

      posted in Python SDK
      R
      rahul4019
    • Need to get token number of symbol in bankex

      Hi,
      I am not getting the token number for bankex-
      'tradingsymbol': 'BANKEX2470860100CE'

      Kindly guide me what to do.

      posted in Python SDK
      R
      rahul4019
    • Do you have facility to get option chain of any index?

      I want to get the option chain of index, say nifty, bankex , midcapnifty etc.
      Do you have any api that supports this kind of request. It is becoming tedious to get this data manually.

      posted in General Discussion
      R
      rahul4019
    • Bankex orders not going through for more than 4 lots

      I am doing the 0DTE expiry for Bankex.
      But i get this error on placing order for 7 lot options.
      be808d21-6a70-4b9d-a710-0caa2efd8413-image.png

      Why is this error coming in Angel broking. Why only restricted to 4 lots?
      There is no such error in other broking platforms.

      posted in General Discussion
      R
      rahul4019
    • RE: Historical data for options

      @PandaTrade
      yes i am able to get the data response. There was a mistake by my side by giving symbol name instead of symbol token

      posted in General Discussion
      R
      rahul4019
    • RE: Historical data for options

      @Moderator_1
      I Get this error after i was trying this around 9-11 PM in the night.
      2024-06-24 22:25:36,346 — smartapi.smartConnect — INFO — _request:163 — _request method used-POST route=api.candle.data and time-22:25:36.346727
      {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
      {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}

      posted in General Discussion
      R
      rahul4019
    • RE: Historical data for options

      @athul_4554 @Moderator_1 . Is this available for Index options too ? I think that is my request here. I want to get the historical data of ATM options of NIFTY. Is that available.

      posted in General Discussion
      R
      rahul4019
    • RE: Historical data for options

      @admin Any update on this request.. Its been long time since we are requesting this feature.

      posted in General Discussion
      R
      rahul4019
    • position API often fails.

      I get the following most of the times when i used the position API.

      Can you please explain

      requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='apiconnect.angelbroking.com', port=443): Max retries exceeded with url: /rest/secure/angelbroking/order/v1/getPosition?%7B%7D (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f3f009d1610>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))

      posted in General Discussion
      R
      rahul4019
    • RE: Change in Margine requirment?

      @admin Could please let us know if it only in Angel Broking or among all the brokers.. How can the margin requirement change overnight?
      Am i missing any SEBI notification?

      posted in General Discussion
      R
      rahul4019
    • Change in Margine requirment?

      Is there any change in margine requirement for FNO?

      posted in General Discussion
      R
      rahul4019
    • AB2001

      i am getting this AB2002 Error code. And description says try after some time.
      I am not sure why Angel is not able to handle such situation

      posted in General Discussion
      R
      rahul4019
    • RE: Upgraded SmartAPI Libraries to Support WebSocket 2.0 - Python, Java SDK and Node.js Library

      @admin said in Upgraded SmartAPI Libraries to Support WebSocket 2.0 - Java SDK and Node.js Library:

      e are excited to announce the release of updated SmartAPI libraries that now fully support WebSocket 2.0, further enhancing your trading experience. The latest versions of the SmartAPI Java SDK (2.1.0) and the SmartAPI Node.js Library (1.0.15) incorporate WebSocket 2.0 implementation, ensuring faster market data updates, reduced latency, and improved overall performance.
      Key Features and Enhancements:
      WebSocket 2.0 Support: With the upgraded SmartAPI libraries, you can now take advantage of WebSocket 2.0, enabling faster real-time data streaming and an enhanced trading experience. WebSocket 2.0 offers improved performance, lower latency, and more efficient data updates.

      what about python libraries.

      posted in General Discussion
      R
      rahul4019
    • RE: Connection timed out error

      @vivekjha05 yes for me also around that time.

      posted in General Discussion
      R
      rahul4019