Artificial Intelligence, Finance, Reinforcement Learning, Data Science, Innovation.
train.py import sys import warnings import pandas as pd import numpy as np from eodhd import APIClient from components import TradingEnv from components import QLearningAgent import config as cfg api = APIClient(cfg.API_KEY) def get_ohlc_data(): df = api.get_historical_data("GSPC.INDX", "d",