Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Go SDK
    Log in to post

    Go SDK

    • R

      Dial TCP i/o timeout error
      • rakshify  

      5
      0
      Votes
      5
      Posts
      46
      Views

      T

      I have facing api login Error : The Response Content b'{"status":false,"message":"YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007","data":null}' I have enter right client id and password. so, please help.
    • G

      Unable to access Historical Data using golang
      • GudHelp  

      1
      0
      Votes
      1
      Posts
      0
      Views

      No one has replied

    • S

      Golang - For Loop
      • scalent  

      2
      0
      Votes
      2
      Posts
      9
      Views

      M

      Hello @scalent Currently we are not supporting for GoLang.But still we are supporting for pyhton,node and java Regards, SmartAPI Team
    • G

      Unable to connect api using golang
      • GudHelp  

      3
      0
      Votes
      3
      Posts
      15
      Views

      S

      @GudHelp You can use this code func getPublicIp() (string, error) { resp, err := http.Get("https://myexternalip.com/raw") if err != nil { return "", err } content, _ := ioutil.ReadAll(resp.Body) err = resp.Body.Close() if err != nil { return "", err } return string(content), nil }
    • S

      Historical APIs not working
      • softice  

      1
      1
      Votes
      1
      Posts
      16
      Views

      No one has replied

    • A

      Order Type "MARKET" not working
      • alurujawahar  

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • D

      GO SDK For Websocket 2.0
      • don  

      1
      0
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • H

      Historical Data api
      • hashmeet  

      3
      0
      Votes
      3
      Posts
      17
      Views

      S

      @admin I still don't see historical data API even towards end of 2023. Can you please confirm if you plan to add it?
    • S

      Invalid Totp
      • Santoshanand  

      1
      0
      Votes
      1
      Posts
      31
      Views

      No one has replied

    • K

      what password to be used
      • kingshuk  

      3
      0
      Votes
      3
      Posts
      15
      Views

      A

      I used 4 digit MPIN in place of password, it's worked, sharing it incase helpful for others.
    • N

      Invalid feed token or client code on smartapigo
      • nbmaiti  

      4
      1
      Votes
      4
      Posts
      50
      Views

      R

      @admin Thanks for providing the update; Any tentative plan to upgrade the SDK of SmartAPI Go for Websocket2 streams? Github's smartapigo repo has the last commit of Oct 2022. OR We need to make the change in our local code only? Please share some information about this so that we can plan this update in our code.
    • N

      Throwing Invalid token everytime: rest/secure/angelbroking/historical/v1/getCandleData
      • notketo  

      1
      1
      Votes
      1
      Posts
      26
      Views

      No one has replied

    • R

      What is role of multiplier in positions for calculating profit and loss
      • RahulS  

      1
      0
      Votes
      1
      Posts
      24
      Views

      No one has replied

    • ?

      Error while getting lttp response in golang
      • A Former User  

      2
      0
      Votes
      2
      Posts
      13
      Views

      ?

      @patisupa base.HTTP: 2022/10/04 13:31:17 http.go:154: Error parsing JSON response: json: cannot unmarshal string into Go struct field envelope.data of type smartapigo.LTPResponse | {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}
    • ?

      Websocket Didnt Close on socketClient.Close()
      • A Former User  

      2
      0
      Votes
      2
      Posts
      34
      Views

      ?

      @admin please reply
    • A

      TriggerPrice field not present in OrderParams struct
      • akshaynavale20  

      1
      0
      Votes
      1
      Posts
      17
      Views

      No one has replied

    • D

      Websocket streaming for depth not giving quantity
      • dragonzurfer  

      3
      0
      Votes
      3
      Posts
      30
      Views

      A

      @dragonzurfer Please use Websocket 2.0 - https://smartapi.angelbroking.com/topic/1861/user-feedback-websocket-2-0-beta-rollout-python-language?_=1653996853593
    • M

      ltt is NA when subscribed token 26000(NIFTY) and 26009(BANKNIFTY)
      • mangeshraut27  

      2
      0
      Votes
      2
      Posts
      55
      Views

      A

      @mangeshraut27 said in ltt is NA when subscribed token 26000(NIFTY) and 26009(BANKNIFTY): Hi Team, I am using GO library. Can you share how can I fetch ticks for NIFTY and BANKNIFTY? I have added their tokens in feed token but received ltt as NA for this. how can I determine tick time for these tokens? Also, data received for these token contains name: sf. how can I get correct data for these tokens? Mails us your piece of code at api@angelbroking.com
    • K

      GenerateSession and GetUserProfile getting failed each time
      • kkbhatt  

      8
      0
      Votes
      8
      Posts
      35
      Views

      A

      Hi @lavly said in GenerateSession and GetUserProfile getting failed each time: I am getting error while genratesession :- "TypeError: 'NoneType' object is not subscriptable" I am using Google colab. My code was working fine till 10 Dec 2021. Pl help. This has been reported.
    • R

      Error while getting LTP data
      • rakshify  

      4
      0
      Votes
      4
      Posts
      54
      Views

      A

      HI @devendrav this issue has been resolved.