Mostly R and python based code for stock market prediction