OctoBot-Trading 2.4.202__tar.gz → 2.4.204__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.202 → OctoBot-Trading-2.4.204}/CHANGELOG.md +8 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204/OctoBot_Trading.egg-info}/PKG-INFO +2 -2
- {OctoBot-Trading-2.4.202/OctoBot_Trading.egg-info → OctoBot-Trading-2.4.204}/PKG-INFO +2 -2
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/README.md +1 -1
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/__init__.py +1 -1
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/types/rest_exchange.py +2 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/portfolio_util.py +79 -11
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/trade_factory.py +3 -7
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/trades_manager.py +8 -3
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/test_tools/exchanges_test_tools.py +27 -10
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_portfolio_util.py +97 -8
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/trades/test_trade_factory.py +3 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/LICENSE +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/MANIFEST.in +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/OctoBot_Trading.egg-info/SOURCES.txt +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/OctoBot_Trading.egg-info/dependency_links.txt +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/OctoBot_Trading.egg-info/not-zip-safe +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/OctoBot_Trading.egg-info/requires.txt +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/OctoBot_Trading.egg-info/top_level.txt +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/channels.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/contracts.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/modes.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/orders.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/positions.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/profitability.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/symbol_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/trader.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/api/trades.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/constants.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/enums.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/errors.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_channel.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/contracts/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/contracts/contract_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/contracts/future_contract.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/contracts/margin_contract.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/exchange_symbol_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/exchange_symbols_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/funding/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/funding/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/funding/channel/funding.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/funding/channel/funding_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/funding/channel/funding_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/funding/funding_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/kline/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/kline/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/kline/channel/kline.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/kline/channel/kline_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/kline/channel/kline_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/kline/kline_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/candles_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/candles_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/channel/ohlcv.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/channel/ohlcv_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ohlcv/preloaded_candles_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/order_book/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/order_book/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/order_book/channel/order_book.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/order_book/channel/order_book_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/order_book/channel/order_book_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/order_book/order_book_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/channel/price.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/channel/prices_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/channel/prices_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/price_events_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/prices/prices_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/recent_trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/recent_trades/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/recent_trades/channel/recent_trade.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/recent_trades/channel/recent_trade_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/recent_trades/channel/recent_trade_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/recent_trades/recent_trades_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ticker/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ticker/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ticker/channel/ticker.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ticker/channel/ticker_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ticker/channel/ticker_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchange_data/ticker/ticker_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/abstract_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/abstract_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/adapters/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/adapters/abstract_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/config/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/config/backtesting_exchange_config.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/config/exchange_config_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/config/exchange_credentials_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/config/proxy_config.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/ccxt_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/ccxt_client_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/ccxt_clients_cache.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/ccxt_connector.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/ccxt_websocket_connector.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/constants.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/ccxt/enums.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/simulator/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/simulator/ccxt_client_simulation.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/simulator/exchange_simulator_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/simulator/exchange_simulator_connector.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/connectors/util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchange_builder.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchange_channels.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchange_details.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchange_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchange_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchange_websocket_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/exchanges.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/implementations/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/implementations/default_rest_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/implementations/default_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/implementations/exchange_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/traders/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/traders/trader.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/traders/trader_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/types/websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/util/exchange_market_status_fixer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/util/exchange_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/util/symbol_details.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/util/websockets_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/abstract_trading_mode.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/channel/abstract_mode_consumer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/channel/abstract_mode_producer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/channel/mode.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/mode_activity.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/mode_config.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/modes_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/modes_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/account_balance.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/amount.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/configuration.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/price.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/run_persistence.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/trading_signals.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/basic_keywords/user_inputs.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/context_management.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/dsl/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/dsl/quantity.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/script_keywords/dsl/values.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/scripted_trading_mode/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/modes/scripted_trading_mode/abstract_scripted_trading_mode.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/octobot_channel_consumer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/exchange_personal_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/active_order_swap_strategies/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/active_order_swap_strategies/active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/active_order_swap_strategies/stop_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/active_order_swap_strategies/take_profit_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/channel/orders.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/channel/orders_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/channel/orders_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/decimal_order_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/groups/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/groups/balanced_take_profit_and_stop_order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/groups/group_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/groups/one_cancels_the_other_order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/groups/trailing_on_filled_tp_balanced_order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/order_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/order_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/order_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/orders_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/orders_storage_operations.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/cancel_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/close_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/fill_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/open_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/order_state_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/pending_creation_chained_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/states/pending_creation_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/trailing_profiles/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/trailing_profiles/filled_take_profit_trailing_profile.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/trailing_profiles/trailing_price_step.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/trailing_profiles/trailing_profile.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/trailing_profiles/trailing_profile_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/trailing_profiles/trailing_profile_types.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/triggers/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/triggers/base_trigger.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/triggers/price_trigger.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/buy_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/sell_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/stop_loss_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/stop_loss_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/take_profit_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/limit/take_profit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/market/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/market/buy_market_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/market/market_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/market/sell_market_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/trailing/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/trailing/trailing_stop_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/trailing/trailing_stop_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/unknown_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/orders/types/unsupported_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/assets/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/assets/future_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/assets/margin_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/assets/spot_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/channel/balance.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/channel/balance_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/channel/balance_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/history/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/history/historical_asset_value.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/history/historical_asset_value_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/history/historical_portfolio_value_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/portfolio_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/portfolio_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/portfolio_profitability.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/portfolio_value_holder.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/sub_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/sub_portfolio_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/types/future_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/types/margin_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/types/spot_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/portfolios/value_converter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/channel/positions.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/channel/positions_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/channel/positions_updater_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/position_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/position_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/position_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/positions_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/states/active_position_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/states/idle_position_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/states/liquidate_position_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/states/position_state_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/types/inverse_position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/positions/types/linear_position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/channel/trades.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/channel/trades_updater.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/trade.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/trade_pnl.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/trades/trades_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/transaction.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/transaction_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/transactions_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/types/blockchain_transaction.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/types/fee_transaction.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/types/realised_pnl_transaction.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/personal_data/transactions/types/transfer_transaction.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/channel/remote_trading_signal.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/channel/remote_trading_signal_channel_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/channel/signal_producer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/signal_creation.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/trading_signal_bundle_builder.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/signals/util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/abstract_storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/candles_storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/orders_storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/portfolio_storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/storage_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/trades_storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/transactions_storage.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/storage/util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/supervisors/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/supervisors/abstract_portfolio_supervisor.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/supervisors/abstract_supervisor.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/config_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/initializable.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/initialization_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/simulator_updater_utils.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/test_tools/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/test_tools/exchange_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/test_tools/spot_rest_exchange_test_tools.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/util/test_tools/websocket_test_tools.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/requirements.txt +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/setup.cfg +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/setup.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_channels.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_modes.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_orders.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_profitability.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_symbol_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_trader.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/api/test_trades.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/cli/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/contracts/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/contracts/test_future_contract.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/contracts/test_margin_contract.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/funding/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/funding/test_funding_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/kline/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/kline/test_kline_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/ohlcv/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/ohlcv/test_candles_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/ohlcv/test_candles_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/order_book/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/order_book/test_order_book_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/prices/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/prices/test_price_events_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/prices/test_prices_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/recent_trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/recent_trades/test_recent_trades_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/test_exchange_symbols_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/ticker/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchange_data/ticker/test_ticker_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/connectors/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/connectors/ccxt/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/connectors/ccxt/mock_exchanges_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/connectors/ccxt/test_ccxt_connector.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/connectors/test_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/implementations/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/implementations/test_default_rest_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/implementations/test_default_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_abstract_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_abstract_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_exchange_builder.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_exchange_config_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_exchange_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_exchange_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_exchange_simulator.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/test_exchanges.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/traders/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/traders/test_trader.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/types/test_websocket_exchange.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/util/test_exchange_market_status_fixer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/exchanges/util/test_exchange_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/basic_keywords/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/basic_keywords/test_account_balance.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/basic_keywords/test_amount.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/basic_keywords/test_position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/basic_keywords/test_price.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/dsl/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/script_keywords/dsl/test_quantity.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/test_abstract_mode_consumer.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/test_abstract_trading_mode.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/modes/test_modes_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/active_order_swap_strategies/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/active_order_swap_strategies/test_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/active_order_swap_strategies/test_stop_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/active_order_swap_strategies/test_take_profit_first_active_order_swap_strategy.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/groups/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/groups/test_balanced_take_profit_and_stop_order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/groups/test_group_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/groups/test_one_cancels_the_other_order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/groups/test_trailing_on_filled_tp_balanced_order_group.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_cancel_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_close_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_fill_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_open_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_order_state_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_pending_creation_chained_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/states/test_pending_creation_order_state.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_decimal_order_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_double_filled_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_order_adapter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_order_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_order_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_orders_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/test_orders_storage_operations.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/trailing_profiles/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/trailing_profiles/test_filled_take_profit_trailing_profile.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/trailing_profiles/test_trailing_profile_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/triggers/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/triggers/test_base_trigger.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/triggers/test_price_trigger.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_buy_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_sell_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_stop_loss_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_stop_loss_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_take_profit_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/limit/test_take_profit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/market/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/market/test_buy_market_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/market/test_sell_market_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/test_unknown_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/trailing/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/trailing/test_trailing_stop_limit_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/orders/types/trailing/test_trailing_stop_order.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/assets/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/assets/test_future_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/assets/test_margin_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/assets/test_spot_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/history/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/history/test_historical_asset_value_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/history/test_historical_portfolio_value_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_asset.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_portfolio_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_portfolio_profitability.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_portfolio_value_holder.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_sub_portfolio_data.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/test_value_converter.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/types/test_future_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/types/test_margin_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/portfolios/types/test_spot_portfolio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/channel/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/states/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/test_position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/test_position_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/test_positions_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/types/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/types/test_inverse_position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/positions/types/test_linear_position.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/trades/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/trades/test_trade_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/trades/test_trade_pnl.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/trades/test_trade_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/transactions/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/transactions/test_transaction_factory.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/transactions/test_transactions_manager.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/signals/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/signals/test_trading_signal_bundle_builder.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/signals/test_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/test_utils/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/test_utils/order_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/test_utils/random_numbers.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/util/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/util/test_config_util.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/__init__.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/real_exchange_tester.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/real_futures_exchange_tester.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_ascendex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_binance.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_binance_futures.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bingx.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bitfinex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bitget.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bithumb.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bitmart.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bitmex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bitso.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bitstamp.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bybit.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_bybit_futures.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_coinbase.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_coinex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_cryptocom.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_gateio.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_hitbtc.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_hollaex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_htx.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_hyperliquid.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_kraken.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_kucoin.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_kucoin_futures.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_mexc.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_ndax.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_okcoin.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_okx.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_okx_futures.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_phemex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_poloniex.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests_additional/real_exchanges/test_upbit.py +0 -0
- {OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/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.204] - 2025-08-04
|
8
|
+
### Updated
|
9
|
+
[SubPortfolio] handle local exchange symbols fees
|
10
|
+
|
11
|
+
## [2.4.203] - 2025-08-03
|
12
|
+
### Updated
|
13
|
+
[Trades] log parsing error
|
14
|
+
|
7
15
|
## [2.4.202] - 2025-08-01
|
8
16
|
### Added
|
9
17
|
[Exchange] add skipped_create_order_retry context manager
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: OctoBot-Trading
|
3
|
-
Version: 2.4.
|
3
|
+
Version: 2.4.204
|
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.204](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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: OctoBot-Trading
|
3
|
-
Version: 2.4.
|
3
|
+
Version: 2.4.204
|
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.204](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.204](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)
|
{OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/octobot_trading/exchanges/types/rest_exchange.py
RENAMED
@@ -139,6 +139,8 @@ class RestExchange(abstract_exchange.AbstractExchange):
|
|
139
139
|
EXCHANGE_ORDER_IMMEDIATELY_TRIGGER_ERRORS: typing.List[typing.Iterable[str]] = []
|
140
140
|
# text content of errors due to an order that can't be cancelled on exchange (because filled or already cancelled)
|
141
141
|
EXCHANGE_ORDER_UNCANCELLABLE_ERRORS: typing.List[typing.Iterable[str]] = []
|
142
|
+
# set when the exchange can allow users to pay fees in a custom currency (ex: BNB on binance)
|
143
|
+
LOCAL_FEES_CURRENCIES: typing.List[str] = []
|
142
144
|
|
143
145
|
DEFAULT_CONNECTOR_CLASS = ccxt_connector.CCXTConnector
|
144
146
|
|
@@ -609,10 +609,18 @@ def get_portfolio_filled_orders_deltas(
|
|
609
609
|
if (
|
610
610
|
# try while taking possible fees into account
|
611
611
|
asset_name in possible_fees_asset_deltas and (
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
612
|
+
any(
|
613
|
+
abs(min_allowed_equivalent_total_holding)
|
614
|
+
# fees bring back the order delta into the expected portfolio delta window
|
615
|
+
< abs(order_asset_delta + possible_fee)
|
616
|
+
< abs(max_allowed_equivalent_total_holding)
|
617
|
+
for possible_fee in (
|
618
|
+
# try with smaller fees in case user is paying less fees (when having large volume)
|
619
|
+
# test from 10% up to 100% fees
|
620
|
+
possible_fees_asset_deltas[asset_name] * decimal.Decimal(multiplier / 10)
|
621
|
+
for multiplier in range(1, 11)
|
622
|
+
)
|
623
|
+
)
|
616
624
|
)
|
617
625
|
):
|
618
626
|
orders_linked_deltas[asset_name] = holdings_delta
|
@@ -674,6 +682,7 @@ def get_assets_delta_from_orders(orders: list[order_import.Order]) -> (
|
|
674
682
|
asset_deltas = {}
|
675
683
|
expected_fee_related_deltas = {}
|
676
684
|
possible_fee_related_deltas = {}
|
685
|
+
exchange_local_fees_currency_price = _get_exchange_local_fees_currency_price(orders)
|
677
686
|
for order in orders:
|
678
687
|
base, quote = symbol_util.parse_symbol(order.symbol).base_and_quote()
|
679
688
|
# order "expected" related deltas
|
@@ -695,9 +704,11 @@ def get_assets_delta_from_orders(orders: list[order_import.Order]) -> (
|
|
695
704
|
asset_deltas[unit_and_amount[0]] += unit_and_amount[1] * multiplier
|
696
705
|
# order "probable" related deltas (account for worse case fees)
|
697
706
|
expected_forecasted_fees = order.get_computed_fee(use_origin_quantity_and_price=True)
|
698
|
-
possible_forecasted_fees = _get_other_asset_forecasted_fees(
|
699
|
-
|
700
|
-
|
707
|
+
possible_forecasted_fees = _get_other_asset_forecasted_fees(
|
708
|
+
order, expected_forecasted_fees, exchange_local_fees_currency_price
|
709
|
+
)
|
710
|
+
for fee_asset in (base, quote) + tuple(exchange_local_fees_currency_price):
|
711
|
+
for fee in (expected_forecasted_fees, ) + possible_forecasted_fees:
|
701
712
|
is_expected_fee = fee is expected_forecasted_fees
|
702
713
|
if asset_amount := order_util.get_fees_for_currency(fee, fee_asset):
|
703
714
|
for delta_counter in (expected_fee_related_deltas, possible_fee_related_deltas):
|
@@ -710,13 +721,70 @@ def get_assets_delta_from_orders(orders: list[order_import.Order]) -> (
|
|
710
721
|
delta_counter[fee_asset] += -asset_amount
|
711
722
|
return asset_deltas, expected_fee_related_deltas, possible_fee_related_deltas
|
712
723
|
|
713
|
-
def _get_other_asset_forecasted_fees(
|
724
|
+
def _get_other_asset_forecasted_fees(
|
725
|
+
order: order_import.Order, forecasted_fees: dict,
|
726
|
+
exchange_local_fees_currency_price: dict[str, dict[str, decimal.Decimal]]
|
727
|
+
) -> tuple[dict]:
|
714
728
|
base, quote = symbol_util.parse_symbol(order.symbol).base_and_quote()
|
715
729
|
other_fee = copy.deepcopy(forecasted_fees)
|
730
|
+
base_local_fee = None
|
731
|
+
quote_local_fee = None
|
716
732
|
if base_fee := order_util.get_fees_for_currency(forecasted_fees, base):
|
733
|
+
fee_cost = base_fee * order.origin_price
|
717
734
|
other_fee[enums.FeePropertyColumns.CURRENCY.value] = quote
|
718
|
-
other_fee[enums.FeePropertyColumns.COST.value] =
|
735
|
+
other_fee[enums.FeePropertyColumns.COST.value] = fee_cost
|
736
|
+
if base not in exchange_local_fees_currency_price and quote not in exchange_local_fees_currency_price:
|
737
|
+
for fee_currency, fee_price_by_symbol in exchange_local_fees_currency_price.items():
|
738
|
+
for fee_symbol, fee_price in fee_price_by_symbol.items():
|
739
|
+
parsed_fee_symbol = symbol_util.parse_symbol(fee_symbol)
|
740
|
+
# shared base or quote ? divive, multiply otherwise
|
741
|
+
if parsed_fee_symbol.base == base or parsed_fee_symbol.quote == quote:
|
742
|
+
base_local_fee = {
|
743
|
+
enums.FeePropertyColumns.CURRENCY.value: fee_currency,
|
744
|
+
enums.FeePropertyColumns.COST.value: fee_cost / fee_price
|
745
|
+
}
|
746
|
+
elif parsed_fee_symbol.base == quote or parsed_fee_symbol.quote == base:
|
747
|
+
base_local_fee = {
|
748
|
+
enums.FeePropertyColumns.CURRENCY.value: fee_currency,
|
749
|
+
enums.FeePropertyColumns.COST.value: fee_cost * fee_price
|
750
|
+
}
|
719
751
|
elif quote_fee := order_util.get_fees_for_currency(forecasted_fees, quote):
|
752
|
+
fee_cost = quote_fee / order.origin_price
|
720
753
|
other_fee[enums.FeePropertyColumns.CURRENCY.value] = base
|
721
|
-
other_fee[enums.FeePropertyColumns.COST.value] =
|
722
|
-
|
754
|
+
other_fee[enums.FeePropertyColumns.COST.value] = fee_cost
|
755
|
+
if base not in exchange_local_fees_currency_price and quote not in exchange_local_fees_currency_price:
|
756
|
+
for fee_currency, fee_price_by_symbol in exchange_local_fees_currency_price.items():
|
757
|
+
for fee_symbol, fee_price in fee_price_by_symbol.items():
|
758
|
+
parsed_fee_symbol = symbol_util.parse_symbol(fee_symbol)
|
759
|
+
# shared base or quote ? divive, multiply otherwise
|
760
|
+
if parsed_fee_symbol.base == base or parsed_fee_symbol.quote == quote:
|
761
|
+
quote_local_fee = {
|
762
|
+
enums.FeePropertyColumns.CURRENCY.value: fee_currency,
|
763
|
+
enums.FeePropertyColumns.COST.value: fee_cost / fee_price
|
764
|
+
}
|
765
|
+
elif parsed_fee_symbol.base == quote or parsed_fee_symbol.quote == base:
|
766
|
+
quote_local_fee = {
|
767
|
+
enums.FeePropertyColumns.CURRENCY.value: fee_currency,
|
768
|
+
enums.FeePropertyColumns.COST.value: fee_cost * fee_price
|
769
|
+
}
|
770
|
+
return tuple(
|
771
|
+
fee
|
772
|
+
for fee in (other_fee, base_local_fee, quote_local_fee)
|
773
|
+
if fee is not None
|
774
|
+
)
|
775
|
+
|
776
|
+
|
777
|
+
def _get_exchange_local_fees_currency_price(orders: list[order_import.Order]) -> dict[str, dict[str, decimal.Decimal]]:
|
778
|
+
exchange_local_fees_currency_price = {}
|
779
|
+
# use given orders to get the price of the potential local fees currencies
|
780
|
+
# if an order trades this currency, then we can use its price to get the price of the currency
|
781
|
+
for order in orders:
|
782
|
+
for local_fees_currency in order.trader.exchange_manager.exchange.LOCAL_FEES_CURRENCIES:
|
783
|
+
if local_fees_currency not in exchange_local_fees_currency_price:
|
784
|
+
exchange_local_fees_currency_price[local_fees_currency] = {}
|
785
|
+
if (
|
786
|
+
local_fees_currency in symbol_util.parse_symbol(order.symbol).base_and_quote()
|
787
|
+
and order.symbol not in exchange_local_fees_currency_price[local_fees_currency]
|
788
|
+
):
|
789
|
+
exchange_local_fees_currency_price[local_fees_currency][order.symbol] = order.origin_price
|
790
|
+
return exchange_local_fees_currency_price
|
@@ -21,13 +21,9 @@ import octobot_trading.constants as constants
|
|
21
21
|
|
22
22
|
|
23
23
|
def create_trade_instance_from_raw(trader, raw_trade):
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
return create_trade_from_order(order, exchange_trade_id=exchange_trade_id)
|
28
|
-
except KeyError:
|
29
|
-
# Funding trade candidate
|
30
|
-
return None
|
24
|
+
order = create_closed_order_instance_from_raw_trade(trader, raw_trade)
|
25
|
+
exchange_trade_id = raw_trade.get(enums.ExchangeConstantsOrderColumns.EXCHANGE_TRADE_ID.value)
|
26
|
+
return create_trade_from_order(order, exchange_trade_id=exchange_trade_id)
|
31
27
|
|
32
28
|
|
33
29
|
def create_closed_order_instance_from_raw_trade(trader, raw_trade):
|
@@ -52,12 +52,17 @@ class TradesManager(util.Initializable):
|
|
52
52
|
|
53
53
|
def upsert_trade(self, trade_id: str, raw_trade: dict) -> bool:
|
54
54
|
if trade_id not in self.trades:
|
55
|
-
|
56
|
-
|
55
|
+
try:
|
56
|
+
created_trade = personal_data.create_trade_instance_from_raw(self.trader, raw_trade)
|
57
57
|
if trade_id in self.trades:
|
58
58
|
self.logger.debug(f"Replacement of an existing trade: {self.trades[trade_id].to_dict()} "
|
59
|
-
|
59
|
+
f"by {created_trade.to_dict()} on id: {trade_id}")
|
60
60
|
return self._add_trade_if_relevant(trade_id, created_trade)
|
61
|
+
except Exception as err:
|
62
|
+
message = f"Unexpected error when parsing [{self.trader.exchange_manager.exchange_name}] trade"
|
63
|
+
# don't spam with errors, only log warnings
|
64
|
+
self.logger.warning(message)
|
65
|
+
self.logger.exception(err, False, message)
|
61
66
|
return False
|
62
67
|
|
63
68
|
def upsert_trade_instance(self, trade):
|
@@ -286,10 +286,18 @@ async def get_cancelled_orders(
|
|
286
286
|
)
|
287
287
|
async def _get_trades(exchange_manager, symbol: str, trades: list):
|
288
288
|
row_trades = await exchange_manager.exchange.get_my_recent_trades(symbol=symbol)
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
289
|
+
for raw_trade in row_trades:
|
290
|
+
try:
|
291
|
+
trades.append(
|
292
|
+
personal_data.create_trade_instance_from_raw(exchange_manager.trader, raw_trade).to_dict()
|
293
|
+
)
|
294
|
+
except Exception as err:
|
295
|
+
logging.get_logger("get_trades").exception(
|
296
|
+
err,
|
297
|
+
True,
|
298
|
+
f"Unexpected error when parsing [{exchange_manager.exchange_name}] trade "
|
299
|
+
f"({err} {err.__class__.__name__}), trade: {raw_trade}. Ignored trade."
|
300
|
+
)
|
293
301
|
|
294
302
|
|
295
303
|
async def get_trades(
|
@@ -400,10 +408,19 @@ async def get_positions(
|
|
400
408
|
raw_positions = await exchange_manager.exchange.get_positions(symbols=symbols)
|
401
409
|
# initialize relevant contracts first as they might be waited for
|
402
410
|
trading_exchange_data.update_contracts_from_positions(exchange_manager, raw_positions)
|
403
|
-
dict_positions = [
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
411
|
+
dict_positions = []
|
412
|
+
for raw_position in raw_positions:
|
413
|
+
try:
|
414
|
+
dict_positions.append(
|
415
|
+
personal_data.create_position_instance_from_raw(
|
416
|
+
exchange_manager.trader, raw_position
|
417
|
+
).to_dict()
|
418
|
+
)
|
419
|
+
except Exception as err:
|
420
|
+
logging.get_logger("get_positions").exception(
|
421
|
+
err,
|
422
|
+
True,
|
423
|
+
f"Unexpected error when parsing [{exchange_manager.exchange_name}] position"
|
424
|
+
f"({err}. {err.__class__.__name__}), position: {raw_position}. Ignored position."
|
425
|
+
)
|
409
426
|
return dict_positions
|
@@ -478,8 +478,9 @@ def test_get_portfolio_filled_orders_deltas_considering_fees():
|
|
478
478
|
pre_trade_content = _content({"BTC": 0.00226262681, "USDT": 4376.532183487584})
|
479
479
|
post_trade_content = _content({"BTC": 0.00227318792 - BTC_fees, "USDT": 4375.22614367084})
|
480
480
|
filled_orders = [
|
481
|
-
|
482
|
-
_order("BTC/USDT", 0.
|
481
|
+
# note: include ignored local exchange fees
|
482
|
+
_order("BTC/USDT", 0.00108723, 111.778333746, "sell", {"USDT": 0.111778333746}, local_fees_currencies=["BNB"]),
|
483
|
+
_order("BTC/USDT", 0.00109889, 112.972595229, "buy", {"USDT": 0.111778333746}, local_fees_currencies=["BNB"]), # expects USDT as fees but was actually BTC
|
483
484
|
]
|
484
485
|
assert personal_data.get_portfolio_filled_orders_deltas(
|
485
486
|
pre_trade_content, post_trade_content, filled_orders
|
@@ -494,8 +495,9 @@ def test_get_portfolio_filled_orders_deltas_considering_fees():
|
|
494
495
|
pre_trade_content = _content({"BTC": 0.00226262681, "USDT": 4376.532183487584})
|
495
496
|
post_trade_content = _content({"BTC": 0.00227318792, "USDT": 4375.22614367084})
|
496
497
|
filled_orders = [
|
497
|
-
|
498
|
-
_order("BTC/USDT", 0.
|
498
|
+
# note: include ignored local exchange fees
|
499
|
+
_order("BTC/USDT", 0.00108723, 111.778333746, "sell", {"USDT": 0.111778333746}, local_fees_currencies=["BNB"]), # expects USDT as fees but was actually something else (like BNB)
|
500
|
+
_order("BTC/USDT", 0.00109779111, 112.972595229, "buy", {"USDT": 0.111778333746}, local_fees_currencies=["KCS"]), # expects USDT as fees but was actually something else (like BNB)
|
499
501
|
]
|
500
502
|
assert personal_data.get_portfolio_filled_orders_deltas(
|
501
503
|
pre_trade_content, post_trade_content, filled_orders
|
@@ -511,8 +513,9 @@ def test_get_portfolio_filled_orders_deltas_considering_fees():
|
|
511
513
|
pre_trade_content = _content({"MANA": 103.42087452540375, "USDC": actual_fees})
|
512
514
|
post_trade_content = _content({"MANA": 72.65087452540375, "USDC": 0.0827944124999931})
|
513
515
|
filled_orders = [
|
514
|
-
|
515
|
-
_order("MANA/USDC",
|
516
|
+
# note: include unused local exchange fees
|
517
|
+
_order("MANA/USDC", 103.05, 37.005255, "sell", {"USDC": actual_fees * 2}, local_fees_currencies=["BNB"]), # expects 1.2% fees
|
518
|
+
_order("MANA/USDC", 72.28, 36.644921175, "buy", {"USDC": actual_fees * 2}, local_fees_currencies=["BNB"]), # expects 1.2% fees
|
516
519
|
]
|
517
520
|
assert personal_data.get_portfolio_filled_orders_deltas(
|
518
521
|
pre_trade_content, post_trade_content, filled_orders
|
@@ -524,6 +527,92 @@ def test_get_portfolio_filled_orders_deltas_considering_fees():
|
|
524
527
|
error_log.assert_not_called()
|
525
528
|
|
526
529
|
|
530
|
+
def test_get_portfolio_filled_orders_deltas_considering_local_exchange_fees():
|
531
|
+
error_log = mock.Mock()
|
532
|
+
with mock.patch.object(octobot_commons.logging, "get_logger", mock.Mock(return_value=mock.Mock(error=error_log))):
|
533
|
+
# with high fees paid in BNB (real world example)
|
534
|
+
# 1. with buy order
|
535
|
+
pre_trade_content = _content({"BTC": 0.000164, "BNB": 0.3549429, "USDT": 745.08144})
|
536
|
+
post_trade_content = _content({
|
537
|
+
"BTC": 0.006404, # 0.000164+0.00016*39
|
538
|
+
"BNB": 0.37513215, # should be 0.3549429+0.025 = 0.3799429 BUT all order fees were actually paid in BNB for a total of 0.00481075 BNB (which is large (20%) compared to the 0.025 BNB that we just bought)
|
539
|
+
"USDT": 10
|
540
|
+
})
|
541
|
+
filled_orders = [
|
542
|
+
# expected fees are in the wrong currency (actual fees were paid in BNB)
|
543
|
+
_order("BNB/USDT", 0.025, 753.92*0.025, "buy", {"BNB": 0.00015}, local_fees_currencies=["BNB"]),
|
544
|
+
_order("BTC/USDT", 0.00016*39, 114781.0*0.00016*39, "buy", {"BTC": 9.6E-7*39}, local_fees_currencies=["BNB"]), # *39 to simulate 39 total other orders
|
545
|
+
]
|
546
|
+
assert personal_data.get_portfolio_filled_orders_deltas(
|
547
|
+
pre_trade_content, post_trade_content, filled_orders
|
548
|
+
) == (
|
549
|
+
# all deltas are accepted, BNB 20% delta from order is accepted from BNB fees
|
550
|
+
_content({"BTC": 0.00624, "BNB": 0.02018925, "USDT": -735.08144}),
|
551
|
+
{},
|
552
|
+
)
|
553
|
+
error_log.assert_not_called()
|
554
|
+
|
555
|
+
pre_trade_content = _content({"BTC": 0.000164, "BNB": 0.3549429, "USDT": 745.08144})
|
556
|
+
post_trade_content = _content({
|
557
|
+
"BTC": 0.006404, # 0.000164+0.00016*39
|
558
|
+
"BNB": 0.32513215, # should be 0.3549429-0.025 = 0.3299429 BUT all order fees were actually paid in BNB for a total of 0.00481075 BNB (which is large (20%) compared to the 0.025 BNB that we just bought)
|
559
|
+
"USDT": 47.696 # 745.08144-114781.0*0.00016*39+18.848
|
560
|
+
})
|
561
|
+
filled_orders = [
|
562
|
+
# expected fees are in the wrong currency (actual fees were paid in BNB)
|
563
|
+
_order("USDT/BNB", 18.848, 18.848/753.92, "buy", {"BNB": 0.00015}, local_fees_currencies=["BNB"]),
|
564
|
+
_order("BTC/USDT", 0.00016*39, 114781.0*0.00016*39, "buy", {"BTC": 9.6E-7*39}, local_fees_currencies=["BNB"]), # *39 to simulate 39 total other orders
|
565
|
+
]
|
566
|
+
assert personal_data.get_portfolio_filled_orders_deltas(
|
567
|
+
pre_trade_content, post_trade_content, filled_orders
|
568
|
+
) == (
|
569
|
+
# all deltas are accepted, BNB 20% delta from order is accepted from BNB fees
|
570
|
+
_content({"BTC": 0.00624, "BNB": -0.025, "USDT": -697.38544}),
|
571
|
+
{},
|
572
|
+
)
|
573
|
+
error_log.assert_not_called()
|
574
|
+
|
575
|
+
# 2. with sell order
|
576
|
+
pre_trade_content = _content({"BTC": 0.000164, "BNB": 0.3549429, "USDT": 745.08144})
|
577
|
+
post_trade_content = _content({
|
578
|
+
"BTC": 0.006404, # 0.000164+0.00016*39
|
579
|
+
"BNB": 0.32513215, # should be 0.3549429-0.025 = 0.3299429 BUT all order fees were actually paid in BNB for a total of 0.00481075 BNB (which is large (20%) compared to the 0.025 BNB that we just bought)
|
580
|
+
"USDT": 47.696 # 745.08144-114781.0*0.00016*39+18.848
|
581
|
+
})
|
582
|
+
filled_orders = [
|
583
|
+
# expected fees are in the wrong currency (actual fees were paid in BNB)
|
584
|
+
_order("BNB/USDT", 0.025, 753.92*0.025, "sell", {"BNB": 0.00015}, local_fees_currencies=["BNB"]),
|
585
|
+
_order("BTC/USDT", 0.00016*39, 114781.0*0.00016*39, "buy", {"BTC": 9.6E-7*39}, local_fees_currencies=["BNB"]), # *39 to simulate 39 total other orders
|
586
|
+
]
|
587
|
+
assert personal_data.get_portfolio_filled_orders_deltas(
|
588
|
+
pre_trade_content, post_trade_content, filled_orders
|
589
|
+
) == (
|
590
|
+
# all deltas are accepted, BNB 20% delta from order is accepted from BNB fees
|
591
|
+
_content({"BTC": 0.00624, "BNB": -0.025, "USDT": -697.38544}),
|
592
|
+
{},
|
593
|
+
)
|
594
|
+
error_log.assert_not_called()
|
595
|
+
pre_trade_content = _content({"BTC": 0.000164, "BNB": 0.3549429, "USDT": 745.08144})
|
596
|
+
post_trade_content = _content({
|
597
|
+
"BTC": 0.006404, # 0.000164+0.00016*39
|
598
|
+
"BNB": 0.37513215, # should be 0.3549429+0.025 = 0.3799429 BUT all order fees were actually paid in BNB for a total of 0.00481075 BNB (which is large (20%) compared to the 0.025 BNB that we just bought)
|
599
|
+
"USDT": 10
|
600
|
+
})
|
601
|
+
filled_orders = [
|
602
|
+
# expected fees are in the wrong currency (actual fees were paid in BNB)
|
603
|
+
_order("USDT/BNB", 18.848, 18.848/753.92, "sell", {"BNB": 0.00015}, local_fees_currencies=["BNB"]), # reversed symbol
|
604
|
+
_order("BTC/USDT", 0.00016*39, 114781.0*0.00016*39, "buy", {"BTC": 9.6E-7*39}, local_fees_currencies=["BNB"]), # *39 to simulate 39 total other orders
|
605
|
+
]
|
606
|
+
assert personal_data.get_portfolio_filled_orders_deltas(
|
607
|
+
pre_trade_content, post_trade_content, filled_orders
|
608
|
+
) == (
|
609
|
+
# all deltas are accepted, BNB 20% delta from order is accepted from BNB fees
|
610
|
+
_content({"BTC": 0.00624, "BNB": 0.02018925, "USDT": -735.08144}),
|
611
|
+
{},
|
612
|
+
)
|
613
|
+
error_log.assert_not_called()
|
614
|
+
|
615
|
+
|
527
616
|
def test_get_accepted_missed_deltas():
|
528
617
|
# with no delta
|
529
618
|
post_trade_content = _content({"XRP": 40, "USDT": 129.2474232})
|
@@ -819,8 +908,8 @@ def _missing_funds(funds: dict[str, float]) -> dict[str, decimal.Decimal]:
|
|
819
908
|
for key, val in funds.items()
|
820
909
|
}
|
821
910
|
|
822
|
-
def _order(symbol: str, quantity: float, cost: float, side: str, fee: dict = None) -> personal_data.Order:
|
823
|
-
trader = mock.Mock(exchange_manager=mock.Mock())
|
911
|
+
def _order(symbol: str, quantity: float, cost: float, side: str, fee: dict = None, local_fees_currencies: list[str] = []) -> personal_data.Order:
|
912
|
+
trader = mock.Mock(exchange_manager=mock.Mock(exchange=mock.Mock(LOCAL_FEES_CURRENCIES=local_fees_currencies)))
|
824
913
|
order = personal_data.Order(trader)
|
825
914
|
order.symbol = symbol
|
826
915
|
order.origin_quantity = decimal.Decimal(str(quantity))
|
{OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/tests/personal_data/trades/test_trade_factory.py
RENAMED
@@ -58,6 +58,9 @@ class TestTradeFactory:
|
|
58
58
|
async def test_create_trade_instance_from_raw(self):
|
59
59
|
_, exchange_manager, trader = await self.init_default()
|
60
60
|
|
61
|
+
with pytest.raises(KeyError):
|
62
|
+
create_trade_instance_from_raw(trader, {})
|
63
|
+
|
61
64
|
raw_trade = json.loads(
|
62
65
|
"""
|
63
66
|
{
|
File without changes
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/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
|
File without changes
|
File without changes
|
{OctoBot-Trading-2.4.202 → OctoBot-Trading-2.4.204}/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.202 → OctoBot-Trading-2.4.204}/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.202 → OctoBot-Trading-2.4.204}/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.202 → OctoBot-Trading-2.4.204}/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
|