Skip to content
#

backtesting

Here are 266 public repositories matching this topic...

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

bug good first issue Hacktoberfest

Backtest 1000s of minute-by-minute trading algorithms for training AI with automated pricing data from: IEX, Tradier and FinViz. Datasets and trading performance automatically published to S3 for building AI training datasets for teaching DNNs how to trade. Runs on Kubernetes and docker-compose. >150 million trading history rows generated from +5000 algorithms. Heads up: Yahoo's Finance API was disabled on 2019-01-03 https://developer.yahoo.com/yql/

  • Updated Sep 5, 2020
  • Jupyter Notebook
Stock.Indicators
DaveSkender
DaveSkender commented May 22, 2022

When there is a Renko transition, the brick is one brick size off in vertical position.

From @shinel70:
here is a picture i try to explain my problem
get renko
`
using Binance.Net.Clients;
using Skender.Stock.Indicators;
BinanceClient bc = new();
var data = await bc.UsdFuturesApi.Co

bug good first issue
NicoloZorzetto
NicoloZorzetto commented Jan 13, 2022

Hello, I normally don't do this kind of thing, but you seem like a nice dev and your project is very cool.

I was wondering if you, or someone else, could make some sort of documentation.

I have never used any kind of javascript so I admit that I am part of the problem, but I can't even get to run one of the 'examples' scripts.

To my understanding I have to put some sort of private-key tha

documentation help wanted good first issue
ZongUin
ZongUin commented May 16, 2018

There is this error when I use backtest :

perl backtest.pl Gekko BacktestTool v0.6 Website: https://github.com/xFFFFF/Gekko-BacktestTool

Exchange list: history/binance_0.1.db
config/strategies/MACD.tomltrue[2018-05-16 14:29:20] Brute Force mode enabled
config/strategies/CCI.tomltrue[2018-05-16 14:29:20] Brute Force mode enabled
config/strategies/RSI.tomltrue[2018-05-16 14:29:20

good first issue

Improve this page

Add a description, image, and links to the backtesting 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 backtesting topic, visit your repo's landing page and select "manage topics."

Learn more