OctoBot-Trading 2.4.197__tar.gz → 2.4.199__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/CHANGELOG.md +8 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199/OctoBot_Trading.egg-info}/PKG-INFO +2 -2
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/OctoBot_Trading.egg-info/SOURCES.txt +1 -0
- {OctoBot-Trading-2.4.197/OctoBot_Trading.egg-info → OctoBot-Trading-2.4.199}/PKG-INFO +2 -2
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/README.md +1 -1
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/__init__.py +1 -1
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/constants.py +7 -13
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/errors.py +6 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/ccxt_client_util.py +14 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py +2 -2
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/util.py +16 -3
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/order_state.py +6 -2
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/connectors/ccxt/test_ccxt_connector.py +18 -1
- OctoBot-Trading-2.4.199/tests/exchanges/connectors/test_util.py +102 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/LICENSE +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/MANIFEST.in +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/OctoBot_Trading.egg-info/dependency_links.txt +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/OctoBot_Trading.egg-info/not-zip-safe +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/OctoBot_Trading.egg-info/requires.txt +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/OctoBot_Trading.egg-info/top_level.txt +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/channels.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/contracts.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/modes.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/orders.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/positions.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/profitability.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/symbol_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/trader.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/api/trades.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/enums.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_channel.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/contracts/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/contracts/contract_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/contracts/future_contract.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/contracts/margin_contract.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/exchange_symbol_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/exchange_symbols_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/funding/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/funding/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/funding/channel/funding.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/funding/channel/funding_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/funding/channel/funding_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/funding/funding_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/channel/kline.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/channel/kline_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/channel/kline_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/kline_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/candles_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/candles_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/channel/ohlcv.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/preloaded_candles_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/order_book/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/order_book/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/order_book/channel/order_book.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/order_book/channel/order_book_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/order_book/channel/order_book_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/order_book/order_book_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/channel/price.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/channel/prices_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/channel/prices_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/price_events_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/prices_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/recent_trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/recent_trades/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/recent_trades/channel/recent_trade.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/recent_trades/channel/recent_trade_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/recent_trades/channel/recent_trade_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/recent_trades/recent_trades_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/channel/ticker.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/channel/ticker_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/channel/ticker_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/ticker_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/abstract_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/abstract_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/adapters/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/adapters/abstract_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/backtesting_exchange_config.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/exchange_config_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/exchange_credentials_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/proxy_config.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/ccxt_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/ccxt_clients_cache.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/ccxt_websocket_connector.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/constants.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/ccxt/enums.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/simulator/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/simulator/ccxt_client_simulation.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/simulator/exchange_simulator_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/simulator/exchange_simulator_connector.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchange_builder.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchange_channels.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchange_details.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchange_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchange_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchange_websocket_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/exchanges.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/implementations/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/implementations/default_rest_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/implementations/default_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/implementations/exchange_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/traders/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/traders/trader.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/traders/trader_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/types/rest_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/types/websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/util/exchange_market_status_fixer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/util/exchange_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/util/symbol_details.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/util/websockets_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/abstract_trading_mode.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/channel/abstract_mode_consumer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/channel/abstract_mode_producer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/channel/mode.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/mode_activity.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/mode_config.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/modes_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/modes_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/account_balance.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/amount.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/configuration.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/price.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/run_persistence.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/trading_signals.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/basic_keywords/user_inputs.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/context_management.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/dsl/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/dsl/quantity.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/script_keywords/dsl/values.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/scripted_trading_mode/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/modes/scripted_trading_mode/abstract_scripted_trading_mode.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/octobot_channel_consumer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/exchange_personal_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/active_order_swap_strategies/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/active_order_swap_strategies/active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/active_order_swap_strategies/stop_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/active_order_swap_strategies/take_profit_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/channel/orders.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/channel/orders_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/channel/orders_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/decimal_order_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/groups/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/groups/balanced_take_profit_and_stop_order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/groups/group_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/groups/one_cancels_the_other_order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/groups/trailing_on_filled_tp_balanced_order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/order_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/order_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/order_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/orders_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/orders_storage_operations.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/cancel_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/close_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/fill_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/open_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/order_state_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/pending_creation_chained_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/states/pending_creation_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/trailing_profiles/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/trailing_profiles/filled_take_profit_trailing_profile.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/trailing_profiles/trailing_price_step.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/trailing_profiles/trailing_profile.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/trailing_profiles/trailing_profile_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/trailing_profiles/trailing_profile_types.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/triggers/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/triggers/base_trigger.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/triggers/price_trigger.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/buy_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/sell_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/stop_loss_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/stop_loss_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/take_profit_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/limit/take_profit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/market/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/market/buy_market_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/market/market_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/market/sell_market_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/trailing/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/trailing/trailing_stop_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/trailing/trailing_stop_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/unknown_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/orders/types/unsupported_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/assets/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/assets/future_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/assets/margin_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/assets/spot_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/channel/balance.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/channel/balance_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/channel/balance_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/history/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/history/historical_asset_value.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/history/historical_asset_value_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/history/historical_portfolio_value_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/portfolio_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/portfolio_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/portfolio_profitability.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/portfolio_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/portfolio_value_holder.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/sub_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/sub_portfolio_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/types/future_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/types/margin_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/types/spot_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/portfolios/value_converter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/channel/positions.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/channel/positions_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/channel/positions_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/position_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/position_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/position_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/positions_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/states/active_position_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/states/idle_position_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/states/liquidate_position_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/states/position_state_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/types/inverse_position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/positions/types/linear_position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/channel/trades.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/channel/trades_updater.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/trade.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/trade_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/trade_pnl.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/trades_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/trades/trades_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/transaction.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/transaction_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/transactions_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/types/blockchain_transaction.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/types/fee_transaction.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/types/realised_pnl_transaction.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/personal_data/transactions/types/transfer_transaction.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/channel/remote_trading_signal.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/channel/remote_trading_signal_channel_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/channel/signal_producer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/signal_creation.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/trading_signal_bundle_builder.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/signals/util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/abstract_storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/candles_storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/orders_storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/portfolio_storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/storage_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/trades_storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/transactions_storage.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/storage/util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/supervisors/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/supervisors/abstract_portfolio_supervisor.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/supervisors/abstract_supervisor.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/config_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/initializable.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/initialization_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/simulator_updater_utils.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/test_tools/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/test_tools/exchange_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/test_tools/exchanges_test_tools.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/test_tools/spot_rest_exchange_test_tools.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/util/test_tools/websocket_test_tools.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/requirements.txt +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/setup.cfg +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/setup.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_channels.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_modes.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_orders.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_profitability.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_symbol_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_trader.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/api/test_trades.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/cli/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/contracts/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/contracts/test_future_contract.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/contracts/test_margin_contract.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/funding/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/funding/test_funding_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/kline/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/kline/test_kline_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/ohlcv/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/ohlcv/test_candles_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/ohlcv/test_candles_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/order_book/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/order_book/test_order_book_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/prices/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/prices/test_price_events_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/prices/test_prices_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/recent_trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/recent_trades/test_recent_trades_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/test_exchange_symbols_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/ticker/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchange_data/ticker/test_ticker_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/connectors/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/connectors/ccxt/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/connectors/ccxt/mock_exchanges_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/implementations/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/implementations/test_default_rest_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/implementations/test_default_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_abstract_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_abstract_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_exchange_builder.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_exchange_config_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_exchange_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_exchange_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_exchange_simulator.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/test_exchanges.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/traders/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/traders/test_trader.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/types/test_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/util/test_exchange_market_status_fixer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/exchanges/util/test_exchange_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/basic_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/basic_keywords/test_account_balance.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/basic_keywords/test_amount.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/basic_keywords/test_position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/basic_keywords/test_price.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/dsl/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/script_keywords/dsl/test_quantity.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/test_abstract_mode_consumer.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/test_abstract_trading_mode.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/modes/test_modes_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/active_order_swap_strategies/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/active_order_swap_strategies/test_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/active_order_swap_strategies/test_stop_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/active_order_swap_strategies/test_take_profit_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/groups/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/groups/test_balanced_take_profit_and_stop_order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/groups/test_group_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/groups/test_one_cancels_the_other_order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/groups/test_trailing_on_filled_tp_balanced_order_group.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_cancel_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_close_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_fill_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_open_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_order_state_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_pending_creation_chained_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/states/test_pending_creation_order_state.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_decimal_order_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_double_filled_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_order_adapter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_order_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_order_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_orders_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/test_orders_storage_operations.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/trailing_profiles/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/trailing_profiles/test_filled_take_profit_trailing_profile.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/trailing_profiles/test_trailing_profile_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/triggers/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/triggers/test_base_trigger.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/triggers/test_price_trigger.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_buy_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_sell_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_stop_loss_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_stop_loss_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_take_profit_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/limit/test_take_profit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/market/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/market/test_buy_market_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/market/test_sell_market_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/test_unknown_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/trailing/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/trailing/test_trailing_stop_limit_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/orders/types/trailing/test_trailing_stop_order.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/assets/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/assets/test_future_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/assets/test_margin_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/assets/test_spot_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/history/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/history/test_historical_asset_value_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/history/test_historical_portfolio_value_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_asset.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_portfolio_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_portfolio_profitability.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_portfolio_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_portfolio_value_holder.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_sub_portfolio_data.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/test_value_converter.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/types/test_future_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/types/test_margin_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/portfolios/types/test_spot_portfolio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/test_position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/test_position_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/test_positions_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/types/test_inverse_position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/positions/types/test_linear_position.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/trades/test_trade_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/trades/test_trade_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/trades/test_trade_pnl.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/trades/test_trade_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/transactions/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/transactions/test_transaction_factory.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/personal_data/transactions/test_transactions_manager.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/signals/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/signals/test_trading_signal_bundle_builder.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/signals/test_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/test_utils/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/test_utils/order_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/test_utils/random_numbers.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests/util/test_config_util.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/__init__.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/real_exchange_tester.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/real_futures_exchange_tester.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_ascendex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_binance.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_binance_futures.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bingx.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bitfinex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bitget.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bithumb.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bitmart.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bitmex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bitso.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bitstamp.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bybit.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_bybit_futures.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_coinbase.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_coinex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_cryptocom.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_gateio.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_hitbtc.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_hollaex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_htx.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_hyperliquid.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_kraken.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_kucoin.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_kucoin_futures.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_mexc.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_ndax.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_okcoin.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_okx.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_okx_futures.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_phemex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_poloniex.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_upbit.py +0 -0
- {OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/tests_additional/real_exchanges/test_wavesexchange.py +0 -0
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [2.4.199] - 2025-07-09
|
8
|
+
### Fixed
|
9
|
+
[Proxy] add retriable error
|
10
|
+
|
11
|
+
## [2.4.198] - 2025-07-05
|
12
|
+
### Fixed
|
13
|
+
[Orders] fix _is_synchronization_enabled on cleared orders
|
14
|
+
|
7
15
|
## [2.4.197] - 2025-06-26
|
8
16
|
### Fixed
|
9
17
|
[Proxy] handle all aiohttp proxy errors
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: OctoBot-Trading
|
3
|
-
Version: 2.4.
|
3
|
+
Version: 2.4.199
|
4
4
|
Summary: OctoBot project trading package
|
5
5
|
Home-page: https://github.com/Drakkar-Software/OctoBot-Trading
|
6
6
|
Author: Drakkar-Software
|
@@ -16,7 +16,7 @@ Classifier: Operating System :: POSIX
|
|
16
16
|
Requires-Python: >=3.8
|
17
17
|
License-File: LICENSE
|
18
18
|
|
19
|
-
# OctoBot-Trading [2.4.
|
19
|
+
# OctoBot-Trading [2.4.199](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md)
|
20
20
|
[](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Trading?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Trading&utm_campaign=Badge_Grade_Dashboard)
|
21
21
|
[](https://pypi.python.org/pypi/OctoBot-Trading/)
|
22
22
|
[](https://coveralls.io/github/Drakkar-Software/OctoBot-Trading?branch=master)
|
@@ -349,6 +349,7 @@ tests/exchanges/test_exchange_manager.py
|
|
349
349
|
tests/exchanges/test_exchange_simulator.py
|
350
350
|
tests/exchanges/test_exchanges.py
|
351
351
|
tests/exchanges/connectors/__init__.py
|
352
|
+
tests/exchanges/connectors/test_util.py
|
352
353
|
tests/exchanges/connectors/ccxt/__init__.py
|
353
354
|
tests/exchanges/connectors/ccxt/mock_exchanges_data.py
|
354
355
|
tests/exchanges/connectors/ccxt/test_ccxt_connector.py
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: OctoBot-Trading
|
3
|
-
Version: 2.4.
|
3
|
+
Version: 2.4.199
|
4
4
|
Summary: OctoBot project trading package
|
5
5
|
Home-page: https://github.com/Drakkar-Software/OctoBot-Trading
|
6
6
|
Author: Drakkar-Software
|
@@ -16,7 +16,7 @@ Classifier: Operating System :: POSIX
|
|
16
16
|
Requires-Python: >=3.8
|
17
17
|
License-File: LICENSE
|
18
18
|
|
19
|
-
# OctoBot-Trading [2.4.
|
19
|
+
# OctoBot-Trading [2.4.199](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md)
|
20
20
|
[](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Trading?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Trading&utm_campaign=Badge_Grade_Dashboard)
|
21
21
|
[](https://pypi.python.org/pypi/OctoBot-Trading/)
|
22
22
|
[](https://coveralls.io/github/Drakkar-Software/OctoBot-Trading?branch=master)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# OctoBot-Trading [2.4.
|
1
|
+
# OctoBot-Trading [2.4.199](https://github.com/Drakkar-Software/OctoBot-Trading/blob/master/CHANGELOG.md)
|
2
2
|
[](https://app.codacy.com/gh/Drakkar-Software/OctoBot-Trading?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot-Trading&utm_campaign=Badge_Grade_Dashboard)
|
3
3
|
[](https://pypi.python.org/pypi/OctoBot-Trading/)
|
4
4
|
[](https://coveralls.io/github/Drakkar-Software/OctoBot-Trading?branch=master)
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# License along with this library
|
16
16
|
import decimal
|
17
17
|
import os
|
18
|
-
import typing
|
19
18
|
|
20
19
|
import octobot_trading.enums as enums
|
21
20
|
import octobot_commons.enums as commons_enums
|
@@ -74,6 +73,7 @@ DEFAULT_CANDLE_HISTORY_SIZE = 200
|
|
74
73
|
NO_DATA_LIMIT = -1
|
75
74
|
DEFAULT_FAILED_REQUEST_RETRY_TIME = 1
|
76
75
|
FAILED_NETWORK_REQUEST_RETRY_ATTEMPTS = 5
|
76
|
+
FAILED_PROXY_NETWORK_REQUEST_RETRY_ATTEMPTS = 2
|
77
77
|
TOOLS_FAILED_NETWORK_REQUEST_ATTEMPTS = int(os.getenv("TOOLS_FAILED_NETWORK_REQUEST_ATTEMPTS", "2"))
|
78
78
|
TOOLS_FAILED_NETWORK_REQUEST_RETRY_DELAY = int(os.getenv("TOOLS_FAILED_NETWORK_REQUEST_RETRY_DELAY", "5"))
|
79
79
|
DEFAULT_REQUEST_TIMEOUT = int(os.getenv("DEFAULT_REQUEST_TIMEOUT", "20000")) # default ccxt is 10s, use 20
|
@@ -158,19 +158,8 @@ SIMULATOR_TESTED_EXCHANGES = sorted(["bitfinex", "bithumb", "bitstamp", "bitmex"
|
|
158
158
|
"hitbtc", "kraken", "poloniex", "bitso", "ndax", "upbit",
|
159
159
|
"wavesexchange",])
|
160
160
|
|
161
|
-
# text content of errors due to exchange compliancy rules
|
162
|
-
# Warning: should never be a false positive
|
163
|
-
EXCHANGE_COMPLIANCY_ERRORS: typing.List[typing.Iterable[str]] = [
|
164
|
-
# OKX ex: Trading of this pair or contract is restricted due to local compliance requirements
|
165
|
-
("restricted", "compliance"),
|
166
|
-
]
|
167
|
-
|
168
|
-
# text content of errors due to exchange local account permissions (ex: accounts from X country can't trade XYZ)
|
169
|
-
EXCHANGE_ACCOUNT_TRADED_SYMBOL_PERMISSION_ERRORS: typing.List[typing.Iterable[str]] = [
|
170
|
-
# Binance ex: InvalidOrder binance {"code":-2010,"msg":"This symbol is not permitted for this account."}
|
171
|
-
("symbol", "not permitted", "for this account"),
|
172
|
-
]
|
173
161
|
|
162
|
+
# exchanges
|
174
163
|
CONFIG_DEFAULT_FEES = 0.001
|
175
164
|
CONFIG_DEFAULT_SIMULATOR_FEES = 0
|
176
165
|
FEES_SAFETY_MARGIN = decimal.Decimal("1.25") # allow 25% error margin when simulating fees
|
@@ -184,6 +173,11 @@ DEFAULT_SYMBOL_POSITION_MODE = enums.PositionMode.ONE_WAY
|
|
184
173
|
DEFAULT_SYMBOL_FUNDING_RATE = decimal.Decimal("0.00005")
|
185
174
|
DEFAULT_SYMBOL_MAINTENANCE_MARGIN_RATE = decimal.Decimal("0.01")
|
186
175
|
|
176
|
+
# exchange proxy
|
177
|
+
RETRIABLE_EXCHANGE_PROXY_ERRORS_DESC: set[str] = set(os.getenv(
|
178
|
+
"RETRIABLE_EXCHANGE_PROXY_ERROR_DESC", "message='Service Unavailable'"
|
179
|
+
).split(":"))
|
180
|
+
|
187
181
|
# used to force margin type update before positions init (if necessary)
|
188
182
|
FORCED_MARGIN_TYPE = enums.MarginType(os.getenv("FORCED_MARGIN_TYPE", enums.MarginType.ISOLATED.value))
|
189
183
|
|
@@ -39,6 +39,12 @@ class ExchangeProxyError(OctoBotExchangeError):
|
|
39
39
|
"""
|
40
40
|
|
41
41
|
|
42
|
+
class RetriableExchangeProxyError(ExchangeProxyError):
|
43
|
+
"""
|
44
|
+
Raised when an issue related to an exchange proxy that can be instantly retried is encountered
|
45
|
+
"""
|
46
|
+
|
47
|
+
|
42
48
|
class TradingModeIncompatibility(Exception):
|
43
49
|
"""
|
44
50
|
Raised when a trading mode is incompatible with the current situation
|
@@ -514,6 +514,20 @@ def was_latest_request_proxied(ccxt_connector) -> (bool, str):
|
|
514
514
|
return False, ""
|
515
515
|
|
516
516
|
|
517
|
+
def get_proxy_error_class(proxy_error: Exception):
|
518
|
+
if _is_retriable_proxy_error(proxy_error):
|
519
|
+
return errors.RetriableExchangeProxyError
|
520
|
+
return errors.ExchangeProxyError
|
521
|
+
|
522
|
+
|
523
|
+
def _is_retriable_proxy_error(proxy_error: Exception) -> bool:
|
524
|
+
str_err = str(proxy_error)
|
525
|
+
for desc in constants.RETRIABLE_EXCHANGE_PROXY_ERRORS_DESC:
|
526
|
+
if desc in str_err:
|
527
|
+
return True
|
528
|
+
return False
|
529
|
+
|
530
|
+
|
517
531
|
def get_proxy_error_if_any(ccxt_connector, error: Exception) -> typing.Optional[Exception]:
|
518
532
|
if not ccxt_connector.exchange_manager.proxy_config:
|
519
533
|
return None
|
@@ -128,7 +128,7 @@ class CCXTConnector(abstract_exchange.AbstractExchange):
|
|
128
128
|
except Exception as err:
|
129
129
|
# ensure this is not a proxy error, raise dedicated error if it is
|
130
130
|
if proxy_error := ccxt_client_util.get_proxy_error_if_any(self, err):
|
131
|
-
raise
|
131
|
+
raise ccxt_client_util.get_proxy_error_class(proxy_error)(proxy_error) from err
|
132
132
|
raise
|
133
133
|
|
134
134
|
@ccxt_client_util.converted_ccxt_common_errors
|
@@ -1068,7 +1068,7 @@ class CCXTConnector(abstract_exchange.AbstractExchange):
|
|
1068
1068
|
Will re-raise a "[Proxied request] " prefix given error message if relevant, otherwise will just raise the error
|
1069
1069
|
"""
|
1070
1070
|
if proxy_error := ccxt_client_util.get_proxy_error_if_any(self, cause_error):
|
1071
|
-
raise
|
1071
|
+
raise ccxt_client_util.get_proxy_error_class(proxy_error)(proxy_error) from cause_error
|
1072
1072
|
# when api key is wrong or proxy is unavailable
|
1073
1073
|
ccxt_client_util.reraise_with_proxy_prefix_if_relevant(self, cause_error, raised_error)
|
1074
1074
|
# reraise_with_proxy_prefix_if_relevant did not raise, raise the error as is
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/util.py
RENAMED
@@ -23,12 +23,14 @@ import octobot_trading.errors as errors
|
|
23
23
|
|
24
24
|
|
25
25
|
def retried_failed_network_request(
|
26
|
-
attempts=constants.FAILED_NETWORK_REQUEST_RETRY_ATTEMPTS,
|
27
|
-
|
26
|
+
attempts: int = constants.FAILED_NETWORK_REQUEST_RETRY_ATTEMPTS,
|
27
|
+
retriable_proxy_errors_attempts: int = constants.FAILED_PROXY_NETWORK_REQUEST_RETRY_ATTEMPTS,
|
28
|
+
delay: float = constants.DEFAULT_FAILED_REQUEST_RETRY_TIME,
|
28
29
|
):
|
29
30
|
# inner level to allow passing params to the decorator
|
30
31
|
def inner_retried_failed_network_request(func):
|
31
32
|
async def _retried_failed_network_request_wrapper(*args, **kwargs):
|
33
|
+
proxy_error_attempts = 0
|
32
34
|
for attempt in range(attempts):
|
33
35
|
try:
|
34
36
|
resp = await func(*args, **kwargs)
|
@@ -38,8 +40,19 @@ def retried_failed_network_request(
|
|
38
40
|
)
|
39
41
|
return resp
|
40
42
|
except (
|
41
|
-
ccxt.RequestTimeout, ccxt.ExchangeNotAvailable, ccxt.InvalidNonce,
|
43
|
+
ccxt.RequestTimeout, ccxt.ExchangeNotAvailable, ccxt.InvalidNonce,
|
44
|
+
errors.RetriableFailedRequest, errors.RetriableExchangeProxyError
|
42
45
|
) as err:
|
46
|
+
if isinstance(err, errors.RetriableExchangeProxyError):
|
47
|
+
if proxy_error_attempts >= retriable_proxy_errors_attempts - 1:
|
48
|
+
commons_logging.get_logger(f"retried_failed_network_request").warning(
|
49
|
+
f"{func.__name__} raised {html_util.get_html_summary_if_relevant(err)} "
|
50
|
+
f"({err.__class__.__name__}) [proxy error attempts "
|
51
|
+
f"{proxy_error_attempts+1}/{retriable_proxy_errors_attempts}]. "
|
52
|
+
f"Aborting retry attempts."
|
53
|
+
)
|
54
|
+
raise err
|
55
|
+
proxy_error_attempts += 1
|
43
56
|
commons_logging.get_logger(f"retried_failed_network_request").warning(
|
44
57
|
f"{func.__name__} raised {html_util.get_html_summary_if_relevant(err)} "
|
45
58
|
f"({err.__class__.__name__}) [attempts {attempt+1}/{attempts}]. Retrying in {delay} seconds."
|
@@ -148,11 +148,15 @@ class OrderState(state_class.State):
|
|
148
148
|
|
149
149
|
@staticmethod
|
150
150
|
def ensure_not_cleared(order):
|
151
|
-
if order.is_cleared():
|
151
|
+
if order is None or order.is_cleared():
|
152
152
|
raise octobot_trading.errors.InvalidOrderState(f"Order has already been cleared. Order: {order}")
|
153
153
|
|
154
154
|
def _is_synchronization_enabled(self):
|
155
|
-
|
155
|
+
try:
|
156
|
+
self.ensure_not_cleared(self.order)
|
157
|
+
return self.order.is_synchronization_enabled()
|
158
|
+
except octobot_trading.errors.InvalidOrderState:
|
159
|
+
return super()._is_synchronization_enabled()
|
156
160
|
|
157
161
|
def clear(self):
|
158
162
|
"""
|
@@ -25,6 +25,7 @@ from mock import patch
|
|
25
25
|
import octobot_trading.exchanges.connectors as exchange_connectors
|
26
26
|
import octobot_trading.enums as enums
|
27
27
|
import octobot_trading.errors
|
28
|
+
import octobot_trading.constants
|
28
29
|
import octobot_trading.exchange_data.contracts as contracts
|
29
30
|
import octobot_trading.exchanges.connectors.ccxt.ccxt_client_util as ccxt_client_util
|
30
31
|
import pytest
|
@@ -262,10 +263,26 @@ async def test_error_describer(ccxt_connector):
|
|
262
263
|
aiohttp.client_reqrep.ConnectionKey("host", 11, True, True, None, None, None), OSError("plop")
|
263
264
|
)
|
264
265
|
with pytest.raises(octobot_trading.errors.ExchangeProxyError):
|
266
|
+
# non retriable proxy client error
|
267
|
+
with ccxt_connector.error_describer():
|
268
|
+
raise ccxt.ExchangeError from aiohttp.ClientHttpProxyError(
|
269
|
+
aiohttp.client_reqrep.RequestInfo("www.google.com", "GET", {}, "www.google.com"), OSError("plop")
|
270
|
+
)
|
271
|
+
with pytest.raises(octobot_trading.errors.ExchangeProxyError):
|
272
|
+
# non retriable proxy client error
|
273
|
+
with ccxt_connector.error_describer():
|
274
|
+
raise ccxt.ExchangeError from aiohttp.ClientHttpProxyError(
|
275
|
+
aiohttp.client_reqrep.RequestInfo("www.google.com", "GET", {}, "www.google.com"),
|
276
|
+
OSError("plop"),
|
277
|
+
message="random"
|
278
|
+
)
|
279
|
+
with pytest.raises(octobot_trading.errors.RetriableExchangeProxyError):
|
265
280
|
# proxy client error
|
266
281
|
with ccxt_connector.error_describer():
|
267
282
|
raise ccxt.ExchangeError from aiohttp.ClientHttpProxyError(
|
268
|
-
aiohttp.client_reqrep.
|
283
|
+
aiohttp.client_reqrep.RequestInfo("www.google.com", "GET", {}, "www.google.com"),
|
284
|
+
OSError("plop"),
|
285
|
+
message=f"random{next(iter(octobot_trading.constants.RETRIABLE_EXCHANGE_PROXY_ERRORS_DESC))}"
|
269
286
|
)
|
270
287
|
with pytest.raises(octobot_trading.errors.ExchangeProxyError):
|
271
288
|
# socks proxy error
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# Drakkar-Software OctoBot-Trading
|
2
|
+
# Copyright (c) Drakkar-Software, All rights reserved.
|
3
|
+
#
|
4
|
+
# This library is free software; you can redistribute it and/or
|
5
|
+
# modify it under the terms of the GNU Lesser General Public
|
6
|
+
# License as published by the Free Software Foundation; either
|
7
|
+
# version 3.0 of the License, or (at your option) any later version.
|
8
|
+
#
|
9
|
+
# This library is distributed in the hope that it will be useful,
|
10
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
12
|
+
# Lesser General Public License for more details.
|
13
|
+
#
|
14
|
+
# You should have received a copy of the GNU Lesser General Public
|
15
|
+
# License along with this library.
|
16
|
+
import ccxt
|
17
|
+
import mock
|
18
|
+
import pytest
|
19
|
+
import asyncio
|
20
|
+
|
21
|
+
import octobot_trading.exchanges as exchanges
|
22
|
+
import octobot_trading.constants as constants
|
23
|
+
import octobot_trading.errors as errors
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
# All test coroutines will be treated as marked.
|
28
|
+
pytestmark = pytest.mark.asyncio
|
29
|
+
|
30
|
+
|
31
|
+
async def test_retried_failed_network_request():
|
32
|
+
|
33
|
+
request_mock = mock.AsyncMock(return_value=1)
|
34
|
+
@exchanges.connectors.util.retried_failed_network_request()
|
35
|
+
async def _fetch_request(*args, **kwargs):
|
36
|
+
return await request_mock(*args, **kwargs)
|
37
|
+
|
38
|
+
with mock.patch.object(asyncio, "sleep") as sleep_mock:
|
39
|
+
# no error
|
40
|
+
assert await _fetch_request("arg1", kw1=1) == 1
|
41
|
+
request_mock.assert_awaited_once_with("arg1", kw1=1)
|
42
|
+
sleep_mock.assert_not_called()
|
43
|
+
|
44
|
+
# retriable errors
|
45
|
+
for raised_error in [
|
46
|
+
ccxt.ExchangeNotAvailable("Exchange not available"),
|
47
|
+
ccxt.RequestTimeout("Request timeout"),
|
48
|
+
ccxt.InvalidNonce("Invalid nonce"),
|
49
|
+
errors.RetriableFailedRequest("Retriable failed request"),
|
50
|
+
]:
|
51
|
+
request_mock = mock.AsyncMock(side_effect=raised_error)
|
52
|
+
@exchanges.connectors.util.retried_failed_network_request()
|
53
|
+
async def _fetch_request(*args, **kwargs):
|
54
|
+
return await request_mock(*args, **kwargs)
|
55
|
+
with pytest.raises(raised_error.__class__):
|
56
|
+
await _fetch_request("arg1", kw1=1)
|
57
|
+
assert request_mock.call_count == constants.FAILED_NETWORK_REQUEST_RETRY_ATTEMPTS
|
58
|
+
assert sleep_mock.call_count == constants.FAILED_NETWORK_REQUEST_RETRY_ATTEMPTS - 1
|
59
|
+
assert sleep_mock.mock_calls[0].args == (constants.DEFAULT_FAILED_REQUEST_RETRY_TIME,)
|
60
|
+
sleep_mock.reset_mock()
|
61
|
+
|
62
|
+
# retriable proxy errors
|
63
|
+
for raised_error in [
|
64
|
+
errors.RetriableExchangeProxyError("Retriable exchange proxy error"),
|
65
|
+
]:
|
66
|
+
request_mock = mock.AsyncMock(side_effect=raised_error)
|
67
|
+
@exchanges.connectors.util.retried_failed_network_request()
|
68
|
+
async def _fetch_request(*args, **kwargs):
|
69
|
+
return await request_mock(*args, **kwargs)
|
70
|
+
with pytest.raises(raised_error.__class__):
|
71
|
+
await _fetch_request("arg1", kw1=1)
|
72
|
+
assert request_mock.call_count == constants.FAILED_PROXY_NETWORK_REQUEST_RETRY_ATTEMPTS
|
73
|
+
assert sleep_mock.call_count == constants.FAILED_PROXY_NETWORK_REQUEST_RETRY_ATTEMPTS - 1
|
74
|
+
assert sleep_mock.mock_calls[0].args == (constants.DEFAULT_FAILED_REQUEST_RETRY_TIME,)
|
75
|
+
sleep_mock.reset_mock()
|
76
|
+
|
77
|
+
# custom params
|
78
|
+
request_mock = mock.AsyncMock(side_effect=ccxt.ExchangeNotAvailable("Exchange not available"))
|
79
|
+
@exchanges.connectors.util.retried_failed_network_request(
|
80
|
+
attempts=3, retriable_proxy_errors_attempts=1, delay=0.1
|
81
|
+
)
|
82
|
+
async def _fetch_request(*args, **kwargs):
|
83
|
+
return await request_mock(*args, **kwargs)
|
84
|
+
with pytest.raises(ccxt.ExchangeNotAvailable):
|
85
|
+
await _fetch_request("arg1", kw1=1)
|
86
|
+
assert request_mock.call_count == 3
|
87
|
+
assert sleep_mock.call_count == 2
|
88
|
+
assert sleep_mock.mock_calls[0].args == (0.1,)
|
89
|
+
sleep_mock.reset_mock()
|
90
|
+
|
91
|
+
request_mock = mock.AsyncMock(side_effect=errors.RetriableExchangeProxyError("Retriable exchange proxy error"))
|
92
|
+
@exchanges.connectors.util.retried_failed_network_request(
|
93
|
+
attempts=4, retriable_proxy_errors_attempts=4, delay=0.2
|
94
|
+
)
|
95
|
+
async def _fetch_request(*args, **kwargs):
|
96
|
+
return await request_mock(*args, **kwargs)
|
97
|
+
with pytest.raises(errors.RetriableExchangeProxyError):
|
98
|
+
await _fetch_request("arg1", kw1=1)
|
99
|
+
assert request_mock.call_count == 4
|
100
|
+
assert sleep_mock.call_count == 3
|
101
|
+
assert sleep_mock.mock_calls[0].args == (0.2,)
|
102
|
+
sleep_mock.reset_mock()
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/OctoBot_Trading.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/kline/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ohlcv/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/prices/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchange_data/ticker/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/abstract_exchange.py
RENAMED
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/adapters/__init__.py
RENAMED
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/config/proxy_config.py
RENAMED
File without changes
|
{OctoBot-Trading-2.4.197 → OctoBot-Trading-2.4.199}/octobot_trading/exchanges/connectors/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|