Skip to content

apchavan/zerodha-cherrypy

Repository files navigation

Zerodha tasks solutions

CherryPy is simple web application which can list the stocks from yesterday.

This repository has solutions for two tasks from Zerodha:

  • A Python script that:- Downloads the Equity Bhavcopy zip from the above page- Extracts and parses the CSV file in it- Writes the records into Redis into appropriate data structures(Fields: code, name, open, high, low, close).
  • Simple CherryPy python web application that:- Renders an HTML5 + CSS3 page that lists the top 10 stock entries from the Redis DB in a table- Has a searchbox that lets you search the entries by the 'name' field in Redis and renders it in a table.