binaryoptionstoolsv2 0.2.15__tar.gz → 0.2.16__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.
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/BinaryOptionsToolsV2.pyi +18 -10
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/__init__.py +16 -2
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/closeoption/asynchronous.py +2 -6
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/pocketoption/__init__.py +3 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/pocketoption/asynchronous.py +484 -466
- binaryoptionstoolsv2-0.2.16/BinaryOptionsToolsV2/pocketoption/models.py +61 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/pocketoption/synchronous.py +357 -158
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/Cargo.lock +225 -213
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/PKG-INFO +29 -23
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/README.md +28 -22
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/Cargo.toml +1 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/Readme.md +0 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/closeoption/client.rs +119 -7
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/closeoption/types.rs +170 -1
- binaryoptionstoolsv2-0.2.16/crates/binary_options_tools/src/closeoption/utils.rs +169 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/error.rs +4 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/lib.rs +9 -2
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/mod.rs +3 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/assets.rs +14 -23
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/balance.rs +26 -23
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/deals.rs +75 -130
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/get_candles.rs +398 -144
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/historical_data.rs +61 -47
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/keep_alive.rs +20 -40
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/pending_trades.rs +96 -81
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/raw.rs +15 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/subscriptions.rs +175 -21
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/pocket_client.rs +126 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/ssid.rs +234 -6
- binaryoptionstoolsv2-0.2.16/crates/binary_options_tools/src/pocketoption/try_demo.rs +140 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/types.rs +10 -24
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/utils.rs +109 -282
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/utils/mod.rs +49 -10
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/closeoption_test.rs +17 -3
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/pending_trades_tests.rs +11 -11
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/Cargo.toml +2 -2
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/Readme.md +1 -2
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/closeoption.rs +48 -42
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/config.rs +0 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/error.rs +5 -2
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/lib.rs +7 -3
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/pocketoption.rs +51 -36
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/Cargo.toml +6 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/lib.rs +1 -0
- binaryoptionstoolsv2-0.2.16/crates/core/src/transport.rs +378 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/tests/runner_command_tests.rs +0 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/ActionImpl_README.md +1 -1
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/Cargo.toml +1 -1
- binaryoptionstoolsv2-0.2.15/crates/binary_options_tools/src/closeoption/utils.rs +0 -393
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/closeoption/__init__.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/closeoption/synchronous.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/config.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/pocketoption/tools/__init__.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/pocketoption/tools/login.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/tracing.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/validator.py +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/Cargo.toml +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/LICENSE +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/.gitignore +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/LICENSE +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/data/expert_options_regions.json +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/data/pocket_options_regions.json +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/examples/pending_trades_example.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/examples/test_demo.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/mkds/README.md +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/closeoption/connect.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/closeoption/error.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/closeoption/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/closeoption/state.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/config.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/action.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/client.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/connect.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/error.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/modules/keep_alive.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/modules/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/modules/profile.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/regions.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/state.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/expertoptions/types.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/framework/market.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/framework/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/framework/virtual_market.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/candle.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/connect.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/error.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/server_time.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/modules/trades.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/regions.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/pocketoption/state.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/traits.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/utils/serialize.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/src/validator.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/common/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/comprehensive_pocketoption_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/concurrency.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/deals_module_cleanup.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/deals_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/history_verification_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/pending_trades_cleanup.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/resilient_parsing_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/test_ssid_debug.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/binary_options_tools/tests/trade_state_regression.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/LICENSE +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/build.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/framework.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/logs.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/runtime.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/stream.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/bindings_pyo3/src/validator.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/.gitignore +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/LICENSE +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/README.md +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/diagrams/architecture.txt +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/diagrams/diagram.txt +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/docs/testing-framework.md +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/examples/echo_client.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/examples/middleware_example.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/examples/testing_echo_client.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/macros/Cargo.toml +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/macros/LICENSE +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/macros/src/lib.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/macros/src/modules/lightweight.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/macros/src/modules/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/macros/src/rule.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/builder.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/callback.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/client.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/connector.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/error.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/message.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/middleware.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/reimports.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/rules.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/signals.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/statistics.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/testing.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/traits.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/utils/mod.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/utils/stream.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/utils/time.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/src/utils/tracing.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/tests/middleware_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/tests/rule_macro_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/tests/stream_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/tests/testing_wrapper_tests.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/core/tests/two_step_standalone.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/.gitignore +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/Cargo.lock +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/LICENSE +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/src/action.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/src/lib.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/src/region.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/crates/macros/src/timeout.rs +0 -0
- {binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/pyproject.toml +0 -0
|
@@ -5,15 +5,19 @@ class Action:
|
|
|
5
5
|
Put: "Action"
|
|
6
6
|
|
|
7
7
|
class PyConfig:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
# The Rust constructor takes no arguments; fields are read/written through
|
|
9
|
+
# properties. Defaults mirror `binary_options_tools::config::Config`.
|
|
10
|
+
def __init__(self) -> None: ...
|
|
11
|
+
max_allowed_loops: int
|
|
12
|
+
sleep_interval: int
|
|
13
|
+
reconnect_time: int
|
|
14
|
+
connection_initialization_timeout_secs: int
|
|
15
|
+
timeout_secs: int
|
|
16
|
+
urls: List[str]
|
|
17
|
+
proxy: Optional[str]
|
|
18
|
+
user_agent: Optional[str]
|
|
19
|
+
origin: Optional[str]
|
|
20
|
+
sec_websocket_extensions: Optional[str]
|
|
17
21
|
|
|
18
22
|
class RawValidator:
|
|
19
23
|
@staticmethod
|
|
@@ -72,6 +76,10 @@ class RawPocketOption:
|
|
|
72
76
|
def new_with_config(ssid: str, config: PyConfig) -> "RawPocketOption": ...
|
|
73
77
|
@staticmethod
|
|
74
78
|
async def create_with_config(ssid: str, config: PyConfig) -> "RawPocketOption": ...
|
|
79
|
+
@staticmethod
|
|
80
|
+
def new_try_demo(token: Optional[str] = None) -> "RawPocketOption": ...
|
|
81
|
+
@staticmethod
|
|
82
|
+
async def create_try_demo(token: Optional[str] = None) -> "RawPocketOption": ...
|
|
75
83
|
async def wait_for_assets(self, timeout_secs: float) -> None: ...
|
|
76
84
|
def is_demo(self) -> bool: ...
|
|
77
85
|
async def buy(self, asset: str, amount: float, time: int) -> List[str]: ...
|
|
@@ -87,7 +95,7 @@ class RawPocketOption:
|
|
|
87
95
|
open_type: int,
|
|
88
96
|
amount: float,
|
|
89
97
|
asset: str,
|
|
90
|
-
open_time:
|
|
98
|
+
open_time: str,
|
|
91
99
|
open_price: float,
|
|
92
100
|
timeframe: int,
|
|
93
101
|
min_payout: int,
|
{binaryoptionstoolsv2-0.2.15 → binaryoptionstoolsv2-0.2.16}/BinaryOptionsToolsV2/__init__.py
RENAMED
|
@@ -8,13 +8,21 @@ from .pocketoption import (
|
|
|
8
8
|
PocketOptionAsync as PocketOptionAsync,
|
|
9
9
|
PocketOption as PocketOption,
|
|
10
10
|
RawHandler as RawHandler,
|
|
11
|
+
RawHandlerSync as RawHandlerSync,
|
|
12
|
+
Trade as Trade,
|
|
13
|
+
TradeResult as TradeResult,
|
|
11
14
|
Validator as Validator,
|
|
15
|
+
login as login,
|
|
16
|
+
login_async as login_async,
|
|
12
17
|
__all__ as __pocket_all__,
|
|
13
18
|
)
|
|
14
19
|
from .closeoption import (
|
|
15
20
|
CloseOptionAsync as CloseOptionAsync,
|
|
16
21
|
CloseOption as CloseOption,
|
|
17
|
-
|
|
22
|
+
AsyncRawSubscription as AsyncRawSubscription,
|
|
23
|
+
AsyncSubscription as AsyncSubscription,
|
|
24
|
+
SyncRawSubscription as SyncRawSubscription,
|
|
25
|
+
SyncSubscription as SyncSubscription,
|
|
18
26
|
__all__ as __close_all__,
|
|
19
27
|
)
|
|
20
28
|
|
|
@@ -56,7 +64,7 @@ _rust_exported_names = [
|
|
|
56
64
|
__rust_all__ = [n for n in _rust_exported_names if n in globals()]
|
|
57
65
|
|
|
58
66
|
__all__ = list(
|
|
59
|
-
|
|
67
|
+
dict.fromkeys(
|
|
60
68
|
__pocket_all__
|
|
61
69
|
+ __close_all__
|
|
62
70
|
+ [
|
|
@@ -67,8 +75,14 @@ __all__ = list(
|
|
|
67
75
|
"CloseOptionAsync",
|
|
68
76
|
"CloseOption",
|
|
69
77
|
"RawHandler",
|
|
78
|
+
"Trade",
|
|
79
|
+
"TradeResult",
|
|
70
80
|
"Validator",
|
|
71
81
|
]
|
|
72
82
|
+ __rust_all__
|
|
73
83
|
)
|
|
74
84
|
)
|
|
85
|
+
# The subpackage `__all__` lists include submodule names (e.g. "asynchronous")
|
|
86
|
+
# that only exist there. Expose just the names this package actually resolves,
|
|
87
|
+
# so `from BinaryOptionsToolsV2 import *` works instead of raising AttributeError.
|
|
88
|
+
__all__ = [name for name in __all__ if name in globals()]
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import asyncio
|
|
2
1
|
import json
|
|
3
|
-
import re
|
|
4
2
|
import sys
|
|
5
|
-
import
|
|
6
|
-
from datetime import timedelta
|
|
7
|
-
from typing import TYPE_CHECKING, Dict, List, Optional, Tuple, Union, AsyncGenerator
|
|
3
|
+
from typing import TYPE_CHECKING, List, Optional, Tuple, Union, AsyncGenerator
|
|
8
4
|
|
|
9
5
|
from ..config import Config
|
|
10
6
|
from ..validator import Validator
|
|
11
7
|
|
|
12
8
|
if TYPE_CHECKING:
|
|
13
|
-
from ..BinaryOptionsToolsV2 import Logger
|
|
9
|
+
from ..BinaryOptionsToolsV2 import Logger
|
|
14
10
|
|
|
15
11
|
if sys.version_info < (3, 10):
|
|
16
12
|
|
|
@@ -14,8 +14,11 @@ __all__ = [
|
|
|
14
14
|
"RawHandler",
|
|
15
15
|
"RawHandlerSync",
|
|
16
16
|
"Validator",
|
|
17
|
+
"Trade",
|
|
18
|
+
"TradeResult",
|
|
17
19
|
]
|
|
18
20
|
from .tools.login import login, login_async
|
|
19
21
|
from . import asynchronous, synchronous as synchronous
|
|
20
22
|
from .asynchronous import PocketOptionAsync, RawHandler, Validator
|
|
21
23
|
from .synchronous import PocketOption, RawHandlerSync
|
|
24
|
+
from .models import Trade, TradeResult
|