milli

I am a Java & Python developer. I have experience in developing both trading systems and backtest systems including options, equities, futures, commodities, forex and crypto systems. I am also offering my development services. I am open to partnerships as well. PM me for development services / partnerships.

About

Username
milli
Joined
Visits
135
Last Active
Roles
Member

Activity

  • sid2040
    Hi what sort of partnership are you open to ? Algo strategy deployment?
    July 21
    • sid2040
      sid2040
      I am looking for a developer to code a nifty bank nifty strangle and straddle for me
    • milli
      milli
      consider the straddle done. for strangle, would like to know your specifics.
    • milli
      milli
      i can program the straddle such that it takes the trade every day on my server with very little manual intervention and you will also get an email with the details / errors, if any.
  • akashonsn
    Hello , kindly contact me @ 8427835166
    July 8
    • milli
      milli
      hi, just saw your message. it would be best if we had initial discussion over here.
  • npchoubey



    import datetime
    import urllib.request, urllib.parse
    import json

    user_id = "ABCDEF"

    auth_tok = "enctoken NPPEJtGFrDlPfvAP8RhT+Hd1OiSAiW4hcMfUNGHScS1/44+u/w3UdhRRzpMymSAoVCu1b8wVOcqBYIKpJaPvcNGXUDr+HQ=="

    #User-agent depends from which browser we login
    head = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0',
    'authorization': auth_tok }
    def getCandles(inst_id, tf="", frm="", to="", continuous=0):
    today = datetime.datetime.now().strftime("%Y-%m-%d")
    if len(tf) == 0:
    tf = "minute"
    if len(frm) == 0:
    frm = today
    if len(to) == 0:
    to = today
    get_url = 'https://kite.zerodha.com/oms/instruments/historical/' + str(inst_id) + '/' + tf + '?user_id=' + user_id + '&oi=1&from=' + frm + '&to=' + to

    req = urllib.request.Request(get_url, headers=head)
    response = urllib.request.urlopen(req)

    # Convert stream to dict
    string = response.read().decode('utf-8
    April 27
    • milli
      milli
      Thanks. I just read this message. I want to download the Nifty 50 data for the last 5 years. Would this do the job and I won't get blocked?
  • I am a Java & Python developer. I have experience in developing both trading systems and backtest systems including options, equities, futures, commodities, forex and crypto systems.

    I am also offering my development services. I am open to partnerships as well.

    PM me for development services / partnerships.
    June 28
  • npchoubey
    hope this basic code helps to read candles, without subscribing
    April 27
  • mamta
    Hello mam, I am new here using websocket api. In java. Can you please help me . I only need little bit of guidance from you about getting live data . Because I am totaly new here . If you can help plese let me know
    March 12
  • zeeshaanbond
    Hi milli,
    This is Zeeshaan, I am reaching out to you for a mutual deal to share the cost of the Historical data fee of rs. 2000 per month. Assuming if you are subscribed to the history API.
    I am in need of historical daily data of all the NSE and BSE instruments/symbols. Since it is day-wise so for each symbol there should be only 260 rows. The span should be 8 years. Plus some other types of data later.

    What I would propose is that since you are already a user of history API (and I am not), if you could share with me the historical data, then I would pay you Rs. 1000 (50% of the monthly cost).

    This way both of us will get the benefit. Please let me know if you like the deal or if you have any questions.
    January 24
    • milli
      milli
      Sorry, I am not using the historic function.