You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/webhook-config.md
+9-52Lines changed: 9 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,9 +117,9 @@ Different payloads can be configured for different events. Not all fields are ne
117
117
118
118
## Webhook Message types
119
119
120
-
### Entry
120
+
### Entry / Entry fill
121
121
122
-
The fields in `webhook.entry` are filled when the bot executes a long/short. Parameters are filled using string.format.
122
+
The fields in `webhook.entry`and `webhook.entry_fill`are filled when the bot places a long/short Order to increase a position, or when that order fills respectively. Parameters are filled using string.format.
123
123
Possible parameters are:
124
124
125
125
*`trade_id`
@@ -162,31 +162,9 @@ Possible parameters are:
162
162
*`current_rate`
163
163
*`enter_tag`
164
164
165
-
### Entry fill
165
+
### Exit / Exit fill
166
166
167
-
The fields in `webhook.entry_fill` are filled when the bot filled a long/short order. Parameters are filled using string.format.
168
-
Possible parameters are:
169
-
170
-
*`trade_id`
171
-
*`exchange`
172
-
*`pair`
173
-
*`direction`
174
-
*`leverage`
175
-
*`open_rate`
176
-
*`amount`
177
-
*`open_date`
178
-
*`stake_amount`
179
-
*`stake_currency`
180
-
*`base_currency`
181
-
*`quote_currency`
182
-
*`fiat_currency`
183
-
*`order_type`
184
-
*`current_rate`
185
-
*`enter_tag`
186
-
187
-
### Exit
188
-
189
-
The fields in `webhook.exit` are filled when the bot exits a trade. Parameters are filled using string.format.
167
+
The fields in `webhook.exit` and `webhook.exit_fill` are filled when the bot places an exit order, or when that exit order fills respectively. Parameters are filled using string.format.
190
168
Possible parameters are:
191
169
192
170
*`trade_id`
@@ -195,45 +173,24 @@ Possible parameters are:
195
173
*`direction`
196
174
*`leverage`
197
175
*`gain`
198
-
*`limit`
199
176
*`amount`
200
177
*`open_rate`
201
-
*`profit_amount`
202
-
*`profit_ratio`
203
-
*`stake_currency`
204
-
*`base_currency`
205
-
*`quote_currency`
206
-
*`fiat_currency`
207
-
*`exit_reason`
208
-
*`order_type`
209
-
*`open_date`
210
-
*`close_date`
211
-
212
-
### Exit fill
213
-
214
-
The fields in `webhook.exit_fill` are filled when the bot fills a exit order (closes a Trade). Parameters are filled using string.format.
0 commit comments