Order Size Value Zero Or Negative
This commit is contained in:
1 parent
300628097b
commit
95e1d3b632
2 files changed
+39
-9
No files matched your search
@@ -7,10 +7,14 @@
|
||||
"updated": 1610219973766
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Opening Orders",
|
||||
"updated": 1611915623601
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Before creating an order, a few calculations to determine what the order should look like are required, in particular about the rate of the order (see Calculate Order Rate) and the size of the order (see Calculate Order Size).",
|
||||
"updated": 1610219986275
|
||||
"text": "Before creating an order, a few calculations to determine what the order should look like are required, in particular about the rate of the order (see Calculate Order Rate) and the size of the order (see Calculate Order Size)."
|
||||
},
|
||||
{
|
||||
"style": "Text",
|
||||
@@ -33,6 +37,10 @@
|
||||
"style": "Text",
|
||||
"text": "If the order is placed successfully, then all related data structures in the trading engine are updated accordingly, including size placed for the stage in both assets, episode counters, and the particular order’s details."
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Calculate Order Rate"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Calculate Order Rate"
|
||||
@@ -55,6 +63,10 @@
|
||||
"text": "tradingEngineOrder.rate.value = tradingEngine.current.episode.candle.close.value",
|
||||
"updated": 1610220056132
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Calculate Order Size"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Calculate Order Size"
|
||||
@@ -110,6 +122,10 @@
|
||||
"text": "Notice that it is assumed that the target size for the stage is defined both in base asset and the quoted asset. This is because, although the user defines the target size in one asset only, the system converts the definition to the other asset (at an earlier moment), to keep track of accounts on both assets at all times, which is a design requirement.",
|
||||
"updated": 1610220163303
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Not Passing Target Size Validation"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Not Passing Target Size Validation"
|
||||
@@ -171,6 +187,10 @@
|
||||
"text": "tradingEngineOrder.orderBaseAsset.size.value =\ntradingEngineOrder.orderQuotedAsset.size.value /\ntradingEngineOrder.rate.value",
|
||||
"updated": 1610220292334
|
||||
},
|
||||
{
|
||||
"style": "Block",
|
||||
"text": "Not Negative Balance Validation"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Not Negative Balance Validation"
|
||||
|
||||
+17
-7
@@ -3,19 +3,28 @@
|
||||
"pageNumber": "11",
|
||||
"type": "TS LF Trading Bot Warning - Order Size Value Zero Or Negative",
|
||||
"definition": {
|
||||
"text": "Even though we should have opened this order, we did not do it. The order could not be opened because it's size is Zero Or Negative.",
|
||||
"updated": 1611833651413
|
||||
"text": "Even though the bot got the instruction to open this order, it could not be opened because the Size is zero or negative.",
|
||||
"updated": 1611915310058
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "This is normal behaviour you should not worry about. This warning is created in order to let you know that this happened and help you track the details of each trade.",
|
||||
"updated": 1611834477590
|
||||
"style": "Success",
|
||||
"text": "This is normal behavior, so you do not need to worry about it. The trading bot created this warning to let you know that this happened, so that you may keep track of all the details of the trade should you need to. This page provides information that should help you understand the context of the warning.",
|
||||
"updated": 1611915330322
|
||||
},
|
||||
{
|
||||
"style": "Warning",
|
||||
"style": "Important",
|
||||
"text": "Order Size Value Zero Or Negative"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Opening Orders",
|
||||
"updated": 1611915818853
|
||||
},
|
||||
{
|
||||
"style": "Include",
|
||||
"text": "Superalgos->Topic->Opening Orders->Opening Orders"
|
||||
},
|
||||
{
|
||||
"style": "Title",
|
||||
"text": "Context Info"
|
||||
@@ -38,7 +47,8 @@
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "Simulating Sync With the Exchange"
|
||||
"text": "Opening Orders",
|
||||
"updated": 1611915864011
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user