Navigation

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

    krunal96

    @krunal96

    5
    Reputation
    62
    Posts
    62
    Profile views
    3
    Followers
    5
    Following
    Joined Last Online

    krunal96 Follow

    Best posts made by krunal96

    • websocket 2.0 not working

      Hi @admin ,
      I have tried to implement websocket 2.0 in nodeJS. It's working fine for few seconds,but after few seconds data is not coming.
      Please check and revert.

      https://smartapi.angelbroking.com/docs/WebSocket2

      posted in General Discussion
      K
      krunal96
    • RMS:Blocked for NON-INTRADAY BO Remarks

      Tried Below mentioned option call :
      {
      "variety": "ROBO",
      "tradingsymbol": "NIFTY22SEP2217550PE",
      "symboltoken": 52677,
      "transactiontype": "BUY",
      "exchange": "NFO",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "price": 54,
      "duration": "DAY",
      "squareoff": 58,
      "stoploss": 51,
      "quantity": 50
      }

      The API got success response along with order Id. But in app, I got below mentioned Error:

      RMS:Blocked for NON-INTRADAY BO Remarks: Bracket order not allowed for non-intraday clients block type: NON-SQROFF

      @rajanprabu @StocksDeveloper @rjbanna @PandaTrade @James-Bond : Can you help me on this?

      posted in Bugs
      K
      krunal96
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      Is websocket 2.0 working? As i am getting only ping data(subscribing to Options). @admin @rajanprabu @StocksDeveloper @rjbanna

      posted in Python SDK
      K
      krunal96
    • RE: TOKEN LIST OF NSE EQ

      Hi @hardip ,

      One can get the list of tokens using the below Link. There is no need to list it down here.

      https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      posted in Python SDK
      K
      krunal96

    Latest posts made by krunal96

    • Tick not working. Getting only tick data of morning

      Hi @admin
      from SmartApi import SmartConnect
      import getpass

      Ask user input securely

      api_key = input("API Key: ").strip()
      client_code = input("Client Code: ").strip()
      password = getpass.getpass("Password: ")
      totp = getpass.getpass("TOTP (6 digits): ").strip()

      Create SmartConnect object

      obj = SmartConnect(api_key=api_key)

      Attempt to generate session

      resp = obj.generateSession(client_code, password, totp)

      Display full response

      print("\nLogin Response:", resp)

      Check and print the Bearer token if login is successful

      if resp.get("status") and resp.get("data") and "jwtToken" in resp["data"]:
      bearer_token = resp["data"]["jwtToken"]
      print("\n✅ Your Bearer Token:")
      print(f"Authorization: Bearer {bearer_token}")
      else:
      print("\n❌ Login failed:", resp.get("message"))
      I have generated the Bearer token using this code but while using it to get historical data it is showing following error
      Candle Data Response:
      {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}
      OI Data Response:
      {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

      posted in General Discussion
      K
      krunal96
    • RE: Were can I find the Angel Library to use Smart Connect in Java?

      @naveen278 You can find here : https://smartapi.angelbroking.com/docs

      posted in General Discussion
      K
      krunal96
    • RE: User Feedback - WebSocket 2.0 Beta Rollout – Python Language

      Is websocket 2.0 working? As i am getting only ping data(subscribing to Options). @admin @rajanprabu @StocksDeveloper @rjbanna

      posted in Python SDK
      K
      krunal96
    • websocket 2.0 not working

      Hi @admin ,
      I have tried to implement websocket 2.0 in nodeJS. It's working fine for few seconds,but after few seconds data is not coming.
      Please check and revert.

      https://smartapi.angelbroking.com/docs/WebSocket2

      posted in General Discussion
      K
      krunal96
    • RE: RMS:Blocked for NON-INTRADAY BO Remarks

      @rajanprabu Sure. Will check on this. Thank you.

      posted in Bugs
      K
      krunal96
    • RMS:Blocked for NON-INTRADAY BO Remarks

      Tried Below mentioned option call :
      {
      "variety": "ROBO",
      "tradingsymbol": "NIFTY22SEP2217550PE",
      "symboltoken": 52677,
      "transactiontype": "BUY",
      "exchange": "NFO",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "price": 54,
      "duration": "DAY",
      "squareoff": 58,
      "stoploss": 51,
      "quantity": 50
      }

      The API got success response along with order Id. But in app, I got below mentioned Error:

      RMS:Blocked for NON-INTRADAY BO Remarks: Bracket order not allowed for non-intraday clients block type: NON-SQROFF

      @rajanprabu @StocksDeveloper @rjbanna @PandaTrade @James-Bond : Can you help me on this?

      posted in Bugs
      K
      krunal96
    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      @admin Any update on this? Let me know once the migration process is done at your end.

      posted in General Discussion
      K
      krunal96
    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      Hi @admin ,

      Request you to migrate account: V74441.

      Also have submitted the google form for the same.

      posted in General Discussion
      K
      krunal96
    • RE: Heikin Ashi Chart ?

      Hi @sekharmullu

      Please find below the formula to create the Heikin-Ashi chart.

      https://school.stockcharts.com/doku.php?id=chart_analysis:heikin_ashi#:~:text=The first Heikin-Ashi close,Ashi low equals the low.

      posted in General Discussion
      K
      krunal96
    • RE: What is GTT

      Hi @admin ,

      Can we have OCO (One Cancels Other) feature for GTT? This feature is available in zerodha. Do you have any roadmap for this feature?

      Thank you

      posted in General Discussion
      K
      krunal96