Skip to content

maxholloway/Backtest.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backtest.jl

CI

A very simple event-based backtesting platform.

Background

The aim of this project is to have a straightforward strategy for testing equity trading strategies on historical data. Specifically, we aim to satisfy the following properties here:

  1. Testing strategies that use "line" data (data across multiple historical bars for a particular asset) and also "cross-sectional" data (data for a single bar, but multiple assets).
  2. Fast testing.
  3. Simple API.
  4. Extendability.

Any shortcomings of the above goals are a failure of development, and should be raised in this repository's "issues" section.

Usage

Downloading the code

This package is not (yet) in Julia's standard registry. Thus, a simple way to obtain this data would be to clone this repo.

git clone "https://github.com/maxholloway/Backtest.jl/""

Running tests

> cd PATH/TO/REPO/Backtest.jl
> julia # open up julia REPL

# press "]" to enter the package menu

> activate .
> test

Currently this repository is only tested on Julia 1.0, 1.4, and the Julia nightly build in the CI/CD pipeline. If tests fail on your machine, please report this in the issues section.

Getting Started

To get started, it's recommended that you walkthrough the GettingStarted jupyter notebook (located in the examples/ folder). This provides a thorough explanation of the framework interface.

Development Guidelines

This project is in its infancy! Contact me if you'd like to contribute. :)

Questions? Contact me!

Email: [email protected]

About

Very simple event-based backtesting platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages