File tree 5 files changed +8
-6
lines changed
additional_tests/exchanges_tests
5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class TestBinanceAuthenticatedExchange(
28
28
# enter exchange name as a class variable here
29
29
EXCHANGE_NAME = "binance"
30
30
ORDER_CURRENCY = "BTC"
31
- SETTLEMENT_CURRENCY = "USDT "
31
+ SETTLEMENT_CURRENCY = "USDC "
32
32
SYMBOL = f"{ ORDER_CURRENCY } /{ SETTLEMENT_CURRENCY } "
33
33
ORDER_SIZE = 50 # % of portfolio to include in test orders
34
34
DUPLICATE_TRADES_RATIO = 0.1 # allow 10% duplicate in trades (due to trade id set to order id)
@@ -41,6 +41,7 @@ class TestBinanceAuthenticatedExchange(
41
41
]
42
42
IS_BROKER_ENABLED_ACCOUNT = False
43
43
IS_AUTHENTICATED_REQUEST_CHECK_AVAILABLE = True # set True when is_authenticated_request is implemented
44
+ CONVERTS_ORDER_SIZE_BEFORE_PUSHING_TO_EXCHANGES = True
44
45
45
46
SPECIAL_ORDER_TYPES_BY_EXCHANGE_ID : dict [
46
47
str , (
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ class TestCoinbaseAuthenticatedExchange(
27
27
):
28
28
# enter exchange name as a class variable here
29
29
EXCHANGE_NAME = "coinbase"
30
- ORDER_CURRENCY = "ADA "
31
- SETTLEMENT_CURRENCY = "BTC "
30
+ ORDER_CURRENCY = "BTC "
31
+ SETTLEMENT_CURRENCY = "USDC "
32
32
SYMBOL = f"{ ORDER_CURRENCY } /{ SETTLEMENT_CURRENCY } "
33
- ORDER_SIZE = 25 # % of portfolio to include in test orders
33
+ ORDER_SIZE = 30 # % of portfolio to include in test orders
34
34
CONVERTS_ORDER_SIZE_BEFORE_PUSHING_TO_EXCHANGES = True
35
35
VALID_ORDER_ID = "8bb80a81-27f7-4415-aa50-911ea46d841c"
36
36
USE_ORDER_OPERATION_TO_CHECK_API_KEY_RIGHTS = True # set True when api key rights can't be checked using a
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class TestKucoinAuthenticatedExchange(
36
36
USE_ORDER_OPERATION_TO_CHECK_API_KEY_RIGHTS = True
37
37
VALID_ORDER_ID = "6617e84c5c1e0000083c71f7"
38
38
IS_AUTHENTICATED_REQUEST_CHECK_AVAILABLE = True # set True when is_authenticated_request is implemented
39
+ CONVERTS_ORDER_SIZE_BEFORE_PUSHING_TO_EXCHANGES = True
39
40
40
41
SPECIAL_ORDER_TYPES_BY_EXCHANGE_ID : dict [
41
42
str , (
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class TestMEXCAuthenticatedExchange(
27
27
# enter exchange name as a class variable here
28
28
EXCHANGE_NAME = "mexc"
29
29
EXCHANGE_TENTACLE_NAME = "MEXC"
30
- ORDER_CURRENCY = "BTC "
30
+ ORDER_CURRENCY = "MX "
31
31
SETTLEMENT_CURRENCY = "USDT"
32
32
SYMBOL = f"{ ORDER_CURRENCY } /{ SETTLEMENT_CURRENCY } "
33
33
ORDER_SIZE = 30 # % of portfolio to include in test orders
Original file line number Diff line number Diff line change 1
1
# Drakkar-Software requirements
2
2
OctoBot-Commons == 1.9.73
3
- OctoBot-Trading == 2.4.161
3
+ OctoBot-Trading == 2.4.162
4
4
OctoBot-Evaluators == 1.9.7
5
5
OctoBot-Tentacles-Manager == 2.9.16
6
6
OctoBot-Services == 1.6.23
You can’t perform that action at this time.
0 commit comments