Skip to content

When running GOOG example, no stats table is visible #63

Closed
@trogloditee

Description

@trogloditee

Expected Behavior

Stats table should appear on bt.run()

Actual Behavior

Only the .html chart is visible.
Run window only shows Process finished with exit code 0.

Additional info

Running this on PyCharm (latest, MacOS), latest Backtesting version.
Running GOOG script from PyCharm directly (ie, not using Terminal)

Brute force solution was to modify def run() on backtesting.py (line 724) from:

        self._results = self._compute_stats(broker, strategy)
        return self._results

to:

        self._results = self._compute_stats(broker, strategy)
        print(self._results.to_string())
        return self._results

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis is not a (valid) bug report

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions