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
💡The position mode is set to ```Hedge position mode```. Note that position mode adjustments cannot be made while you have any open positions or pending orders.
53
+
💡The position mode is set to `Hedge position mode`. Note that position mode adjustments cannot be made while you have any open positions or pending orders.
55
54
56
-
💡The asset mode is set to ```Single-Asset mode```. Note that position mode adjustments cannot be made while you have any open positions or pending orders.
55
+
💡The asset mode is set to `Single-Asset mode`. Note that position mode adjustments cannot be made while you have any open positions or pending orders.
Below are common strategy error messages and their causes.
14
-
15
-
16
-
17
12
18
13
AuthenticationError: Invalid API key, IP, or permissions for the action
19
14
20
15
This error indicates that there is an error in your exchange API configuration. Please check here to ensure that you have provided the correct permissions. Once you have set it up correctly, the next action should not result in an error.
21
16
22
-
23
-
24
-
25
-
26
17
Error: amount 0 should be greater than 0.001
27
18
28
19
Possible explanation:
29
20
30
21
Before following the trades, the quantitative strategy has already opened a position. When the closing signal comes, we do not have any position to close, resulting in the error message 'Quantity cannot be zero.' This error does not require any action; you just need to wait for the next trade to be executed by the quantitative strategy.
31
22
32
-
33
-
34
23
ExchangeError: Order's position side does not match user's setting
35
24
36
25
This error indicates that there is an error in your exchange settings. Please check here for verification.
37
26
38
-
39
27
When the robot is activated, it uses the API to set the correct configurations on the exchange:
40
28
41
29
1. Position mode should be set to dual (both long and short positions).
@@ -44,17 +32,11 @@ When the robot is activated, it uses the API to set the correct configurations o
44
32
45
33
Currently, we are aware that if there are existing positions and the leverage is adjusted, the exchange may return an error. If the setting fails, it will result in this error.
46
34
47
-
48
-
49
35
InvalidOrder: ReduceOnly Order is rejected
50
-
Got error while sending order to exchange. InvalidOrder: binance {"code":-2022,"msg":"ReduceOnly Order is rejected."}
51
-
52
-
36
+
Got error while sending order to exchange. InvalidOrder: binance `{"code":-2022,"msg":"ReduceOnly Order is rejected."}`
Several reasons you might want to check for reduceOnly order rejection:
60
42
@@ -69,5 +51,3 @@ A little bit explanation for #3 -
69
51
Let’s say your current position is 1 BTC for short; And you have an open order to close this BTC at 10000; If you place another order to close 1 BTC at 9999, it’d be rejected. (Because the order with 10000 for sure would be filled and close everything before this “9999” order )
70
52
71
53
If you still think you shouldn’t have been rejected after checking above things, please contact CS
0 commit comments