webull-openapi-python-sdk 3.1.0__tar.gz → 3.1.2__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.
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/PKG-INFO +1 -1
- webull_openapi_python_sdk-3.1.2/samples/__init__.py +1 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client_v3.py +5 -0
- webull_openapi_python_sdk-3.1.2/webull/__init__.py +1 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/__init__.py +1 -1
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/composer/default_signature_composer.py +6 -5
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/client.py +11 -4
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/response.py +3 -2
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/sse/signature_composer.py +3 -2
- webull_openapi_python_sdk-3.1.2/webull/core/utils/desensitize.py +105 -0
- webull_openapi_python_sdk-3.1.2/webull/data/__init__.py +3 -0
- webull_openapi_python_sdk-3.1.2/webull/trade/__init__.py +1 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/currency.py +1 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/events/signature_composer.py +4 -3
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade_events_client.py +3 -2
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull_openapi_python_sdk.egg-info/PKG-INFO +1 -1
- webull_openapi_python_sdk-3.1.0/samples/__init__.py +0 -1
- webull_openapi_python_sdk-3.1.0/webull/__init__.py +0 -1
- webull_openapi_python_sdk-3.1.0/webull/core/utils/desensitize.py +0 -31
- webull_openapi_python_sdk-3.1.0/webull/data/__init__.py +0 -3
- webull_openapi_python_sdk-3.1.0/webull/trade/__init__.py +0 -1
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/ChangeLog.txt +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/LICENSE +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/MANIFEST.in +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/NOTICE +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/README.rst +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/account/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/account/account_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/assets/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/assets/assets_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/community.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/data_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/data_client_event.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/data_streaming_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/data_streaming_client_async.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/data_streaming_client_event.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/order/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/order/order_option_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/order/order_stock_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/screener/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/screener/screener_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client_v3_event.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_event_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_event_sse_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/watchlist/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/watchlist/watchlist_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/setup.cfg +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/setup.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/algorithm/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/algorithm/sha_hmac1.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/algorithm/sha_hmac256.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/algorithm/sha_hmac256_new.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/composer/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/credentials.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/signers/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/signers/app_key_signer.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/signers/signer.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/signers/signer_factory.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/cache/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/api_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/easy_enum.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/region.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/compat.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/context/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/context/request_context_holder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/data/endpoints.json +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/data/retry_config.json +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/chained_endpoint_resolver.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/default_endpoint_resolver.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/local_config_regional_endpoint_resolver.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/resolver_endpoint_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/user_customized_endpoint_resolver.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/exception/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/exception/error_code.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/exception/error_msg.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/exception/exceptions.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/headers.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/client_initializer.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/config/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/config/bean/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/config/bean/query_config_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/config/config_operation.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/bean/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/bean/access_token.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/bean/check_token_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/bean/create_token_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/bean/refresh_token_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/token_manager.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/token_operation.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/initializer/token/token_storage.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/method_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/protocol_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/retry/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/retry/backoff_strategy.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/retry/retry_condition.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/retry/retry_policy.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/retry/retry_policy_context.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/sse/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/sse/default_retry_policy.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/sse/sse_parser.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/sse/subscribe_response.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/utils/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/utils/common.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/utils/data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/utils/validation.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/category.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/connect_ack.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/contract_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/direction.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/exchange_code.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/exercise_style.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/expiration_cycle.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/instrument_status.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/option_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/subscribe_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/common/timespan.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/data_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/data_streaming_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/default_retry_policy.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/exceptions.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/quotes_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/quotes_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/quotes_payload_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/internal/quotes_topic.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/community.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/crypto_market_data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/event_market_data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/fundamentals.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/futures_market_data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/instrument.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/market_data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/market_streaming_data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/news.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/option_market_data.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/screener.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/ask_bid_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/basic_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/broker_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/event_depth_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/event_depth_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/event_snapshot_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/event_snapshot_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/event_tick_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/event_tick_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/message_pb2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/notice_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/order_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/payload_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/quote_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/quote_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/snapshot_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/snapshot_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/tick_decoder.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/subscribe/tick_result.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/quotes/watchlist.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/create_comment_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/create_post_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_analyst_rating_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_analyst_target_price_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_batch_historical_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_capital_flow_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_company_profile_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_corp_action_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_crypto_historical_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_crypto_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_crypto_instruments_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_crypto_snapshot_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_dividend_calendar_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_earnings_calendar_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_economic_calendar_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_eod_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_depth_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_events_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_instrument_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_instrument_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_series_categories.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_series_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_series_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_snapshot_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_event_tick_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_financials_alert_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_financials_balance_sheet_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_financials_cashflow_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_financials_income_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_financials_indicators_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_footprint_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_forecast_eps_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_allocation_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_brief_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_dividends_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_dividends_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_files_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_holdings_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_net_value_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_performance_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_rating_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_fund_splits_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_depth_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_footprint_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_historical_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_instruments_by_code_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_product_class.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_products_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_snapshot_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_futures_tick_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_historical_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_industry_comparison_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_insider_holdings_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_insider_transactions_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_institution_holding_changes_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_institution_holdings_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_institution_search_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_instruments_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_news_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_news_search_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_noii_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_noii_snapshot_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_option_bars_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_option_contracts_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_option_contracts_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_option_snapshot_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_option_tick_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_post_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_quotes_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_sec_filings_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_snapshot_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_stock_news_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/get_tick_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/list_hot_stocks_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/list_my_posts_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/list_posts_by_symbol_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_52whl_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_52whl_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_fear_and_greed_index_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_gainers_losers_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_gainers_losers_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_high_dividend_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_high_dividend_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_market_sectors_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_market_sectors_detail_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_market_sectors_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_market_sectors_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_most_active_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_most_active_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/screener/get_stock_unusual_activities_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/subscribe_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/unsubscribe_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/add_watchlist_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/create_watchlist_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/delete_watchlist_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/get_watchlist_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/get_watchlist_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/remove_watchlist_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/update_watchlist_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/data/request/watchlist/update_watchlist_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/account_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/category.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/combo_ticker_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/combo_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/forbid_reason.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/instrument_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/markets.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/order_entrust_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/order_side.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/order_status.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/order_tif.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/order_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/position_intent.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/trade_policy.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/trading_date_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/trailing_type.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/common/transfer_activities_param.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/events/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/events/default_retry_policy.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/events/events_pb2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/events/events_pb2_grpc.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/events/types.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/cancel_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_account_balance_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_account_positions_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_account_profile_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_activities_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_activities_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_app_subscriptions.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_open_orders_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_order_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_today_orders_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_trade_calendar_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_trade_instrument_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_trade_security_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/get_tradeable_instruments_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/palce_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/place_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/place_order_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/replace_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/replace_order_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/cancel_option_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/cancel_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_account_balance_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_account_list.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_account_list_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_account_position_details_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_account_position_details_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_account_positions_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_order_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_order_executions_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_order_executions_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_order_history_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/get_order_open_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/palce_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/place_option_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/place_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/preview_option_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/preview_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/replace_option_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v2/replace_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/batch_place_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/cancel_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_order_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_order_history_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_order_history_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_order_open_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_order_open_request_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_transfer_activities_detail_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/get_transfer_activities_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/place_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/preview_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/request/v3/replace_order_request.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/account_info.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/activity.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/order_operation.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/trade_calendar.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/trade_instrument.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/v2/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/v2/account_info_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/v2/order_operation_v2.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/v3/__init__.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade/v3/order_operation_v3.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/trade/trade_events_sse_client.py +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull_openapi_python_sdk.egg-info/SOURCES.txt +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull_openapi_python_sdk.egg-info/dependency_links.txt +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull_openapi_python_sdk.egg-info/requires.txt +0 -0
- {webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull_openapi_python_sdk.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.1.2'
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client_v3.py
RENAMED
|
@@ -94,6 +94,11 @@ if __name__ == '__main__':
|
|
|
94
94
|
# Currently, only Webull JP is supported.
|
|
95
95
|
# "account_tax_type":"GENERAL",
|
|
96
96
|
# "margin_type": "ONE_DAY"
|
|
97
|
+
# trade_currency: Currently, only Webull JP is supported.
|
|
98
|
+
# Specifies the settlement currency of the order. Only applicable to Japan stock (JP) orders,
|
|
99
|
+
# and required for JP market orders in both preview_order and place_order.
|
|
100
|
+
# Valid values: JPY, USD.
|
|
101
|
+
# "trade_currency": "JPY"
|
|
97
102
|
}
|
|
98
103
|
]
|
|
99
104
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.1.2'
|
|
@@ -42,6 +42,7 @@ from webull.core.auth.algorithm import sha_hmac256_new
|
|
|
42
42
|
from webull.core.exception import error_code
|
|
43
43
|
from webull.core.exception.exceptions import ClientException
|
|
44
44
|
from webull.core.utils import common
|
|
45
|
+
from webull.core.utils.desensitize import desensitize_secret, mask_sensitive_headers, mask_sensitive_text, mask_value_in_text
|
|
45
46
|
import webull.core.headers as hd
|
|
46
47
|
from six import iteritems
|
|
47
48
|
from six.moves.urllib.parse import quote
|
|
@@ -109,9 +110,9 @@ def _lower_key_dict(od):
|
|
|
109
110
|
|
|
110
111
|
def calc_signature(headers, host, uri, queries, body_params, app_key_id, app_key_secret, signer_spec):
|
|
111
112
|
sign_headers,signer_spec = _refresh_sign_headers(host, headers, app_key_id, signer_spec)
|
|
112
|
-
logger.debug("sign_headers:%s", sign_headers)
|
|
113
|
+
logger.debug("sign_headers:%s", mask_sensitive_headers(sign_headers))
|
|
113
114
|
sign_params = _lower_key_dict(sign_headers)
|
|
114
|
-
logger.debug("sign_queries:%s", queries)
|
|
115
|
+
logger.debug("sign_queries:%s", mask_sensitive_text(queries))
|
|
115
116
|
if queries :
|
|
116
117
|
for (k, v) in iteritems(queries):
|
|
117
118
|
cv = sign_params.get(k)
|
|
@@ -120,12 +121,12 @@ def calc_signature(headers, host, uri, queries, body_params, app_key_id, app_key
|
|
|
120
121
|
else:
|
|
121
122
|
cv = str(v)
|
|
122
123
|
sign_params[k] = cv
|
|
123
|
-
logger.debug("body:%s", body_params)
|
|
124
|
+
logger.debug("body:%s", mask_sensitive_text(body_params))
|
|
124
125
|
body_string = _get_body_string(body_params, signer_spec)
|
|
125
126
|
logger.debug("body_string:%s" % body_string)
|
|
126
127
|
string_to_sign = _build_sign_string(sign_params, uri, body_string)
|
|
127
|
-
logger.debug("string_to_sign:%s" % string_to_sign)
|
|
128
|
+
logger.debug("string_to_sign:%s" % mask_value_in_text(string_to_sign, app_key_id))
|
|
128
129
|
signature = _gen_signature(string_to_sign, app_key_secret, signer_spec)
|
|
129
130
|
headers[hd.SIGNATURE] = signature
|
|
130
|
-
logger.debug("signature:%s", signature)
|
|
131
|
+
logger.debug("signature:%s", desensitize_secret(signature))
|
|
131
132
|
return signature
|
|
@@ -62,6 +62,7 @@ from webull.core.request import BaseRequest
|
|
|
62
62
|
from webull.core.retry.retry_condition import RetryCondition
|
|
63
63
|
from webull.core.retry.retry_policy_context import RetryPolicyContext
|
|
64
64
|
from webull.core.utils import common, validation
|
|
65
|
+
from webull.core.utils.desensitize import mask_sensitive_text
|
|
65
66
|
from requests import codes
|
|
66
67
|
from requests.structures import CaseInsensitiveDict
|
|
67
68
|
from requests.structures import OrderedDict
|
|
@@ -327,7 +328,8 @@ class ApiClient:
|
|
|
327
328
|
except IOError as e:
|
|
328
329
|
exception = ClientException(error_code.SDK_HTTP_ERROR, compat.ensure_string('%s' % e))
|
|
329
330
|
msg = "HttpError occurred. Host:%s SDK-Version:%s Request:%s ClientException:%s" % (
|
|
330
|
-
endpoint, webull.core.__version__,
|
|
331
|
+
endpoint, webull.core.__version__,
|
|
332
|
+
mask_sensitive_text(json.dumps(vars(request), default=str, indent=2)), exception)
|
|
331
333
|
logger.error(compat.ensure_string(msg))
|
|
332
334
|
return None, None, None, exception, None
|
|
333
335
|
exception = self._get_server_exception(request, status, headers, body, endpoint, request.string_to_sign)
|
|
@@ -353,12 +355,15 @@ class ApiClient:
|
|
|
353
355
|
body_obj = json.loads(response_body.decode('utf-8'))
|
|
354
356
|
except (ValueError, TypeError, AttributeError):
|
|
355
357
|
logger.warning('Failed to parse response as json format, Request:%s response:%s, request_id:%s',
|
|
356
|
-
json.dumps(vars(request), default=str, indent=2),
|
|
358
|
+
mask_sensitive_text(json.dumps(vars(request), default=str, indent=2)),
|
|
359
|
+
mask_sensitive_text(response_body), request_id)
|
|
357
360
|
if http_status < codes.OK or http_status >= codes.MULTIPLE_CHOICES:
|
|
358
361
|
server_error_code, server_error_msg = self._parse_error_info_from_response_body(body_obj)
|
|
359
362
|
exception = ServerException(server_error_code, server_error_msg, http_status, request_id)
|
|
360
363
|
msg = "ServerException occurred. Host:%s SDK-Version:%s Request:%s Response:%s ServerException:%s" % (
|
|
361
|
-
endpoint, webull.core.__version__,
|
|
364
|
+
endpoint, webull.core.__version__,
|
|
365
|
+
mask_sensitive_text(json.dumps(vars(request), default=str, indent=2)),
|
|
366
|
+
mask_sensitive_text(body_obj), exception)
|
|
362
367
|
logger.error(compat.ensure_string(msg))
|
|
363
368
|
return exception
|
|
364
369
|
|
|
@@ -426,5 +431,7 @@ class ApiClient:
|
|
|
426
431
|
if exception:
|
|
427
432
|
logger.error("get_response exception. %s", json.dumps(vars(exception), default=str, indent=2))
|
|
428
433
|
raise exception
|
|
429
|
-
logger.
|
|
434
|
+
if logger.isEnabledFor(logging.DEBUG):
|
|
435
|
+
logger.debug('Response received, status:%s, headers:%s, body:%s' % (
|
|
436
|
+
status, mask_sensitive_text(dict(headers) if headers else headers), mask_sensitive_text(body)))
|
|
430
437
|
return response
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/response.py
RENAMED
|
@@ -45,6 +45,7 @@ from requests import Request, Session
|
|
|
45
45
|
from webull.core.http.request import Request as HttpRequest
|
|
46
46
|
from webull.core.http import protocol_type as PT
|
|
47
47
|
from requests import status_codes
|
|
48
|
+
from webull.core.utils.desensitize import mask_sensitive_headers, mask_sensitive_text
|
|
48
49
|
|
|
49
50
|
|
|
50
51
|
logger = logging.getLogger(__name__)
|
|
@@ -100,7 +101,7 @@ class Response(HttpRequest):
|
|
|
100
101
|
@staticmethod
|
|
101
102
|
def prepare_http_debug(request, symbol):
|
|
102
103
|
base = ''
|
|
103
|
-
for key, value in request.headers.items():
|
|
104
|
+
for key, value in mask_sensitive_headers(request.headers).items():
|
|
104
105
|
base += '\n%s %s : %s' % (symbol, key, value)
|
|
105
106
|
return base
|
|
106
107
|
|
|
@@ -115,7 +116,7 @@ class Response(HttpRequest):
|
|
|
115
116
|
response.status_code, status_codes._codes.get(response.status_code)[0].upper())
|
|
116
117
|
logger.debug(response_base + self.prepare_http_debug(response, '<'))
|
|
117
118
|
|
|
118
|
-
logger.debug("\n<\n" + response.text)
|
|
119
|
+
logger.debug("\n<\n" + mask_sensitive_text(response.text))
|
|
119
120
|
|
|
120
121
|
def get_verify_value(self):
|
|
121
122
|
if self.__verify is not None:
|
|
@@ -19,6 +19,7 @@ from webull.core.auth.algorithm import sha_hmac256_new
|
|
|
19
19
|
from webull.core.auth.composer import default_signature_composer
|
|
20
20
|
import webull.core.headers as hd
|
|
21
21
|
import webull.core.utils.common as core_common
|
|
22
|
+
from webull.core.utils.desensitize import mask_sensitive_headers, mask_value_in_text
|
|
22
23
|
|
|
23
24
|
logger = logging.getLogger(__name__)
|
|
24
25
|
|
|
@@ -61,12 +62,12 @@ def calc_signature(app_key_id, app_key_secret, body_bytes, signer_spec):
|
|
|
61
62
|
"""
|
|
62
63
|
headers = _build_sign_headers(app_key_id, signer_spec)
|
|
63
64
|
sign_params = default_signature_composer._lower_key_dict(headers)
|
|
64
|
-
logger.debug("sign_params:%s", sign_params)
|
|
65
|
+
logger.debug("sign_params:%s", mask_sensitive_headers(sign_params))
|
|
65
66
|
body_string = _get_body_string(body_bytes, signer_spec)
|
|
66
67
|
logger.debug("body_string:%s", body_string)
|
|
67
68
|
string_to_sign = default_signature_composer._build_sign_string(
|
|
68
69
|
sign_params, None, body_string)
|
|
69
|
-
logger.debug("string_to_sign:%s", string_to_sign)
|
|
70
|
+
logger.debug("string_to_sign:%s", mask_value_in_text(string_to_sign, app_key_id))
|
|
70
71
|
signature = default_signature_composer._gen_signature(
|
|
71
72
|
string_to_sign, app_key_secret, signer_spec)
|
|
72
73
|
headers[hd.SIGNATURE] = signature
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# Copyright 2022 Webull
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
# coding=utf-8
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import re
|
|
19
|
+
|
|
20
|
+
_MASK = "******"
|
|
21
|
+
_KEEP_LENGTH = 2
|
|
22
|
+
_MASK_LENGTH = 6
|
|
23
|
+
_MIN_MASKED_LENGTH = 12
|
|
24
|
+
|
|
25
|
+
_SENSITIVE_KEYS = (
|
|
26
|
+
"token", "access_token", "accesstoken", "x-access-token", "refresh_token", "refreshtoken",
|
|
27
|
+
"app_key", "appkey", "x-app-key", "app_secret", "appsecret", "secret_key", "secretkey",
|
|
28
|
+
"secret", "signature", "x-signature", "authorization",
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
_KEYS_REGEX = "|".join(re.escape(k) for k in sorted(_SENSITIVE_KEYS, key=len, reverse=True))
|
|
32
|
+
|
|
33
|
+
# Quoted form, including JSON nested inside a JSON string (escaped quotes):
|
|
34
|
+
# "token": "abc" 'x-signature': 'abc' \\"token\\":\\"abc\\"
|
|
35
|
+
_QUOTED_PATTERN = re.compile(
|
|
36
|
+
r"""(?P<key>(?P<kq>\\{0,2}["'])(?:%s)(?P=kq)\s*[:=]\s*)(?P<vq>\\{0,2}["'])(?P<value>.*?)(?P=vq)""" % _KEYS_REGEX,
|
|
37
|
+
re.IGNORECASE | re.DOTALL)
|
|
38
|
+
|
|
39
|
+
# Unquoted form, e.g. plain text bodies or query strings: token=abc, x-app-key: abc
|
|
40
|
+
_UNQUOTED_PATTERN = re.compile(
|
|
41
|
+
r"""(?<![\w-])(?P<key>(?:%s)\s*[:=]\s*)(?P<value>(?:(?:bearer|basic)\s+)?[^\s&,;"'\\}\]\)]+)""" % _KEYS_REGEX,
|
|
42
|
+
re.IGNORECASE)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def desensitize_secret(value, keep_length=_KEEP_LENGTH, mask_length=_MASK_LENGTH):
|
|
46
|
+
"""Mask a credential: first 2 + ****** + last 2, e.g. ab******hj.
|
|
47
|
+
|
|
48
|
+
Applies to tokens, app keys, app secrets and signatures.
|
|
49
|
+
Values shorter than 12 characters are fully masked.
|
|
50
|
+
"""
|
|
51
|
+
if not value:
|
|
52
|
+
return value
|
|
53
|
+
value = str(value)
|
|
54
|
+
if len(value) < _MIN_MASKED_LENGTH:
|
|
55
|
+
return _MASK
|
|
56
|
+
return value[:keep_length] + '*' * mask_length + value[-keep_length:]
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def desensitize_token(token, keep_length=_KEEP_LENGTH, mask_length=_MASK_LENGTH):
|
|
60
|
+
"""Mask a token. Same rule as desensitize_secret."""
|
|
61
|
+
return desensitize_secret(token, keep_length, mask_length)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def mask_sensitive_text(text):
|
|
65
|
+
"""Mask sensitive key/value pairs inside a JSON string or the repr of a dict.
|
|
66
|
+
|
|
67
|
+
Handles both quote styles, e.g. {"token": "abc..."} and {'x-signature': 'abc...'}.
|
|
68
|
+
Bytes are decoded as utf-8 first. Returns the input unchanged when it is empty.
|
|
69
|
+
"""
|
|
70
|
+
if not text:
|
|
71
|
+
return text
|
|
72
|
+
if isinstance(text, (bytes, bytearray)):
|
|
73
|
+
text = bytes(text).decode("utf-8", errors="replace")
|
|
74
|
+
elif not isinstance(text, str):
|
|
75
|
+
text = str(text)
|
|
76
|
+
|
|
77
|
+
def _replace_quoted(match):
|
|
78
|
+
key = match.group("key")
|
|
79
|
+
return "%s%s%s%s" % (key, match.group("vq"), desensitize_secret(match.group("value")), match.group("vq"))
|
|
80
|
+
|
|
81
|
+
def _replace_unquoted(match):
|
|
82
|
+
key = match.group("key")
|
|
83
|
+
return "%s%s" % (key, desensitize_secret(match.group("value")))
|
|
84
|
+
|
|
85
|
+
return _UNQUOTED_PATTERN.sub(_replace_unquoted, _QUOTED_PATTERN.sub(_replace_quoted, text))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def mask_value_in_text(text, value):
|
|
89
|
+
"""Replace every occurrence of a secret value inside text with its masked form."""
|
|
90
|
+
if not text or not value:
|
|
91
|
+
return text
|
|
92
|
+
return text.replace(str(value), desensitize_secret(value))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def mask_sensitive_headers(headers):
|
|
96
|
+
"""Return a copy of a header-like mapping with sensitive values masked."""
|
|
97
|
+
if not headers:
|
|
98
|
+
return headers
|
|
99
|
+
masked = {}
|
|
100
|
+
for key, value in dict(headers).items():
|
|
101
|
+
if isinstance(key, str) and key.lower() in _SENSITIVE_KEYS:
|
|
102
|
+
masked[key] = desensitize_secret(value)
|
|
103
|
+
else:
|
|
104
|
+
masked[key] = value
|
|
105
|
+
return masked
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.1.2'
|
|
@@ -18,6 +18,7 @@ from webull.core.auth.algorithm import sha_hmac1, sha_hmac256_new
|
|
|
18
18
|
from webull.core.auth.composer import default_signature_composer
|
|
19
19
|
import webull.core.headers as hd
|
|
20
20
|
import webull.core.utils.common as core_common
|
|
21
|
+
from webull.core.utils.desensitize import desensitize_secret, mask_sensitive_headers, mask_value_in_text
|
|
21
22
|
import logging
|
|
22
23
|
logger = logging.getLogger(__name__)
|
|
23
24
|
|
|
@@ -54,12 +55,12 @@ def _get_body_string(pb_object, signer_spec):
|
|
|
54
55
|
def calc_signature(app_key_id, app_key_secret, pb_object, signer_spec):
|
|
55
56
|
metadata, sign_params = _build_sign_metadata(app_key_id, signer_spec)
|
|
56
57
|
sign_params = default_signature_composer._lower_key_dict(sign_params)
|
|
57
|
-
logger.debug("sign_params:%s", sign_params)
|
|
58
|
+
logger.debug("sign_params:%s", mask_sensitive_headers(sign_params))
|
|
58
59
|
body_string = _get_body_string(pb_object,signer_spec)
|
|
59
60
|
logger.debug("body_string:%s" % body_string)
|
|
60
61
|
string_to_sign = default_signature_composer._build_sign_string(sign_params, None, body_string)
|
|
61
|
-
logger.debug("string_to_sign:%s" % string_to_sign)
|
|
62
|
+
logger.debug("string_to_sign:%s" % mask_value_in_text(string_to_sign, app_key_id))
|
|
62
63
|
signature = default_signature_composer._gen_signature(string_to_sign, app_key_secret, signer_spec)
|
|
63
64
|
metadata.append((hd.SIGNATURE, signature))
|
|
64
|
-
logger.debug("signature:%s", signature)
|
|
65
|
+
logger.debug("signature:%s", desensitize_secret(signature))
|
|
65
66
|
return signature, metadata
|
|
@@ -34,6 +34,7 @@ import webull.trade.events.events_pb2_grpc as pb_grpc
|
|
|
34
34
|
from webull.trade.events.default_retry_policy import (
|
|
35
35
|
DefaultSubscribeRetryPolicy, SubscribeRetryPolicyContext)
|
|
36
36
|
from webull.trade.events.signature_composer import calc_signature
|
|
37
|
+
from webull.core.utils.desensitize import desensitize_secret, mask_sensitive_headers
|
|
37
38
|
|
|
38
39
|
# contentTypes
|
|
39
40
|
JSON = "application/json"
|
|
@@ -83,8 +84,8 @@ class TradeEventsClient():
|
|
|
83
84
|
# Print detailed request parameters
|
|
84
85
|
print("\n=== gRPC Request Details ===")
|
|
85
86
|
print(f"Request: {request}")
|
|
86
|
-
print(f"Signature: {signature}")
|
|
87
|
-
print(f"Metadata: {metadata}")
|
|
87
|
+
print(f"Signature: {desensitize_secret(signature)}")
|
|
88
|
+
print(f"Metadata: {mask_sensitive_headers(dict(metadata))}")
|
|
88
89
|
print(f"Signer Spec: {signer_spec.__name__ if hasattr(signer_spec, '__name__') else signer_spec}")
|
|
89
90
|
print("=============================\n")
|
|
90
91
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.1.0'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.1.0'
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Copyright 2022 Webull
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
# coding=utf-8
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def desensitize_token(token, keep_length=6, mask_length=6):
|
|
19
|
-
if not token:
|
|
20
|
-
return token
|
|
21
|
-
|
|
22
|
-
total_length = len(token)
|
|
23
|
-
|
|
24
|
-
if total_length <= keep_length * 2:
|
|
25
|
-
return token
|
|
26
|
-
|
|
27
|
-
front_part = token[:keep_length]
|
|
28
|
-
rear_part = token[-keep_length:] if keep_length > 0 else ''
|
|
29
|
-
mask = '*' * mask_length
|
|
30
|
-
|
|
31
|
-
return f"{front_part}{mask}{rear_part}"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.1.0'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/account/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/assets/__init__.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/assets/assets_client.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/__init__.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/community.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/data/data_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/order/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/screener/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/__init__.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/trade/trade_client_v2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/samples/watchlist/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/auth/credentials.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/cache/__init__.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/__init__.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/api_type.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/easy_enum.py
RENAMED
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/common/region.py
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/context/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/data/endpoints.json
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/endpoint/__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
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/__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
|
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/method_type.py
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/http/request.py
RENAMED
|
File without changes
|
|
File without changes
|
{webull_openapi_python_sdk-3.1.0 → webull_openapi_python_sdk-3.1.2}/webull/core/retry/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|