8000 GitHub - a3016c/FastTest
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

a3016c/FastTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastTest

High performance C++ backtesting library with a python wrapper for Algorithmic trading. See wrapper/examples/ma_cross.py for complete example of a moving average crossover strategy and a comparison to the same strategy using Backtrader

Installation

git clone https://github.com/ntorm1/FastTest.git
cd FastTest
cmake -B build
cd build
make

Google Colab

To avoid any build problems you can use Google Colab which has been tested. To install:

!git clone https://github.com/ntorm1/FastTest.git
!cd /content/FastTest && git pull
!cd /content/FastTest && cmake -B build
!cd /content/FastTest/build && make -j
!cd /content/FastTest/wrapper/tests && python test.py

Then you can access the Library as follows:

sys.path.append("/content/FastTest/wrapper")
from Exchange import Exchange, Asset
from Broker import Broker
from Strategy import Strategy
from FastTest import FastTest

Tests

cd ../Wrapper/tests
python3 test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0