Skip to content

Instantly share code, notes, and snippets.

View GrovesD2's full-sized avatar

Danny Groves GrovesD2

View GitHub Profile
import time
import numpy as np
import numba as nb
import pandas as pd
import yfinance as yf
import plotly.graph_objects as go
import plotly.io as pio
pio.renderers.default='svg'
import numpy as np
import pandas as pd
import yfinance as yf
from dtaidistance import dtw
from plotly import graph_objects as go
from plotly.subplots import make_subplots
import plotly.io as pio
pio.renderers.default='svg'
import numpy as np
import pandas as pd
import yfinance as yf
import matplotlib.pyplot as plt
def heat_smooth(
ts: np.array,
h: float,
k: float,
@GrovesD2
GrovesD2 / williams_r.ipynb
Created October 28, 2023 13:39
A backtest and parameter optimisation for the Williams %r strategy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@GrovesD2
GrovesD2 / trend_predictor.ipynb
Created October 29, 2023 17:01
A simple model for predicting today's trend in the SPY
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.