Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Sample Working Code Java

    NodeJS SDK
    2
    3
    147
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RajSingh last edited by

      Can someone provide sample working java code to establish a connection and fetch LTP for any scrip? While initializing SmartConnect what do we provide values for client_code and password?

      R 1 Reply Last reply Reply Quote 0
      • R
        RajSingh @RajSingh last edited by

        @parvind said in Sample Working Code Java:

        Can someone provide sample working java code to establish a connection and fetch LTP for any scrip? While initializing SmartConnect what do we provide values for client_code and password?

        I am facing following error message:

        jsonObject: {"data":null,"message":"USER IS BLOCKED FOR TRADING","errorcode":"AB1007","status":false}
        SmartAPIException [message=USER IS BLOCKED FOR TRADING, code=AB1007]

        clientCode = A259662

        A 1 Reply Last reply Reply Quote 0
        • A
          admin @RajSingh last edited by

          @parvind

          Hi, please share your client ID on this thread https://smartapi.angelbroking.com/topic/33/your-user-id-or-password-is-invalid-errorcode-ab1007/6

          1 Reply Last reply Reply Quote 0
          • First post
            Last post