From 2d35f3f55ee7c63c1b743e945cd4d097a787240b Mon Sep 17 00:00:00 2001 From: usr Date: Wed, 21 Sep 2022 15:31:46 +0200 Subject: [PATCH] Add light-reports option --- jessetk2/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jessetk2/__init__.py b/jessetk2/__init__.py index 46b4779..e0a7271 100644 --- a/jessetk2/__init__.py +++ b/jessetk2/__init__.py @@ -77,6 +77,8 @@ def cli() -> None: help='Generates charts of daily portfolio balance and assets price change. Useful for a visual comparision of your portfolio against the market.') @click.option('--tradingview/--no-tradingview', default=False, help="Generates an output that can be copy-and-pasted into tradingview.com's pine-editor too see the trades in their charts.") +@click.option('--light-reports/--no-light-reports', default=False, + help="Generate an html document containing all of the scripts and data to load tradingview and review the results. This can be generated within a strategy at regular intervals to review the results live.") @click.option('--full-reports/--no-full-reports', default=False, help="Generates QuantStats' HTML output with metrics reports like Sharpe ratio, Win rate, Volatility, etc., and batch plotting for visualizing performance, drawdowns, rolling statistics, monthly returns, etc.") @click.option( @@ -86,7 +88,7 @@ def cli() -> None: @click.option( '--seq', default='None', show_default=True, help='Fixed width hyperparameters payload') def backtest(start_date: str, finish_date: str, debug: bool, csv: bool, json: bool, fee: bool, chart: bool, - tradingview: bool, full_reports: bool, dna: str, hp: str, seq: str) -> None: + tradingview: bool, light_reports: bool, full_reports: bool, dna: str, hp: str, seq: str) -> None: """ backtest mode. Enter in "YYYY-MM-DD" "YYYY-MM-DD" """