Docs moved from Foundations
This commit is contained in:
1 parent
6d41d04cbd
commit
d597b0416d
8 files changed
+9
No files matched your search
+45
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"type": "Trading Bot",
|
||||
"definition": {
|
||||
"text": "A trading bot is a computer program that—based on datasets exposed as products by other bots (counting sensors, indicators and even other trading bots)—applies the trading logic defined on a Trading System to, on one side, generate a complete trading simulation (outputting datasets that include trades, the action of strategies, validation of conditions, etc.), and on the other side, manage the execution of orders when on a forward testing or live trading session.",
|
||||
"updated": 1609861419818,
|
||||
"translations": [
|
||||
{
|
||||
"language": "ES",
|
||||
"text": "Un Trading Bot es un programa informático que, basado en conjuntos de datos expuestos como productos por otros bots (sensores de conteo, indicadores e incluso otros trading bots ), aplica la lógica trading definida en un Trading System para, por un lado, generar una simulación de trading completa (generando conjuntos de datos que incluyen operaciones, la acción de estrategias, validación de condiciones, etc.) y, por otro lado, gestiona la ejecución de órdenes en una sesión ya sea en vivo o no.",
|
||||
"updated": 1624375084844
|
||||
}
|
||||
]
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Content"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "In Superalgos, a trading bot is a computer program designed to leverage the Superalgos infrastructure to provide smart trading features to users building, testing, and deploying trading systems. As such, a trading bot does not feature trading logic in and of itself. Instead, it executes the logic defined in trading systems."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Put in other words, when Superalgos users define trading systems and the trading strategies within, they are not building a trading bot. Instead, they are defining a set of instructions that a trading bot will then interpret and execute."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Trading bots have access to every piece of infrastructure built in Superalgos. One of the noteworthy sections of the infrastructure relevant to trading bots are trading mines themselves. Trading bots may be quite complex pieces of software. To name two of the most prominent characteristics: the bot needs to consider multiple dimensions of information and needs to be highly reliable, as its activity entails monetary transactions."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Trading mines make building trading bots a more accessible feat, providing a framework to produce compartmentalized definitions for the bots' processes and products, just like data mines do for sensors and indicators."
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Configuring"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Trading Bot Configuration",
|
||||
"updated": 1609861438022
|
||||
}
|
||||
]
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"type": "Trading Engine",
|
||||
"definition": {
|
||||
"text": "The trading engine hierarchy is the data structure used by the trading bot to keep runtime information highly accessible and exposed to others.",
|
||||
"translations": [
|
||||
{
|
||||
"language": "ES",
|
||||
"text": "La jerarquia trading engine es la estructura de datos utilizada por el robot comercial para mantener la información en tiempo de ejecución altamente accesible y expuesta a otros.",
|
||||
"updated": 1624452474129
|
||||
}
|
||||
]
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Content"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "You will use this hierarchy for two main purposes:"
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "To let your trading systems access the information processed by the trading bot. This allows strategies to keep track of and react to current and past events—including those involving the exchange, such as orders placed or filled—as the bot is running."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "To keep track of the actions of the trading bot via the design space visual environment and panels over the charts. By analyzing runtime information, you may gain a detailed understanding of what happens, when, and why, throughout a trading session."
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Frequently Asked Questions"
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Can a Trading Engine be shared between two Trading Bots?"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The same trading engine can be used from multiple trading sessions, because it is just a node-based representation of a data structure.",
|
||||
"updated": 1621987910896
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Every time a Task is ran, a snapshot of that data structure, together with a snapshot of the Network and the Bots definitions at their Data Mine is sent from the UI to the Task Server, and from there is consumed by the running Bot. That means that a second Bot can receive the same Trading Engine snapshot and it will never know if other bots were fed with the same information or not.",
|
||||
"updated": 1621987965915
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Do I need to change something at the Trading Engine?"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "You don't need to physically change anything inside trading engine via the UI. The trading engine is a visual representation of the data structure that the trading system uses to store its values, so to speak."
|
||||
},
|
||||
{
|
||||
"style": "Subtitle",
|
||||
"text": "Can I change the values inside the Trading Engine?"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "You access the Trading Engine from within your trading system if there is something in there you would like to change. This is the whole purpose of the User Defined Code node.",
|
||||
"updated": 1621988418300
|
||||
}
|
||||
]
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"type": "Trading Mine",
|
||||
"definition": {
|
||||
"text": "A trading mine is a hierarchy that contains definitions of trading bots and their plotters. These definitions make up the actual programs of such bots—the source code.",
|
||||
"translations": [
|
||||
{
|
||||
"language": "ES",
|
||||
"text": "Un trading mine es una jerarquía que contiene definiciones de trading bots y sus conspiradores. Estas definiciones constituyen los programas reales de dichos bots: el código fuente.",
|
||||
"updated": 1628906153772
|
||||
}
|
||||
]
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Content"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Altough Superalgos is starting out with a single trading bot, the system is prepared to feature as many trading bots as developers are willing to create. As such, a trading mine is a catalog of trading bots."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Notice that, in the context of Superalgos, a trading bot has nothing to do with the trading logic. Think of trading logic as the business rules which—in Superalgos—are defined in trading systems. Anyone may build a Trading System, meaning that creating trading systems and the trading strategies within does not require coding.",
|
||||
"updated": 1609861342619
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Trading mines work similarly to data mines in the sense that they provide the same kind of tools to structure the definitions of bots, including process definitions, product definitions, and plotters."
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Configuring"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Trading Mine Configuration",
|
||||
"updated": 1609861240385
|
||||
}
|
||||
]
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"type": "Trading System",
|
||||
"definition": {
|
||||
"text": "A trading system is a framework handling the low-level logic that serves to structure the processes and methods used to implement and deploy trading strategies.",
|
||||
"translations": [
|
||||
{
|
||||
"language": "ES",
|
||||
"text": "Un trading system es un marco que maneja la lógica de bajo nivel que sirve para estructurar los procesos y métodos utilizados para implementar y desplegar estrategias de trading.",
|
||||
"updated": 1624375355452
|
||||
}
|
||||
]
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Content"
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "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 operating on the same market and sharing the same initial capital allocation."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "You use a trading system to define strategies following the Superalgos Protocol, splitting strategies into four stages: trigger, open, manage, and close."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The concept of describing strategies in stages is fundamental to the methodical aspect of the trading system, as it provides a framework to run every strategy with the same framework, which contributes to developing scalable trading systems that may grow to any number of strategies."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "When a trading system features more than one strategy, the first strategy has precedence over the second, the second over the third, and so on. This means that strategies are evaluated in a sequence. When a given strategy is triggered-on, the remaining strategies in the queue are no longer evaluated until the strategy triggers off. In other words, when multiple strategies are deployed within a single trading system, only one strategy may trade at any given moment, and precedence is given by the order around the trading system node."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "As a corollary to the above, if you wish strategies to operate in different markets, or you wish strategies to be able to take positions simultaneously, then you must set up those strategies in different trading systems."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user