From 9c4db6b3178c67c964762191c4065fdc5905c4ae Mon Sep 17 00:00:00 2001 From: "Karol M. Langner" Date: Fri, 27 Apr 2018 00:14:14 -0700 Subject: [PATCH 1/4] Fix buy->sell typo --- docs/quickstart/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart/quickstart.rst b/docs/quickstart/quickstart.rst index a7f27f9..a161da2 100644 --- a/docs/quickstart/quickstart.rst +++ b/docs/quickstart/quickstart.rst @@ -285,7 +285,7 @@ The *"exit concept"* will be an easy one: Additionally and to simplify: - - Do only allow a Buy order if not yet in the market + - Do only allow a Sell order if not yet in the market .. note:: The *next* method gets no "bar index" passed and therefore it seems obscure how to understand when 5 bars may have elapsed, but this has From 7c3ff804a8cafad24d4b734eb4ac6d38c93f50df Mon Sep 17 00:00:00 2001 From: "Karol M. Langner" Date: Fri, 27 Apr 2018 00:18:23 -0700 Subject: [PATCH 2/4] Fix typo --- docs/quickstart/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart/quickstart.rst b/docs/quickstart/quickstart.rst index a161da2..4341470 100644 --- a/docs/quickstart/quickstart.rst +++ b/docs/quickstart/quickstart.rst @@ -461,7 +461,7 @@ Portfolio above the initial 100000 monetary units the strategy started with. Customizing the Strategy: Parameters ==================================== -It would a bit unpractical to hardcode some of the values in the strategy and +It would be a bit unpractical to hardcode some of the values in the strategy and have no chance to change them easily. *Parameters* come in handy to help. Definition of parameters is easy and looks like:: From 13ba6c68279f85fcf38684cbf4acdcca41ac6661 Mon Sep 17 00:00:00 2001 From: "Karol M. Langner" Date: Fri, 27 Apr 2018 00:24:34 -0700 Subject: [PATCH 3/4] Remove stray backticks --- docs/quickstart/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart/quickstart.rst b/docs/quickstart/quickstart.rst index 4341470..42af990 100644 --- a/docs/quickstart/quickstart.rst +++ b/docs/quickstart/quickstart.rst @@ -487,7 +487,7 @@ the strategy to the Cerebro engine:: here for anyone looking at old samples of the sources. The sources have been update to use:: - cerebro.addsizer(bt.sizers.FixedSize, stake=10)`` + cerebro.addsizer(bt.sizers.FixedSize, stake=10) Please read the section about *sizers* From ab91e3e0f8057837a187e98f69c1b3f27a905411 Mon Sep 17 00:00:00 2001 From: "Karol M. Langner" Date: Fri, 27 Apr 2018 00:29:11 -0700 Subject: [PATCH 4/4] Fix another typo --- docs/quickstart/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart/quickstart.rst b/docs/quickstart/quickstart.rst index 42af990..d44e02b 100644 --- a/docs/quickstart/quickstart.rst +++ b/docs/quickstart/quickstart.rst @@ -812,7 +812,7 @@ Results: * For periods below 18 the strategy (commissionless) loses money. * For periods between 18 and 26 (both included) the strategy makes money. - * Above 26 money is lost agagin. + * Above 26 money is lost again. And the winning period for this strategy and the given data set is: