From 810a6e21c614a97741c57d8a97cbb74cbde66ff0 Mon Sep 17 00:00:00 2001 From: Julian Molina Date: Tue, 12 Jan 2021 18:52:55 +0100 Subject: [PATCH] Strategy tutorials done --- ...-tutorial-step- how do we go about it.json | 7 +++- ...-029-tutorial-step- entry target rate.json | 13 +++++-- ...30-tutorial-step- managed take profit.json | 13 +++++-- ...ial-step- target size in quoted asset.json | 8 ++++- ...ges-040-tutorial-step- ready to rock..json | 35 +++++++++++++++++++ ...torial-step- is there room for nuance.json | 3 +- 6 files changed, 70 insertions(+), 9 deletions(-) create mode 100644 Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-040-tutorial-step- ready to rock..json diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-006-tutorial-step- how do we go about it.json b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-006-tutorial-step- how do we go about it.json index d89621348..e8e42a0c8 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-006-tutorial-step- how do we go about it.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-006-tutorial-step- how do we go about it.json @@ -16,7 +16,12 @@ }, { "style": "Text", - "text": "Well... a good choice would be the rate at the close of the candle, right? Our target rate formula would then be:

chart.at01hs.candle.close" + "text": "Well... a good choice would be the rate at the close of the candle, right? Our target rate formula would then be:", + "updated": 1610472351878 + }, + { + "style": "Javascript", + "text": "chart.at01hs.candle.close" }, { "style": "Success", diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-029-tutorial-step- entry target rate.json b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-029-tutorial-step- entry target rate.json index 3159ed44a..9a844f318 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-029-tutorial-step- entry target rate.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-029-tutorial-step- entry target rate.json @@ -7,7 +7,8 @@ "project": "Superalgos", "name": "entry-target-rate" }, - "text": "We are in the Current > Position section of the Trading Engine and, to your left, the Entry Target Rate node!" + "text": "We are in the Current > Position section of the Trading Engine and, to your left, the Entry Target Rate node!", + "updated": 1610472841926 }, "paragraphs": [ { @@ -16,11 +17,17 @@ }, { "style": "Text", - "text": "Now, let's add 3% to the node's value:

tradingEngine.current.
position.entryTargetRate.value * 1.03" + "text": "Now, let's add 3% to the node's value:", + "updated": 1610472749300 + }, + { + "style": "Javascript", + "text": "tradingEngine.current.position.entryTargetRate.value * 1.03" }, { "style": "Success", - "text": "Go ahead and use the above for the Phase #1 stop loss formula! Remember I introduced a break in the line that you must remove!" + "text": "Go ahead and use the above for the Phase #1 stop loss formula!", + "updated": 1610472786651 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-030-tutorial-step- managed take profit.json b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-030-tutorial-step- managed take profit.json index a1064b08a..6ce72835d 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-030-tutorial-step- managed take profit.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-030-tutorial-step- managed take profit.json @@ -12,15 +12,22 @@ "paragraphs": [ { "style": "Text", - "text": "We just need to subtract 10% to the entry target rate node's value:

tradingEngine.current.
position.entryTargetRate.value * 0.9" + "text": "We just need to subtract 10% to the entry target rate node's value:", + "updated": 1610472925103 + }, + { + "style": "Javascript", + "text": "tradingEngine.current.position.entryTargetRate.value * 0.9" }, { "style": "Callout", - "text": "Use the above for the Phase #1 take profit formula!" + "text": "Use is for the Phase #1 take profit formula!", + "updated": 1610472948413 }, { "style": "Success", - "text": "We are done with the manage stage!" + "text": "We are done with the Manage Stage!", + "updated": 1610472960123 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-035-tutorial-step- target size in quoted asset.json b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-035-tutorial-step- target size in quoted asset.json index 0b6ce8d77..31180d651 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-035-tutorial-step- target size in quoted asset.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-035-tutorial-step- target size in quoted asset.json @@ -20,7 +20,13 @@ }, { "style": "Text", - "text": "Copying paths, I built this for the target size formula... Use it, making sure you don't introduce line breaks on the nodes' paths!

tradingEngine.current.strategyOpenStage.
stageQuotedAsset.sizeFilled.value -
tradingEngine.current.strategyOpenStage.
stageQuotedAsset.feesPaid.value" + "text": "I built this for the target size formula copying paths... Use it, making sure you don't introduce line breaks on the nodes' paths!", + "updated": 1610473186038 + }, + { + "style": "Javascript", + "text": "tradingEngine.current.strategyOpenStage.stageQuotedAsset.sizeFilled.value - \ntradingEngine.current.strategyOpenStage.stageQuotedAsset.feesPaid.value", + "updated": 1610473148011 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-040-tutorial-step- ready to rock..json b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-040-tutorial-step- ready to rock..json new file mode 100644 index 000000000..3b59ec09b --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-040-tutorial-step- ready to rock..json @@ -0,0 +1,35 @@ +{ + "tutorial": "4. Testing a Trading Idea - The Other Stages", + "pageNumber": 40, + "type": "Tutorial Step - Ready to Rock....?", + "definition": { + "icon": { + "project": "Superalgos", + "name": "trading-strategy" + }, + "text": "We are on a new chart! Let's set it up so that we may see the results of the backtest!" + }, + "paragraphs": [ + { + "style": "Text", + "text": "Make sure the following layers are turned on in each of the layer managers:" + }, + { + "style": "List", + "text": "Masters Data: Candles and Bollinger Bands." + }, + { + "style": "List", + "text": "Simulation Objects:Strategies, Market Buy Orders,Market Sell Orders,Position Base Asset,Stop Loss, and Take Profit.", + "updated": 1610473284506 + }, + { + "style": "List", + "text": "Trading System: Trading System Errors and Trading System Warnings." + }, + { + "style": "Success", + "text": "The next step shows what you should see!" + } + ] +} \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-059-tutorial-step- is there room for nuance.json b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-059-tutorial-step- is there room for nuance.json index 35f53cc1e..a705103ab 100644 --- a/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-059-tutorial-step- is there room for nuance.json +++ b/Projects/Superalgos/Schemas/Docs-Tutorials/4.-testing-a-trading-idea-the-other-stages-059-tutorial-step- is there room for nuance.json @@ -16,7 +16,8 @@ }, { "style": "List", - "text": "Is your testing criteria more like a guideline or first assessment? In our case, I may openly confess that the testing criteria proposed is rather arbitrary, and doesn't hold water if questioned. I chose simple criteria to make a point and facilitate the explanations, but I wouldn't defend it in a court of my peers! If you use testing criteria as a first assessment only, then there should probably be room for more nuanced analysis." + "text": "Is your testing criteria more like a guideline or first assessment? In our case, I may openly confess that the testing criteria proposed is rather arbitrary, and doesn't hold water if questioned. I chose a simple criteria to make a point and facilitate the explanations, but I wouldn't defend it in a court of my peers! If you see the testing criteria as a first assessment only, then there should probably be room for a more nuanced analysis.", + "updated": 1610473653651 } ] } \ No newline at end of file