Testing parametric formating of atomized content

This commit is contained in:
Julian Molina committed 2020-02-03 23:30:46 +01:00
1 parent c839383d46
commit bbd608f460
37 files changed
+1450 -264

No files matched your search

+4 -4
View File
@@ -113,12 +113,12 @@ entries:
output: web
folderitems:
- title: Overview
url: /suite-trading-system-overview.html
- title: Defining a Trading System
url: /suite-defining-a-trading-system.html
output: web
- title: Strategies
url: /suite-strategies.html
- title: Defining a Strategy
url: /suite-defining-a-trading-strategy.html
output: web
- title: Trading Sessions
@@ -0,0 +1,99 @@
<!-- TITLE AND DEFINITION starts -->
{% assign title = "Backtesting Session" %}
{% assign definition = site.data.network.backtesting_session %}
{% assign preposition = "a" %}
<!-- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
A backtesting session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!-- ADDING starts -->
To add a backtesting session, select *Add Backtesting Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
<!-- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!-- CONFIGURING starts -->
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name"
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
Before you start a backtesting session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
After a few seconds, a literal indication of the progress of the calculations appears below the session node, displaying the date that is currently being processed. Once the calculation is finished, the session stops and the date below the session node dissapears.
To stop a backtesting session, select *Stop* on the menu.
<!-- STARTING ends -->
{% endif %}
@@ -0,0 +1,108 @@
<!-- TITLE AND DEFINITION starts -->
{% assign title = "Forward Testing Session" %}
{% assign definition = site.data.network.forward_testing_session %}
{% assign preposition = "a" %}
<!-- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
A forward testing session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!-- ADDING starts -->
To add a forward testing session, select *Add Forward Testing Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
<!-- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!-- CONFIGURING starts -->
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name",
"balancePercentage": 1
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
* ```balancePercentage``` is a number defining the percentage of the initialBalance specified in the base aset configuration that will be used for trading. For instance, ```"balancePercentage": 1``` means that 1% of your balance will be made available. Just like the ```initialBalance``` is scaled down, the ```minimumBalance``` and ```maximumBalance``` are also scaled down accordingly (see base asset).
Let's draw a quick example:
Your base asset is USDT and your initialBalance is USDT 10,000.
If you set up your forward-testing session with "balancePercentage": "1", then USDT 10,000 * 1% = USDT 100. This is the balance that will be available to your forward-testing session.
{% include important.html content="You need to take this into account at the time of defining your positionSize formula. If the formula is a constant, you may easily run out of balance, as only a fraction of the balance will be available for the strategy to use. It may be a good idea to set up your positionSize as a function of your available balance instead." %}
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
Before you start a forward testing session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
To stop a backtesting session, select *Stop* on the menu.
<!-- STARTING ends -->
{% endif %}
@@ -0,0 +1,97 @@
<!-- TITLE AND DEFINITION starts -->
{% assign title = "Live Trading Session" %}
{% assign definition = site.data.network.live_trading_session %}
{% assign preposition = "a" %}
<!-- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
A live trading session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!-- ADDING starts -->
To add a live trading session, select *Add Live Trading Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
<!-- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!-- CONFIGURING starts -->
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name"
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
Before you start a live trading session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
To stop a backtesting session, select *Stop* on the menu.
<!-- STARTING ends -->
{% endif %}
@@ -0,0 +1,97 @@
<!-- TITLE AND DEFINITION starts -->
{% assign title = "Paper Trading Session" %}
{% assign definition = site.data.network.paper_trading_session %}
{% assign preposition = "a" %}
<!-- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
A paper trading session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!-- ADDING starts -->
To add a paper trading session, select *Add Paper Trading Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
<!-- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!-- CONFIGURING starts -->
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name"
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
Before you start a paper trading session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
To stop a backtesting session, select *Stop* on the menu.
<!-- STARTING ends -->
{% endif %}
@@ -0,0 +1,85 @@
<!-- TITLE AND DEFINITION starts -->
{% assign title = "XXXXXXXXXXXXXXXX" %}
{% assign definition = site.data.network.XXXXXXXXXXXXXXXX %}
{% assign preposition = "XXXXXXXXXXXXXXXX" %}
<!-- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!-- ADDING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!-- CONFIGURING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+59
View File
@@ -0,0 +1,59 @@
<!-- TITLE AND DEFINITION starts -->
{% assign title = "XXXXXXXXXXXXXXXX" %}
{% assign definition = site.data.network.XXXXXXXXXXXXXXXX %}
{% assign preposition = "XXXXXXXXXXXXXXXX" %}
<!-- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% endif %}
**{{ definition }}**
<!-- CONTENT starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONTENT ends -->
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!-- ADDING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!-- CONFIGURING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.startinging != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+41 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -22,6 +46,8 @@ The basse asset must reference an asset in a specific market of a specific excha
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -61,4 +87,16 @@ Select *Configure Base Asset* on the menu to access the configuration.
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+41 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -24,6 +48,8 @@ Also pending development is the keeping of a formal trading log. The current fun
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -48,4 +74,16 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+41 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -34,6 +58,8 @@ In the example above, conditions A and B are comparison statements that may eval
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -56,4 +82,16 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+42 -2
View File
@@ -10,10 +10,36 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
**{{ definition }}**
<!-- CONTENT starts -->
@@ -32,6 +58,8 @@ In the context of forward testing and live trading sessions, the fee structure a
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -71,4 +99,16 @@ Select *Configure Fee Structure* on the menu to access the configuration.
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+41 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -30,6 +54,8 @@ Formulas may use [internal variables](suite-internal-variables.html) made availa
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -52,4 +78,16 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+41 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -28,6 +52,8 @@ The initial target is set in phase 0, that is, the departing point for the manag
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -50,4 +76,16 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -24,6 +48,8 @@ The initial target is set in phase 0, which may shift to the following phase onc
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -46,4 +72,16 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!-- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!-- STARTING ends -->
{% endif %}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -34,6 +58,8 @@ All of these considerations should feed the dynamic analysis performed as the tr
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -26,6 +50,8 @@ Ideally, the open stage would also handle the parameters that define the executi
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -22,6 +46,8 @@ Each testing session has its own set of parameters. This allows you to configure
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -22,6 +46,8 @@ However, for the time being, the formula is overridden by the system as executio
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -22,6 +46,8 @@
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -22,6 +46,8 @@ The quoted asset must reference the second asset in the same market of the same
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -26,6 +50,8 @@ An event may have more than one situation attached to it. In such a case, when a
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -24,6 +48,8 @@ Slippage is factored both in the session reports and in the graphic representati
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+33 -7
View File
@@ -10,17 +10,41 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
The definition of a strategy may be analyzed in three sections.
The definition of a strategy may be analyzed in three sections:
**"A strategy is a set of actions occurring in stages"**
{% include callout.html type="primary" content="<strong>A strategy is a set of actions occurring in stages</strong>" %}
Strategies are defined in the following steps:
@@ -31,16 +55,18 @@ Strategies are defined in the following steps:
These stages are played in a sequence: once a strategy is *triggered* it looks to *open* a position; once a position is open, it is time to *manage* it as the trade develops; and once a stop or take profit target is hit, it is time to *close* the position.
**"designed to achieve a specific goal within a broader plan"**
{% include callout.html type="primary" content="<strong>designed to achieve a specific goal within a broader plan</strong>" %}
Your investment plan or trading carrer may have any number of goals (*e.g.: accumulating bitcoin, diversifying on a basket of coins, annual profit targets, etc.*). If you attempt to achieve two different goals with a single strategy, you may run into problems. It may be doable, but the strategy would certainly be more complex. In any case, the logical thing to do is to analyze each goal separately so that you can design at least one clear, straightforward strategy for each goal.
**"via executing trades"**
{% include callout.html type="primary" content="<strong>via executing trades</strong>" %}
The definition of strategy points to the concept of *a trade*. A trade is a process that exchanges the base asset for the quoted asset and that—after some time, as the trade develops and targets are hit—exchanges back the quoted asset for the base asset. The first and foremost rule of a trade is to preserve capital and its main goal is to increase it.
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -26,6 +50,8 @@ Once the take position event is triggered, the decision to take a position has b
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -0,0 +1,85 @@
<!--------------------------------------------- TITLE AND DEFINITION starts -->
{% assign title = "XXXXXXXXXXXXXXXX" %}
{% assign definition = site.data.network.XXXXXXXXXXXXXXXX %}
{% assign preposition = "XXXXXXXXXXXXXXXX" %}
<!--------------------------------------------- TITLE AND DEFINITION ends -->
{% if include.heading != "" %}
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!--------------------------------------------- CONTENT starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!--------------------------------------------- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
<!--------------------------------------------- ADDING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!--------------------------------------------- ADDING ends -->
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
<!--------------------------------------------- CONFIGURING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!--------------------------------------------- CONFIGURING ends -->
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
<!--------------------------------------------- STARTING starts -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<!--------------------------------------------- STARTING ends -->
{% endif %}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -24,6 +48,8 @@ In the context of live sessions, that is, paper trading, forward testing and liv
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -22,6 +46,8 @@
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -26,6 +50,8 @@ The concept of describing strategies in phases is fundamental to the methodical
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -26,6 +50,8 @@ In the first scenario, the strategy remains *on* until the trade is closed. As t
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
@@ -10,20 +10,46 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
In conceptual terms, the trigger-on event is the mechanism you use to define the specific situations in which you would consider trading with the corresponding strategy. Think of the trigger-on event as the definition of the scenario in which the trading idea behind the strategy should be carefully considered.
Once a strategy is triggered-on, the system starts evaluating the take position event. In conceptual terms, it means that the system has been alerted that the trading idea behind the corresponding trading strategy has produced a signal and that it should carefully monitor the market for the opportunity of taking a position.
Once a strategy is triggered-on, the system starts evaluating the take position event. In conceptual terms, it means that the system has been alerted that the trading idea behind the corresponding trading strategy has produced a signal and that it should carefully monitor the market for the opportunity to take a position.
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+29 -3
View File
@@ -10,11 +10,35 @@
{{include.heading}} {{title}}
{% endif %}
{% if include.icon != "no" %}
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.icon != "no" %}
{% if include.table == "y" %}
<table class="definitionTable"><tr><td>
{% endif %}
**{{ definition }}**
<img src='images/icons/{{include.icon}}{{ title | downcase | replace: " ", "-" }}.png' />
{% if include.table == "y" %}
</td><td>
{% endif %}
{% endif %}
{% if include.definition != "regular" %}
<strong>{{ definition }}</strong>
{% else %}
{{ definition }}
{% endif %}
{% if include.table == "y" and include.icon != "no" %}
</td></tr></table>
{% endif %}
{% if include.content != "n" %}
<!-- CONTENT starts -->
@@ -30,6 +54,8 @@ As a corollary, if certain strategies are meant to trade under the same market s
<!-- CONTENT ends -->
{% endif %}
{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}}
+15 -3
View File
@@ -1,9 +1,9 @@
body {
font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
color: #111;
background-color: #fdfdfd;
text-align: justify;
/* text-align: justify; */
-webkit-text-size-adjust: 100%;
-webkit-font-feature-settings: "kern" 1;
-moz-font-feature-settings: "kern" 1;
@@ -46,7 +46,7 @@ p {
color: #777;
}
.bs-callout-primary {
border-left-color: #428bca;
border-left-color: #ff8c29;
}
.bs-callout-primary h4 {
color: #428bca;
@@ -497,6 +497,18 @@ figcaption {
color: red;
}
table.definitionTable {
min-width: 100%;
}
table.definitionTable tbody tr td {
background-color: transparent;
padding: 15px;
margin: 0px;
border: 0px;
vertical-align: middle;
}
table.hierarchyTable {
min-width: 100%;
}
@@ -0,0 +1,30 @@
---
title: Defining a Trading Strategy
summary: "Strategies are defined as a sequence of stages."
sidebar: suite_sidebar
permalink: suite-defining-a-trading-strategy.html
---
{% include /trading_system/strategy.md heading="" icon="150-" adding="" configuring="" starting="" content="" definition="" table="y" %}
{% include /trading_system/trigger-stage.md heading="##" icon="150-" adding="" configuring="" starting="" content="" definition="" table="y" %}
{% include /trading_system/trigger-on-event.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/trigger-off-event.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/take-position-event.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/open-stage.md heading="##" icon="150-" adding="" configuring="" starting="" content="" definition="" table="y" %}
{% include /trading_system/initial-stop.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/initial-take-profit.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/position-size.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/position-rate.md heading="###" icon="" adding="" configuring="" starting="" content="" definition="regular" table="y" %}
{% include /trading_system/manage-stage.md heading="##" icon="150-" adding="" configuring="" starting="" content="" definition="" table="y" %}
{% include /trading_system/close-stage.md heading="##" icon="150-" adding="" configuring="" starting="" content="" definition="" table="y" %}
@@ -1,10 +1,10 @@
---
title: Trading System
title: Defining a Trading System
summary: "A trading system is a device that allows building strategies in a standardized manner."
sidebar: suite_sidebar
permalink: suite-trading-system-overview.html
permalink: suite-defining-a-trading-system.html
---
{% include /trading_system/trading-system.md heading="" icon="150-" adding="" configuring="" %}
{% include /trading_system/trading-system.md heading="" icon="150-" adding="" configuring="" starting="" content="" definition="" table="y" %}
{% include note.html content="Check the Hierarchies Directory for a thorough description of the whole <a href='suite-trading-system-hierarchy.html'>trading system hierarchy</a>." %}
+4 -151
View File
@@ -311,160 +311,13 @@ You do not start or stop a trading process instance directly. Instead, you start
## Backtesting Session
{% include /network/backtesting-session.md heading="##" icon="150-" adding="###" configuring="###" starting="###" definition="" table="y" %}
<img src='images/icons/150-backtesting-session.png' />
{% include /network/paper-trading-session.md heading="##" icon="150-" adding="###" configuring="###" starting="###" definition="" table="y" %}
**{{site.data.network.backtesting_session}}**
{% include /network/forward-testing-session.md heading="##" icon="150-" adding="###" configuring="###" starting="###" definition="" table="y" %}
A backtesting session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
### Adding a Backtesting Session
To add a backtesting session, select *Add Backtesting Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
### Configuring a Backtesting Session
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name"
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
### Starting / Stopping a Backtesting Session
Before you start a backtesting session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
After a few seconds, a literal indication of the progress of the calculations appears below the session node, displaying the date that is currently being processed. Once the calculation is finished, the session stops and the date below the session node dissapears.
[IMAGE]
To stop a backtesting session, select *Stop* on the menu.
## Paper Trading Session
<img src='images/icons/150-paper-trading-session.png' />
**{{site.data.network.paper_trading_session}}**
A paper trading session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
### Adding a Paper Trading Session
To add a paper trading session, select *Add Paper Trading Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
### Configuring a Paper Trading Session
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name"
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
### Starting / Stopping a Paper Trading Session
Before you start a paper trading session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
To stop a backtesting session, select *Stop* on the menu.
## Forward Testing Session
<img src='images/icons/150-forward-testing-session.png' />
**{{site.data.network.forward_testing_session}}**
A forward testing session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
### Adding a Forward Testing Session
To add a forward testing session, select *Add Forward Testing Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
### Configuring a Forward Testing Session
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name",
"balancePercentage": 1
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
* ```balancePercentage``` is a number defining the percentage of the initialBalance specified in the base aset configuration that will be used for trading. For instance, ```"balancePercentage": 1``` means that 1% of your balance will be made available. Just like the ```initialBalance``` is scaled down, the ```minimumBalance``` and ```maximumBalance``` are also scaled down accordingly (see base asset).
Let's draw a quick example:
Your base asset is USDT and your initialBalance is USDT 10,000.
If you set up your forward-testing session with "balancePercentage": "1", then USDT 10,000 * 1% = USDT 100. This is the balance that will be available to your forward-testing session.
{% include important.html content="You need to take this into account at the time of defining your positionSize formula. If the formula is a constant, you may easily run out of balance, as only a fraction of the balance will be available for the strategy to use. It may be a good idea to set up your positionSize as a function of your available balance instead." %}
### Starting / Stopping a Forward Testing Session
Before you start a forward testing session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
To stop a backtesting session, select *Stop* on the menu.
## Live Trading Session
<img src='images/icons/150-live-trading-session.png' />
**{{site.data.network.live_trading_session}}**
A live trading session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
### Adding a Live Trading Session
To add a live trading session, select *Add Live Trading Session* on the trading process instance node menu. When a session is added, it is created with the full set of parameters.
{% include note.html content="After adding a session node, make sure you establish a reference to the trading system you want it to work with." %}
### Configuring a Live Trading Session
Select *Configure Session* on the menu to access the configuration.
```json
{
"folderName": "Session-Name"
}
```
* ```folderName``` allows you to set a significant name to the folder in which the data products&mdash;and logs&mdash;generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
### Starting / Stopping a Live Trading Session
Before you start a live trading session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select *Run* on the menu to start the session.
To stop a backtesting session, select *Stop* on the menu.
{% include /network/live-trading-session.md heading="##" icon="150-" adding="###" configuring="###" starting="###" definition="" table="y" %}
-30
View File
@@ -1,30 +0,0 @@
---
title: Strategies
summary: "Strategies are defined as a sequence of stages."
sidebar: suite_sidebar
permalink: suite-strategies.html
---
{% include /trading_system/strategy.md heading="" icon="150-" adding="" configuring="" %}
{% include /trading_system/trigger-stage.md heading="##" icon="150-" adding="" configuring="" %}
{% include /trading_system/trigger-on-event.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/trigger-off-event.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/take-position-event.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/open-stage.md heading="##" icon="150-" adding="" configuring="" %}
{% include /trading_system/initial-stop.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/initial-take-profit.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/position-size.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/position-rate.md heading="###" icon="no" adding="" configuring="" %}
{% include /trading_system/manage-stage.md heading="##" icon="150-" adding="" configuring="" %}
{% include /trading_system/close-stage.md heading="##" icon="150-" adding="" configuring="" %}
@@ -5,3 +5,10 @@ sidebar: suite_sidebar
permalink: suite-trading-sessions.html
---
{% include /network/backtesting-session.md heading="##" icon="150-" adding="" configuring="" starting="" content="n" definition="regular" table="y" %}
{% include /network/paper-trading-session.md heading="##" icon="150-" adding="" configuring="" starting="" content="n" definition="regular" table="y" %}
{% include /network/forward-testing-session.md heading="##" icon="150-" adding="" configuring="" starting="" content="n" definition="regular" table="y" %}
{% include /network/live-trading-session.md heading="##" icon="150-" adding="" configuring="" starting="" content="n" definition="regular" table="y" %}