This file contains 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 yfinance as yf | |
import pandas as pd | |
from datetime import datetime, timedelta | |
#from sklearn.ensemble import RandomForestClassifier | |
from sklearn.ensemble import AdaBoostClassifier, RandomForestClassifier | |
from xgboost import XGBClassifier | |
from sklearn.metrics import precision_score, recall_score, f1_score, roc_auc_score, accuracy_score | |
from ta.utils import * | |
from ta.volatility import * |