Navigation

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

    Best posts made by Cyriac

    • Need More Admin Responses

      Dear Traders,

      If you feel that the Admins should respond more to our outstanding queries, please upvote and comment on this post.

      Really, Angel has the potential to become the best broker in India for Algo traders, but there is no follow up and adequate quality control for the API.

      Hoping that Angel will devote more resources to the API Team.

      Regards
      Cyriac

      posted in General Discussion
      C
      Cyriac
    • RE: LTP quote not current`

      @pari @admin @admin123 @administrators

      The data coming from the API is incorrect.

      LTP data is wrong. Instead the closeprice is being returned for ltp.

      What a nightmare! Something like this can wipe out an Algo trader. Within minutes!

      posted in Bugs
      C
      Cyriac
    • RE: LTP quote not current`

      @admin

      Serious Issue

      LTP is coming as Close Price !!!

      print(obj.position()['data'])

      [{'symboltoken': '1594', 'symbolname': 'INFY', 'instrumenttype': '', 'priceden': '1.00', 'pricenum': '1.00', 'genden': '1.00', 'gennum': '1.00', 'precision': '2', 'multiplier': '-1', 'boardlotsize': '1', 'exchange': 'NSE', 'producttype': 'INTRADAY', 'tradingsymbol': 'INFY-EQ', 'symbolgroup': 'EQ', 'strikeprice': '-1.0', 'optiontype': '', 'expirydate': '', 'lotsize': '1', 'cfbuyqty': '0', 'cfsellqty': '0', 'cfbuyamount': '0.00', 'cfsellamount': '0.00', 'buyavgprice': '1395.80', 'sellavgprice': '0.00', 'avgnetprice': '1395.80', 'netvalue': '-1395.80', 'netqty': '1', 'totalbuyvalue': '1395.80', 'totalsellvalue': '0.00', 'cfbuyavgprice': '0.00', 'cfsellavgprice': '0.00', 'totalbuyavgprice': '1395.80', 'totalsellavgprice': '0.00', 'netprice': '1395.80', 'buyqty': '1', 'sellqty': '0', 'buyamount': '1395.80', 'sellamount': '0.00', 'pnl': '-7.00', 'realised': '-0.00', 'unrealised': '-7.00', 'ltp': '1388.8', 'close': '1411.55'}, {'symboltoken': '2885', 'symbolname': 'RELIANCE', 'instrumenttype': '', 'priceden': '1.00', 'pricenum': '1.00', 'genden': '1.00', 'gennum': '1.00', 'precision': '2', 'multiplier': '-1', 'boardlotsize': '1', 'exchange': 'NSE', 'producttype': 'INTRADAY', 'tradingsymbol': 'RELIANCE-EQ', 'symbolgroup': 'EQ', 'strikeprice': '-1.0', 'optiontype': '', 'expirydate': '', 'lotsize': '1', 'cfbuyqty': '0', 'cfsellqty': '0', 'cfbuyamount': '0.00', 'cfsellamount': '0.00', 'buyavgprice': '2542.48', 'sellavgprice': '2544.95', 'avgnetprice': '2517.75', 'netvalue': '-2517.75', 'netqty': '1', 'totalbuyvalue': '27967.25', 'totalsellvalue': '25449.50', 'cfbuyavgprice': '0.00', 'cfsellavgprice': '0.00', 'totalbuyavgprice': '2542.48', 'totalsellavgprice': '2544.95', 'netprice': '2517.75', 'buyqty': '11', 'sellqty': '10', 'buyamount': '27967.25', 'sellamount': '25449.50', 'pnl': '39.02', 'realised': '24.70', 'unrealised': '14.32', 'ltp': '2556.8', 'close': '2538.0'}]

      posted in Bugs
      C
      Cyriac
    • RE: Calculate Margin Requirements with SmartAPI's New Margin Calculator API

      Hi @admin and @Moderator_1 , @Moderator_2

      Just a quick question here. I am looking to be able to calculate the margin for Options via API. The above end point should work fine, but I am wondering how to implement it for Option sell position when an buy position is already open.

      As you are aware, there is a difference in margin calculations for naked sell and covered sell. So please can you give some information regarding this.

      Many Thanks

      Cyriac

      posted in General Discussion
      C
      Cyriac
    • RE: Data Feed for Best Bid Ask Prices

      Hi @admin

      Small Question. How can I read in the API Websocket Data for just the parameters I would like. I am trying to get the LTP, LTQ, Bid & Ask with time stamp into json / csv format file?

      Much Appreciated the Help.

      Cyriac

      posted in Python SDK
      C
      Cyriac