Strategy tutorials done

This commit is contained in:
Julian Molina committed 2021-01-12 18:52:55 +01:00
1 parent 9785425550
commit 810a6e21c6
6 files changed
+70 -9

No files matched your search

@@ -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:<br/><br/>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",
@@ -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:<br/><br/>tradingEngine.current.<br/>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
}
]
}
@@ -12,15 +12,22 @@
"paragraphs": [
{
"style": "Text",
"text": "We just need to subtract 10% to the entry target rate node's value:<br/><br/>tradingEngine.current.<br/>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
}
]
}
@@ -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!<br/><br/>tradingEngine.current.strategyOpenStage.<br/>stageQuotedAsset.sizeFilled.value - <br/>tradingEngine.current.strategyOpenStage.<br/>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
}
]
}
@@ -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!"
}
]
}
@@ -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
}
]
}