Die Suche ergab 1 Treffer

von irina_shubina
Freitag 26. November 2021, 17:09
Forum: Allgemeine Fragen
Thema: Moving average strategy
Antworten: 2
Zugriffe: 569

Moving average strategy

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
plt.style.use ('fivethirtyeight')

pd.set_option("display.max_rows", 1000)

# Import yfinance package
import yfinance as yf

# Set the start and end date
start_date = '2010-01-02'
end_date = '2020-01-01'
cash = 10000

# Set the ...