Node.js library for building systematic trading strategies in reactive way.
Use the power of TypeScript and Reactive Programming to research, develop and test your
market-winning short-term and long-term investments.
Documentation
·
Contributing Guidelines
Installation
yarn global add @quantform/cli
Usage
qf init
Scaffolds a new project files in current directory.
$ qf init
qf live
Executes strategy in live trading mode.
Argument | Description |
---|---|
-c, --config |
qf config file |
-w, --watch |
run in watch mode |
-i, --id |
session identifier |
$ qf live -w -i 202101012210
qf paper
Executes strategy in paper e.g. simulation mode.
Argument | Description |
---|---|
-c, --config |
qf config file |
-w, --watch |
run in watch mode |
-i, --id |
session identifier |
qf paper -w -i 202101012210
qf backtest
Executes strategy in backtesting mode for specified period.
Argument | Description |
---|---|
-c, --config |
qf config file |
-w, --watch |
run in watch mode |
-f, --from |
date from in unix format |
-t, --to |
date to in unix format |
qf backtest
qf feed
Fetches instrument historical data to storage.
<instrument> |
instrument to import in unified format |
-c, --config |
qf config file |
-f, --from |
date from in unix format |
-t, --to |
date to in unix format |
qf feed 'binance:btc-usdt'
qf task
Executes user defined task.
<taskName> |
name of the task to run |
-c, --config |
qf config file |
-w, --watch |
run in watch mode |
-p, --print |
prints result to console |
qf task list-balances
Risk Warning and Disclaimer
Trading Cryptocurrencies, Futures, Forex, CFDs and Stocks involves a risk of loss. Please consider carefully if such trading is appropriate for you. Past performance is not indicative of future results. Articles and content on this website are for entertainment purposes only and do not constitute investment recommendations or advice.