Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Mnagesh
    • Profile
    • Following 1
    • Followers 17
    • Topics 78
    • Posts 259
    • Best 13
    • Groups 1

    Mnagesh

    @Mnagesh

    I was a professor in computer science and engineering having 25 years of teaching experience in ECE and CSE together.

    I am in to trading since 12 years - part time after my duty hours mainly in mcx as well as FNO.

    I am having little knowledge in technical analysis and in depth knowledge in my own domain.

    I am intrested in Algo Trading especially in FNO.

    Now I am full time Algo Trader and successfully developed my own Apps for my personal use.

    13
    Reputation
    209
    Profile views
    259
    Posts
    17
    Followers
    1
    Following
    Joined Last Online
    Location Mysuru

    Mnagesh Unfollow Follow
    SmartAPI Group

    Best posts made by Mnagesh

    • getCandleData delay by 75 seconds to 90 sconds

      angel delay1.jpg
      @admin
      @administrators
      We are getting candle data almost more than 75 seconds delay.

      just check the image for reference

      I tried to get a candle at 14:15

      but I got the candle at 14:16:16

      it will be delayed by 75 seconds to 95 seconds in most of the time .

      I started looping at every 10 sec from 14:15 to observe the last candle data and ultimately I received the candle at 14:16:16 instead of 14:15 . It is a delay of 75 sec in this case.

      posted in Python SDK
      Mnagesh
      Mnagesh
    • I think they are changing or updating the script master

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

      I think they are changing or updating the script master

      if so please inform because we cannot work if any changes .

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: challenges using Smartapi

      @Mnagesh

      Main challenges I am facing are :

      1. Gap up or gap down opening - On that day the market goes sideways for sure .
      2. Range Bound or sideways
      3. Spikes are danger
      4. spike followed by reverse spike is too danger (Immediate next candle !)
      5. Most of my trade goes lose between 11:00 to 12: 30 in Nifty Future

      signals works only in trending market.
      Trend occurs only once in a wile and remaining all 5 cases it goes lose !!!

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: challenges using Smartapi

      @falconTrader I am happy at least your are interested in discussion. Most of the many are least bothered . Including @admin wont reply even if some technical issues were there or we brought it to @admin notice.

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: Query Regarding Stock Symbol Token Changes

      @Malav it is better to download script master once in a week may be every Saturday or at least once in a month so that the symbols and tokens we get the updated ones

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: time frame

      @ramk Thank You
      may get more frequent signal
      more signals means more we pay for brokerage
      Also we get more fake signals

      which Technical Analysis tool you are using ? like moving average, MACD, RSI or some thing else ?

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: Delayed response by 2 min

      @vivekruhela Yes delay is there from 70 to 90 seconds in Historical Api to get the candles of any candle size 1, 3, 5 or 10 etc....

      Since I am using I am observing delay . I informed to angel few time but the issue remained same.

      I am looking for Market Api Data providers but they are too costly.

      so I am continuing with the same delayed data as I am still in the experimenting stage .

      once my algorithm are satisficed I may go for subscribing commercial market data providers .

      @admin

      posted in Python SDK
      Mnagesh
      Mnagesh
    • RE: getCandleData delay by 75 seconds to 90 sconds

      @Mnagesh ![alt text](t1.jpg image url)

      Still we get 70 to 90 sec delayed candles
      @admin

      posted in Python SDK
      Mnagesh
      Mnagesh
    • List of all Smartapi functions in Python

      There are around 30 functions provided by SmartApi :

      I am exploring all of them here.

      Thought May be useful for someone.

      if any one need to explore any particular function one can start the new thread in the python group .

      #########################################


      def cancelOrder(self, order_id,variety):
          orderResponse= self._postRequest("api.order.cancel", {"variety": variety,"orderid": order_id})
          return orderResponse
      

      def convertPosition(self,positionParams):
          params=positionParams
          for k in list(params.keys()):
              if params[k] is None:
                  del(params[k])
          convertPositionResponse= self._postRequest("api.convert.position",params)
      
          return convertPositionResponse
      

      def generateSession(self,clientCode,password,totp):
          
          params={"clientcode":clientCode,"password":password,"totp":totp}
          loginResultObject=self._postRequest("api.login",params)
          
          if loginResultObject['status']==True:
              jwtToken=loginResultObject['data']['jwtToken']
              self.setAccessToken(jwtToken)
              refreshToken=loginResultObject['data']['refreshToken']
              feedToken=loginResultObject['data']['feedToken']
              self.setRefreshToken(refreshToken)
              self.setFeedToken(feedToken)
              user=self.getProfile(refreshToken)
          
              id=user['data']['clientcode']
              #id='D88311'
              self.setUserId(id)
              user['data']['jwtToken']="Bearer "+jwtToken
              user['data']['refreshToken']=refreshToken
      
              
              return user
          else:
              return loginResultObject
      

      def generateToken(self,refresh_token):
          response=self._postRequest('api.token',{"refreshToken":refresh_token})
          jwtToken=response['data']['jwtToken']
          feedToken=response['data']['feedToken']
          self.setFeedToken(feedToken)
          self.setAccessToken(jwtToken)
      
          return response
      

      def getCandleData(self,historicDataParams):
          params=historicDataParams
          for k in list(params.keys()):
              if params[k] is None:
                  del(params[k])
          getCandleDataResponse=self._postRequest("api.candle.data",historicDataParams)
          return getCandleDataResponse
      

      def getProfile(self,refreshToken):
          user=self._getRequest("api.user.profile",{"refreshToken":refreshToken})
          return user
      

      def getUserId():
          return userId
      

      def getfeedToken(self):
          return self.feed_token
      

      def gttCancelRule(self,gttCancelParams):
          params=gttCancelParams
          for k in list(params.keys()):
              if params[k] is None:
                  del(params[k])
          
          #print(params)
          cancelGttRuleResponse=self._postRequest("api.gtt.cancel",params)
          #print(cancelGttRuleResponse)
          return cancelGttRuleResponse
      

      def gttCreateRule(self,createRuleParams):
          params=createRuleParams
          for k in list(params.keys()):
              if params[k] is None:
                  del(params[k])
      
          createGttRuleResponse=self._postRequest("api.gtt.create",params)
          #print(createGttRuleResponse)       
          return createGttRuleResponse['data']['id']
      

      def gttDetails(self,id):
          params={
              "id":id
              }
          gttDetailsResponse=self._postRequest("api.gtt.details",params)
          return gttDetailsResponse
      

      def gttLists(self,status,page,count):
          if type(status)== list:
              params={
                  "status":status,
                  "page":page,
                  "count":count
              }
              gttListResponse=self._postRequest("api.gtt.list",params)
              #print(gttListResponse)
              return gttListResponse
          else:
              message="The status param is entered as" +str(type(status))+". Please enter status param as a list i.e., status=['CANCELLED']"
              return message
      

      def gttModifyRule(self,modifyRuleParams):
          params=modifyRuleParams
          for k in list(params.keys()):
              if params[k] is None:
                  del(params[k])
          modifyGttRuleResponse=self._postRequest("api.gtt.modify",params)
          #print(modifyGttRuleResponse)
          return modifyGttRuleResponse['data']['id']
      

      def holding(self):
          holdingResponse= self._getRequest("api.holding")
          return holdingResponse
      

      def login_url(self):
          """Get the remote login url to which a user should be redirected to initiate the login flow."""
          return "%s?api_key=%s" % (self._login_url, self.api_key)
      

      def ltpData(self,exchange,tradingsymbol,symboltoken):
          params={
              "exchange":exchange,
              "tradingsymbol":tradingsymbol,
              "symboltoken":symboltoken
          }
          ltpDataResponse= self._postRequest("api.ltp.data",params)
          return ltpDataResponse
      

      def modifyOrder(self,orderparams):
          params = orderparams
      
          for k in list(params.keys()):
              if params[k] is None:
                  del(params[k])
      
          orderResponse= self._postRequest("api.order.modify", params)
          return orderResponse
      

      def orderBook(self):
          orderBookResponse=self._getRequest("api.order.book")
          return orderBookResponse
      

      def placeOrder(self,orderparams):
      
          params=orderparams
         
          for k in list(params.keys()):
              if params[k] is None :
                  del(params[k])
          
          orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
      
          return orderResponse
      

      def position(self):
          positionResponse= self._getRequest("api.position")
          return positionResponse
      

      def renewAccessToken(self):
          response =self._postRequest('api.refresh', {
              "jwtToken": self.access_token,
              "refreshToken": self.refresh_token,
              
          })
         
          tokenSet={}
      
          if "jwtToken" in response:
              tokenSet['jwtToken']=response['data']['jwtToken']
          tokenSet['clientcode']=self. userId   
          tokenSet['refreshToken']=response['data']["refreshToken"]
         
          return tokenSet
      

      def requestHeaders(self):
          return{
              "Content-type":self.accept,
              "X-ClientLocalIP": self.clientLocalIp,
              "X-ClientPublicIP": self.clientPublicIp,
              "X-MACAddress": self.clientMacAddress,
              "Accept": self.accept,
              "X-PrivateKey": self.privateKey,
              "X-UserType": self.userType,
              "X-SourceID": self.sourceID
          }
      

      def rmsLimit(self):
          rmsLimitResponse= self._getRequest("api.rms.limit")
          return rmsLimitResponse
      

      def setAccessToken(self, access_token):
      
          self.access_token = access_token
      

      def setFeedToken(self,feedToken):
          
          self.feed_token=feedToken
      

      def setRefreshToken(self, refresh_token):
      
          self.refresh_token = refresh_token
      

      def setSessionExpiryHook(self, method):
          if not callable(method):
              raise TypeError("Invalid input type. Only functions are accepted.")
          self.session_expiry_hook = method
      

      def setUserId(self,id):
          self.userId=id
      

      def terminateSession(self,clientCode):
          logoutResponseObject=self._postRequest("api.logout",{"clientcode":clientCode})
          return logoutResponseObject
      

      def tradeBook(self):
          tradeBookResponse=self._getRequest("api.trade.book")
          return tradeBookResponse
      

      posted in Python SDK
      Mnagesh
      Mnagesh
    • master script nothing inside today ?

      ce742728-c668-4129-af51-679558166f5a-image.png

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

      posted in Test
      Mnagesh
      Mnagesh

    Latest posts made by Mnagesh

    • RE: option Greeks

      @admin VEDL

      i am unable to upload image here - which would have given better clarity

      anyhow you can check the greeks with angel one vs sensibull by yourself and understand that the greeks provided by angel is wrong ones !!!

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: option Greeks

      @admin
      no reply from admin

      posted in General Discussion
      Mnagesh
      Mnagesh
    • option Greeks

      @admin
      I suspect the option Greeks provided by angel one is accurate and correct value ?

      I checked with sensibull and angel - they both differ and difference is huge .

      some one should let us know which one is accurate .

      if i use smatrapi to get option Greeks... it may be erroneous as per sensibull and opastra

      is there any way we can check the accurecy of angel one ?

      posted in General Discussion
      Mnagesh
      Mnagesh
    • is option greeks provided by angel is accurate ?

      i am observing the option greeks provided by Angel One is not matching with the sensibul and it is not matching with the opstra too.

      sensibul and opstra are providing correct values it seems and they both are in sync and matching.

      The Option Greeks values provided by angelone in mobile app is totally different and i suspect the values are correct or not !!!

      kindly some one should verify those values .

      we cannot implement/relied depending on angel one greeks values, especially implementing algos depending on suspected values .

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: Symbol Token

      @dipankar

      1. get Json data
      2. convert it into dataframe
      3. apply filter
      posted in Python SDK
      Mnagesh
      Mnagesh
    • RE: Greeks - Delta is it accurate by Angel one ?

      @admin did you checked? greeks are not accurate .
      so we cannot depend on greeks provided by smartapi .

      posted in Python SDK
      Mnagesh
      Mnagesh
    • RE: HOW CAN A SUB BROKER GIVE CODING SERVICES

      @s2108014

      create an app with user log in.

      Single program you cannot have multiple logins .

      you need to create a different individual thread for each individual client.

      posted in General Discussion
      Mnagesh
      Mnagesh
    • RE: Greeks - Delta is it accurate by Angel one ?

      @admin
      not checked with smartapi values yet

      posted in Python SDK
      Mnagesh
      Mnagesh
    • Greeks - Delta is it accurate by Angel one ?

      I am not sure the Angel app gives the accurate Greeks values .

      I checked with sensibull and Angelone - it seems sensibull is giving the accurate values .

      today i took screen sort of both of them around 3:02 foe VEDL 25 NOV 2025 CE 550 strike option and found the value we found in sensibull is differ from Angelone mobile app .

      delta 2.jpeg

      delat.jpg

      posted in Python SDK
      Mnagesh
      Mnagesh
    • lost charts study templates

      I lost all my charts study templates.

      There is no proper response from angel one .

      this might have been happen due to recent mobile app update from play store .

      screenshot angel app.jpeg

      posted in General Discussion
      Mnagesh
      Mnagesh