Skip to content

Instantly share code, notes, and snippets.

View pratiknabriya's full-sized avatar
💡
Stay Hungry, Stay Foolish!

Pratik Nabriya pratiknabriya

💡
Stay Hungry, Stay Foolish!
View GitHub Profile
@pratiknabriya
pratiknabriya / MA_crossover_strategy_script.py
Created October 9, 2020 15:46
Generating trade signals using moving average(SMA/EMA) crossover strategy.
# import necessary libraries
%matplotlib inline
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import datetime
from tabulate import tabulate
import warnings
warnings.filterwarnings('ignore')
@pratiknabriya
pratiknabriya / tracking_covid19_spread_india.py
Created March 31, 2020 07:10
Scraping the latest statewise data from the official website of Ministry of Health & Family Welfare and turning it into informative visualizations.
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import requests
from bs4 import BeautifulSoup
import geopandas as gpd
from prettytable import PrettyTable
# offical ministry of health website
url = 'https://www.mohfw.gov.in/'