Web Scraping
It turns out that NSE (National Stock Exchange) site doesn't allow you to download data for more than a year at a time. So it can become quite tedious to extract data for many companies. To avoid that, I wrote a python package which scrapes the data for stocks and indices and returns a panda dataframe. For a detailed analysis :
Code.
BSE (Bombay Stock Exchange) allows data downloads for a longer time period. But downloading it everyday can be problem. To keep your data up to date, you can go through this :
Code. You can set up a cron job for the same.
As a part of my first year internship, I also devised an investment strategy based on moving averages:
Analysis.
Tic-Tac-Toe
A simple 3x3 game which always makes the optimal move as first and second player. The UI is in curses and uses a minimax algorithm to get the best move. If played optimally, the game always ends in a draw. I know it got you thinking, for a detailed explanation and the code click
here.
Word Predictor
Given a word,it predicts 5 next closest words. It uses a data structure called trie (fancy term for a tree full of alphabets) and BFS . Written in C++. Deterministic algorithm and no ML involved. Nice, right? For a detailed analysis :
Code.
Codavaj
As the name suggests, it is the opposite of a javadoc. It uses the javadoc to generate the template for files. It uses beautifulsoup to parse the data and generate the text. For a detailed analysis :
Code.
Data Structures
A set of data structures and algorithms, that I use often. I'm sure you'll find them interesting :
Code.