updated documentation for webhook
This commit is contained in:
parent
ea418bc9ac
commit
6e24274dca
@ -116,6 +116,9 @@ Possible parameters are:
|
|||||||
* `order_type`
|
* `order_type`
|
||||||
* `current_rate`
|
* `current_rate`
|
||||||
* `enter_tag`
|
* `enter_tag`
|
||||||
|
* `gain`
|
||||||
|
* `profit_amount`
|
||||||
|
* `profit_ratio`
|
||||||
|
|
||||||
### Webhookbuycancel
|
### Webhookbuycancel
|
||||||
|
|
||||||
@ -154,9 +157,11 @@ Possible parameters are:
|
|||||||
* `order_type`
|
* `order_type`
|
||||||
* `current_rate`
|
* `current_rate`
|
||||||
* `enter_tag`
|
* `enter_tag`
|
||||||
|
* `gain`
|
||||||
|
* `profit_amount`
|
||||||
|
* `profit_ratio`
|
||||||
|
|
||||||
### Webhooksell
|
### Webhooksell
|
||||||
# TODO-lev add support for long and short?
|
|
||||||
The fields in `webhook.webhooksell` are filled when the bot sells a trade. Parameters are filled using string.format.
|
The fields in `webhook.webhooksell` are filled when the bot sells a trade. Parameters are filled using string.format.
|
||||||
Possible parameters are:
|
Possible parameters are:
|
||||||
|
|
||||||
@ -186,6 +191,8 @@ Possible parameters are:
|
|||||||
* `trade_id`
|
* `trade_id`
|
||||||
* `exchange`
|
* `exchange`
|
||||||
* `pair`
|
* `pair`
|
||||||
|
* `is_short`
|
||||||
|
* `leverage`
|
||||||
* `gain`
|
* `gain`
|
||||||
* `close_rate`
|
* `close_rate`
|
||||||
* `amount`
|
* `amount`
|
||||||
|
Loading…
Reference in New Issue
Block a user