Updated Writing Properties (markdown)

HojouFotytu 2019-02-21 12:29:39 +09:00
parent 9d019170a2
commit 7ef0be0f44
1 changed files with 12 additions and 12 deletions

@ -17,34 +17,34 @@ When you are using a collection of properties, you are able to specifically over
**Example:**
`"PairsProperties": {`
`"ALL_buy_value": -0.9,`
`"ALL_trailing_profit": 0.15`
`"DEFAULT_buy_value": -0.9,`
`"DEFAULT_trailing_profit": 0.15`
`}`
# Flat values
You can set a Profit Trailer property to a specific new value to fully overwrite the old value.
**Example:**
`"ALL_buy_value": -0.9`
`"DEFAULT_buy_value": -0.9`
# Offset by value
You can set a Profit Trailer property to a an offset of the current value BY a fixed value.
**Example:**
`"ALL_buy_value_OFFSET": -0.1`
`"DEFAULT_buy_value_OFFSET": -0.1`
- The current setting for ALL_buy_value is -1
- You use "ALL_buy_value_OFFSET": -0.1
- The new setting for ALL_buy_value will be -1.1
- The current setting for DEFAULT_buy_value is -1
- You use "DEFAULT_buy_value_OFFSET": -0.1
- The new setting for DEFAULT_buy_value will be -1.1
=> So the original value got offset by a fixed value
# Offset by percent
You can set a Profit Trailer property to a an offset of the current value BY a percentual value of the old value.
You can set a Profit Trailer property to a an offset of the current value BY a percent of the old value.
**Example:**
`"ALL_buy_value_OFFSETPERCENT": -20`
`"DEFAULT_buy_value_OFFSETPERCENT": -20`
- The current setting for ALL_buy_value is -1
- You use "ALL_buy_value_OFFSETPERCENT": -20
- The new setting for ALL_buy_value will be -1.2
- The current setting for DEFAULT_buy_value is -1
- You use "DEFAULT_buy_value_OFFSETPERCENT": -20
- The new setting for DEFAULT_buy_value will be -1.2
=> So the original value got offset by -20%