Skip to content

Commit

Permalink
[Requirements] bump
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Dec 26, 2024
1 parent eaf2824 commit 47b1f93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion additional_tests/exchanges_tests/test_binance_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TestBinanceFuturesAuthenticatedExchange(
# enter exchange name as a class variable here
EXCHANGE_NAME = "binance"
CREDENTIALS_EXCHANGE_NAME = "BINANCE_FUTURES"
ORDER_CURRENCY = "BTC"
ORDER_CURRENCY = "BTC" # always use a contract that has a size different from 1 unit of the currency
SETTLEMENT_CURRENCY = "USDC"
SYMBOL = f"{ORDER_CURRENCY}/{SETTLEMENT_CURRENCY}:{SETTLEMENT_CURRENCY}"
INVERSE_SYMBOL = f"{ORDER_CURRENCY}/USD:{ORDER_CURRENCY}"
Expand Down
5 changes: 3 additions & 2 deletions additional_tests/exchanges_tests/test_kucoin_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@ class TestKucoinFuturesAuthenticatedExchange(
# enter exchange name as a class variable here
EXCHANGE_NAME = "kucoin"
CREDENTIALS_EXCHANGE_NAME = "KUCOIN_FUTURES"
ORDER_CURRENCY = "DOT" # DOT to allow for smaller orders
ORDER_CURRENCY = "SOL" # always use a contract that has a size different from 1 unit of the currency
SETTLEMENT_CURRENCY = "USDT"
SYMBOL = f"{ORDER_CURRENCY}/{SETTLEMENT_CURRENCY}:{SETTLEMENT_CURRENCY}"
INVERSE_SYMBOL = f"{ORDER_CURRENCY}/USD:{ORDER_CURRENCY}"
ORDER_SIZE = 10 # % of portfolio to include in test orders
ORDER_SIZE = 5 # % of portfolio to include in test orders
SUPPORTS_GET_LEVERAGE = False
SUPPORTS_SET_LEVERAGE = False
USE_ORDER_OPERATION_TO_CHECK_API_KEY_RIGHTS = True
VALID_ORDER_ID = "6617e84c5c1e0000083c71f7"
EXPECT_MISSING_FEE_IN_CANCELLED_ORDERS = False
IS_AUTHENTICATED_REQUEST_CHECK_AVAILABLE = True # set True when is_authenticated_request is implemented
EXPECTED_QUOTE_MIN_ORDER_SIZE = 40

async def test_get_portfolio(self):
await super().test_get_portfolio()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Drakkar-Software requirements
OctoBot-Commons==1.9.70
OctoBot-Trading==2.4.134
OctoBot-Trading==2.4.136
OctoBot-Evaluators==1.9.7
OctoBot-Tentacles-Manager==2.9.16
OctoBot-Services==1.6.21
Expand Down

0 comments on commit 47b1f93

Please sign in to comment.