Skip to content

This action runs back tests and generates `returns.csv` and `backtest_results.json` files.

License

Notifications You must be signed in to change notification settings

portfoliotree/backtest-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Backtest Action

See the portfoliotree/factors workflow for an example of using this action.

Example usage

name: Back Test

on:
  push:
    branches: [ "main" ]
    paths-ignore:
      - 'README.md'

jobs:
  back_test:
    name: Run BackTest
    steps:
      - uses: actions/checkout@v3
      - uses: portfoliotree/backtest-action
      - name: Save Artifacts
        uses: actions/upload-artifact@v3
        with:
          name: backtest_results
          path: |
            backtest_results.json
            returns.csv
          retention-days: 2

About

This action runs back tests and generates `returns.csv` and `backtest_results.json` files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published