The Wayback Machine - https://web.archive.org/web/20220108044946/https://github.com/topics/trading
Skip to content
#

trading

Here are 2,433 public repositories matching this topic...

Lean
Superalgos
WenceslaoGrillo
WenceslaoGrillo commented May 29, 2020

Some suggestions to make it easier to run the backend without the front end. Some of these suggestions might be *ix only:

  • a command line parameter to indicate that the back end should start with everything that is pending without waiting for a front end to be available in the browser.
  • some instruction to make it work as a daemon (Linux) or service (Windows) to gain independence from the te
backtesting.py
zillionare
zillionare commented Apr 30, 2021

this is how Buy & Hold Return is calculated:

        c = data.Close.values
        s.loc['Buy & Hold Return [%]'] = (c[-1] - c[0]) / c[0] * 100  # long-only return

so it's calced use day one and the day last.

Expected Behavior

Buy & Hold Return is used for compare with strategy gain. Therefore, I guess they should started at same time, since the strategy get enough data to w

GoldenGeese
GoldenGeese commented Jan 2, 2022

Is your feature request related to a problem? Please describe.
My request is a new indicator called Clenow momentum.
Describe the solution you'd like
It measures momentum by getting the exponential regression of log prices and the Coefficient of Exponential Regression depending on the rolling days. It can detect trends in a stock as well as the direction of the stock.

**Addition

Improve this page

Add a description, image, and links to the trading topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the trading topic, visit your repo's landing page and select "manage topics."

Learn more