Module backtesting.test

Data and utilities for testing.

Global variables

var EURUSD

DataFrame of hourly EUR/USD forex data from April 2017 to February 2018.

var GOOG

DataFrame of daily NASDAQ:GOOG (Google/Alphabet) stock price data from 2004 to 2013.

Functions

def SMA(arr, n)

Returns n-period simple moving average of array arr.