Testing content aggregation
This commit is contained in:
1 parent
6693701271
commit
c839383d46
27 files changed
+965
-356
No files matched your search
@@ -0,0 +1,51 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Close Stage" %}
|
||||
{% assign definition = site.data.trading_system.close_stage %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
As explained earlier while discussing the open stage, the execution functionality is currently under development. Needless to say, execution of the closing orders is of the highest significance, but in the meantime some temporal <a href='suite-execution-limitations.html'>execution limitations</a> apply.
|
||||
|
||||
Also pending development is the keeping of a formal trading log. The current functionality allows you to see each trade on the screen, along with all the corresponding details, as well as a consolidated report on the live trading panel. This information is stored as a data product, thus, it is not lost. In the future, the system should incorporate a user-friendly feature to browse such logs, and even help analyze them in search for potential optimizations of your trading systems.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a close stage node, select *Add Missing Stages* on the strategy node menu. All stages that may be missing are created along with the rest of the basic structure of nodes required to define each of them and their events.
|
||||
|
||||
{% include note.html content="Only one close stage may exist in each strategy." %}
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,59 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Condition" %}
|
||||
{% assign definition = site.data.trading_system.condition %}
|
||||
{% assign preposition = "a" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
Therefore, conditions are used to mathematically describe what needs to happen with the market for a certain action to be taken.
|
||||
|
||||
**For example:**
|
||||
|
||||
**Situation 1**
|
||||
|
||||
* Condition A: ```chart.at01hs.candle.close > chart.at01hs.bollingerBand.MovingAverage``` → This means that the latest candle at the 1 hour chart closed above the Bollinger Bands moving average.
|
||||
|
||||
* Condition B: ```chart.at01hs.candle.previous.max > chart.at01hs.bollingerBand.previous.MovingAverage``` → This means that the maximum value of the candle before the last one, was higher than the Bollinger Bands moving average.
|
||||
|
||||
In the example above, conditions A and B are comparison statements that may evaluate either _true_ or _false_. In the case both would evaluate _true_ then Situation 1 would be true as well.
|
||||
|
||||
{% include note.html content="To learn how to write conditions, start with the <a href='suite-sysntax-overview.html'>Syntax Overview</a>." %}
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a condition, select *Add Condition* on the corresponding situation node menu. A condition with its JavaScript code node is added.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,55 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Formula" %}
|
||||
{% assign definition = site.data.trading_system.formula %}
|
||||
{% assign preposition = "a" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
In the context of a trading system, formulas are used to determine the values for stopLoss, takeProfit, positionRate and positionSize.
|
||||
|
||||
Formulas may use [internal variables](suite-internal-variables.html) made available by the system. In addition to the ones listed above, other variables such as balanceAssetA and balanceAssetB may be of use.
|
||||
|
||||
**For example:**
|
||||
|
||||
* ```positionRate - positionRate * 2.5 / 100``` → This formula may be used to define an initial stop target 2.5% below the rate at which the position was taken.
|
||||
|
||||
{% include note.html content="To learn which variables may be used in formulas, see the page about <a href='suite-sysntax-overview.html'>internal variables</a>." %}
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a formula, select *Add Formula* on the corresponding parent node menu.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,53 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Initial Stop" %}
|
||||
{% assign definition = site.data.trading_system.initial_stop %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
Notice that the setting of the stop target has no relation to the execution of orders. The stop is a target, not an order to be placed. That is, the system does not place stop orders.
|
||||
|
||||
This is a design feature that allows you to keep your cards, not allowing anyone to anticipate what your strategy may be, not even the exchange. It is a known fact that some exchanges may attempt or allow to front-run stop orders.
|
||||
|
||||
Instead, the trading bot instance monitors the market, and only once the stop target has been hit does it place the corresponding order to close the trade.
|
||||
|
||||
The initial target is set in phase 0, that is, the departing point for the management of the trade to be handled in the manage stage.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add an initial stop node, select *Add Missing Items* on the initial definitions node menu. All items that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,49 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Initial Take Profit" %}
|
||||
{% assign definition = site.data.trading_system.initial_take_profit %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
Pretty much like with the initial stop, the initial take profit is a target, and not an order to be placed. Only when the trading bot instance detects that the target has been hit does it place an order to close the trade.
|
||||
|
||||
The initial target is set in phase 0, which may shift to the following phase once the corresponding next phase event is validated.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add an initial take-profit node, select *Add Missing Items* on the initial definitions node menu. All items that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,61 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Manage Stage" %}
|
||||
{% assign definition = site.data.trading_system.manage_stage %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
The management of a trade aims to increase the efficiency of your trading system. Conceptually, a trade is not an instant event, but an event which has an opening, a period of maturation, and a closing. The management of the trade happens in that period of maturation.
|
||||
|
||||
The concept of managing the trade means that the formulas to determine the take profit and stop may change as the trade develops. The typical situation in which you may want to change your original take profit and stop formulas is when the trade seems to be going well in your favor.
|
||||
|
||||
It may be in your best interest to manage both stop and take-profit targets, moving them in the direction of the trade as the market moves, allowing some leeway for a larger profit than expected and, at the same time, cutting the potential for losses.
|
||||
|
||||
The management of the trade is handled in phases. Actually, the management of take profit and stop—while correlated—is done independently of each other, therefore, each concept has its own set of phases.
|
||||
|
||||
When a situation defined by a set of conditions is met, the next phase event indicates that the take profit or stop formulas shall be changed. At the moment those predefined conditions are met, you enter the next phase. Keep in mind that the trade is in constant development, so there may be as many phases as you deem appropriate for your particular strategy.
|
||||
|
||||
The idea of having different phases comes from the notion that big market moves tend to provide clues as to what may come up next. For instance, rallies may accelerate as more traders join the move. Recognizable patterns may emerge. Signs of exhaustion may be identified.
|
||||
|
||||
All of these considerations should feed the dynamic analysis performed as the trade develops, and may be contrasted with the predefined conditions that may push take profit or stop further, entering one phase after the next.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a manage stage node, select *Add Missing Stages* on the strategy node menu. All stages that may be missing are created along with the rest of the basic structure of nodes required to define each of them and their events.
|
||||
|
||||
{% include note.html content="Only one manage stage may exist in each strategy." %}
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,53 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Open Stage" %}
|
||||
{% assign definition = site.data.trading_system.open_stage %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
Conceptually, the open stage deals with the details that concern the opening of a trade once the decision to take a position has been made. In this stage, you deal with the aforementioned parameters, each of which is defined by a formula.
|
||||
|
||||
Ideally, the open stage would also handle the parameters that define the execution of the trade, that is, how and which kinds of orders are to be placed, on which exchanges and so on. However, the execution side of the system is still under development. For the time being, execution is drastically simplified: a single market order is placed for each order.
|
||||
|
||||
{% include note.html content="Learn more about the temporal <a href='suite-execution-limitation.html'>execution limitations</a>." %}
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add an open stage node, select *Add Missing Stages* on the strategy node menu. All stages that may be missing are created along with the rest of the basic structure of nodes required to define each of them and their events.
|
||||
|
||||
{% include note.html content="Only one open stage may exist in each strategy." %}
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,47 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Position Rate" %}
|
||||
{% assign definition = site.data.trading_system.position_rate %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
However, for the time being, the formula is overridden by the system as execution is currently limited to market orders until a more robust execution system is deployed. Therefore, the position rate is currently taken from the closing value of the last candle.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a position rate node, select *Add Missing Items* on the initial definitions node menu. All items that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,47 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Position Size" %}
|
||||
{% assign definition = site.data.trading_system.position_size %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a position size node, select *Add Missing Items* on the initial definitions node menu. All items that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,51 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Situation" %}
|
||||
{% assign definition = site.data.trading_system.situation %}
|
||||
{% assign preposition = "a" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
In other words, you define situations in which you wish a certain event to happen (*i.e.:* trigger on the strategy, take a position, etc.) and each situation is described as a set of conditions that need to be met for the event to be triggered.
|
||||
|
||||
A situation gets validated when all conditions under it are true.
|
||||
|
||||
An event may have more than one situation attached to it. In such a case, when any of the situations gets validated, it triggers the event. That is, events may be triggered in different circumstances, meaning that you are free to define different situations upon which the same event would be triggered. In such a case, when any of the situations evaluate true, then the event is triggered.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a situation, select *Add Situation* on the corresponding event node menu. A situation is added along with a condition and JavaScript code node.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,70 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Strategy" %}
|
||||
{% assign definition = site.data.trading_system.strategy %}
|
||||
{% assign preposition = "a" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
The definition of a strategy may be analyzed in three sections.
|
||||
|
||||
**"A strategy is a set of actions occurring in stages"**
|
||||
|
||||
Strategies are defined in the following steps:
|
||||
|
||||
* <a href="suite-trading-system-hierarchy.html#trigger-stage" data-toggle="tooltip" data-original-title="{{site.data.trading_system.trigger_stage}}">Trigger Stage</a>
|
||||
* <a href="suite-trading-system-hierarchy.html#open-stage" data-toggle="tooltip" data-original-title="{{site.data.trading_system.open_stage}}">Open Stage</a>
|
||||
* <a href="suite-trading-system-hierarchy.html#manage-stage" data-toggle="tooltip" data-original-title="{{site.data.trading_system.manage_stage}}">Manage Stage</a>
|
||||
* <a href="suite-trading-system-hierarchy.html#close-stage" data-toggle="tooltip" data-original-title="{{site.data.trading_system.close_stage}}">Close Stage</a>
|
||||
|
||||
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"**
|
||||
|
||||
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"**
|
||||
|
||||
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 -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a strategy, select *Add Strategy* on the trading system node menu. The strategy node is created along with the rest of the basic structure of nodes required to define each of the strategy stages and their events.
|
||||
|
||||
{% include tip.html content="You may work with as many strategies as you wish. " %}
|
||||
|
||||
{% include important.html content="Strategies within the same trading system work in the same market, have the same base asset, and —most importantly—share the same capital. This means that only one strategy in the trading system may be triggered at any one point and that no other strategy in the trading system may be triggered until the first one is triggered off. If you wish to have more than one strategy trading at the same time, then those strategies must be put in separate trading systems. " %}
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,51 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Take Position Event" %}
|
||||
{% assign definition = site.data.trading_system.take_position_event %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
The trigger-on event merely selects a strategy to be considered for trading under the current market situation. The actual decision to enter a position may require more specific conditions to be met. For that reason, the take position event is a separate entity from the trigger-on event.
|
||||
|
||||
Therefore, the take position event is defined with its own set of situations and conditions.
|
||||
|
||||
Once the take position event is triggered, the decision to take a position has been made and there is nothing else to consider in that regard. Therefore, the system shifts from the trigger stage to the open stage.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a take position event node, select *Add Missing Events* on the trigger stage node menu. All events that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,53 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Trading System" %}
|
||||
{% assign definition = site.data.trading_system.trading_system %}
|
||||
{% assign preposition = "a" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
In practical terms, a trading system is a hierarchical arrangement organizing the actionable aspects of your investment plan. The hierarchy contains definitions regarding any number of trading strategies, all sharing the same market, the same base asset, and the same initial capital.
|
||||
|
||||
You use a trading system to define strategies following the trading framework implemented by the Superalgos Protocol, splitting strategies into four stages: trigger, open, manage, and close.
|
||||
|
||||
The concept of describing strategies in phases is fundamental to the methodical aspect of the trading system, as it provides a framework to run every strategy with the same logic, which contributes to developing scalable trading systems that may grow to any number of strategies.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a trading system, select *Add Trading System* on the workspace node menu.
|
||||
|
||||
{% include tip.html content="You may work with as many trading systems as you wish" %}
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,51 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Trigger-Off Event" %}
|
||||
{% assign definition = site.data.trading_system.trigger-off_event %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
In conceptual terms, the trigger-off event is the mechanism you use to define the situation in which the corresponding strategy should stop considering the trading opportunity signaled by the trigger-on event. That is, you use the trigger off event to describe the scenario for the invalidation of the trading idea behind the strategy.
|
||||
|
||||
Once a strategy is triggered-on, only two possible scenarios may follow. Either the take position event is triggered, thus, taking a position and opening a trade, or the trigger-off event is triggered first.
|
||||
|
||||
In the first scenario, the strategy remains *on* until the trade is closed. As the trade is closed, the strategy is triggered-off. In the second scenario, the strategy is triggered-off immediately.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a trigger-off event node, select *Add Missing Events* on the trigger stage node menu. All events that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,49 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Trigger-On Event" %}
|
||||
{% assign definition = site.data.trading_system.trigger-on_event %}
|
||||
{% assign preposition = "the" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
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.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a trigger-on event node, select *Add Missing Events* on the trigger stage node menu. All events that may be missing are created along with the rest of the basic structure of nodes required to define each of them.
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
@@ -0,0 +1,57 @@
|
||||
<!-- TITLE AND DEFINITION starts -->
|
||||
|
||||
{% assign title = "Trigger Stage" %}
|
||||
{% assign definition = site.data.trading_system.trigger_stage %}
|
||||
{% assign preposition = "a" %}
|
||||
|
||||
<!-- 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 -->
|
||||
|
||||
A trading system may have multiple strategies designed for the same market, with the same base asset.
|
||||
|
||||
An important aspect of trading systems is that they are allocated a certain amount of capital (see the base asset parameter). As a consequence, strategies within a trading system have to share that capital allocation.
|
||||
|
||||
The logic behind the concept of the trigger stage assumes that different strategies within a trading system are specialized for trading in different market conditions. The trigger stage in each strategy is, therefore, the mechanism by which any particular strategy may be selected to trade, given any particular market situation.
|
||||
|
||||
The triggering-on of a strategy effectively blocks the selection of any other strategy in the trading system, and reserves the whole capital allocation for a potential trade, until the strategy is triggered-off.
|
||||
|
||||
As a corollary, if certain strategies are meant to trade under the same market situations and open trades concurrently, then those strategies should be put in separate trading systems.
|
||||
|
||||
<!-- CONTENT ends -->
|
||||
|
||||
{% if include.adding != "" %}
|
||||
|
||||
{{include.adding}} Adding {{preposition}} {{title}}
|
||||
|
||||
<!-- ADDING starts -->
|
||||
|
||||
To add a trigger stage node, select *Add Missing Stages* on the strategy node menu. All stages that may be missing are created along with the rest of the basic structure of nodes required to define each of them and their events.
|
||||
|
||||
{% include note.html content="Only one trigger stage may exist in each strategy." %}
|
||||
|
||||
<!-- ADDING ends -->
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if include.configuring != "" %}
|
||||
|
||||
{{include.configuring}} Configuring the {{title}}
|
||||
|
||||
<!-- CONFIGURING starts -->
|
||||
|
||||
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||
|
||||
<!-- CONFIGURING ends -->
|
||||
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user