This commit is contained in:
infidel
2022-04-06 14:56:09 +07:00
commit eb3dc17ee6
41 changed files with 4898 additions and 0 deletions

14
backtest.py Normal file
View File

@@ -0,0 +1,14 @@
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
import matplotlib.animation as animation
import yfinance as yf
symbol=yf.Ticker("AAPL")
data=symbol.history(interval="1d",period="1y")
close=data["Close"]
print(close)
plt.plot(close)
plt.show()