This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import numpy as np | |
import talib | |
from scipy.stats import ks_2samp | |
try: | |
import pandas_datareader.data as web | |
except ImportError: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import pandas as pd | |
from pandas.tseries.offsets import Day, BDay, DateOffset | |
import numpy as np | |
import os | |
import pickle | |
class rollingFuturesContract: | |