fx-shared-models 0.2.63__tar.gz → 0.2.65__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.
- {fx_shared_models-0.2.63/fx_shared_models.egg-info → fx_shared_models-0.2.65}/PKG-INFO +1 -1
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65/fx_shared_models.egg-info}/PKG-INFO +1 -1
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/fx_shared_models.egg-info/SOURCES.txt +2 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/setup.py +1 -1
- fx_shared_models-0.2.65/shared_models/ib_commission/migrations/0009_ibcommissionrule_min_volume.py +18 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/models.py +2 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/services/commission_calculator_service.py +7 -1
- fx_shared_models-0.2.65/shared_models/transactions/migrations/0012_transaction_transaction_custome_fb8ec8_idx.py +17 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/models.py +1 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/LICENSE +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/MANIFEST.in +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/README.md +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/fx_shared_models.egg-info/dependency_links.txt +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/fx_shared_models.egg-info/requires.txt +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/fx_shared_models.egg-info/top_level.txt +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/setup.cfg +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0002_remove_account_group_type_account_has_bonus_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0003_account_is_archived_account_is_trading_enabled.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0004_alter_account_created_at_alter_account_created_by_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0005_account_currency.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0006_alter_account_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/0007_alter_account_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/common/base.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/common/mixins.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/common/utils.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/migrations/0002_alter_companybankaccount_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/constants.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/crypto_wallet/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/crypto_wallet/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/crypto_wallet/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/crypto_wallet/migrations/0002_alter_companycryptowallet_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/crypto_wallet/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/crypto_wallet/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/migrations/0002_alter_customercryptowallet_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_upi/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_upi/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_upi/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_upi/migrations/0002_alter_customerupi_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_upi/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_upi/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/enums.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0002_alter_customer_email_alter_customer_first_name_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0004_customerauth_two_factor_backup_codes_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0005_customerauth_temp_webauthn_challenge.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0006_customerauth_webauthn_challenge.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0007_customerauth_blocked_customerauth_blocked_at_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0008_customer_email_hash.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0009_remove_customerauth_blocked_by_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0010_customerauth_blocked_by_customerauth_unblocked_by.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0011_customerauth_reset_token_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0012_alter_customer_email_alter_customer_first_name_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0013_alter_customerauth_blocked_by_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/0014_alter_customer_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/migrations/0002_alter_emailcampaign_options_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_log/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_log/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_log/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_log/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_log/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0002_alter_commissiondistribution_processed_time.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0003_clientibmapping_idx_client_mapping_lookup_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0004_ibonboardingstatus.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0005_ibonboardingstatus_ib_journey_form_submitted_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0006_ibonboardingstatus_creation_source.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0007_ibquestionnaire.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/0008_ibcommissionrule_lot_size.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/model/ib_onboarding.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/model/ib_questionnaire.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/services/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/services/commission_cache_service.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/migrations/0002_alter_referralreward_payment_gateway_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/services/group_resolver.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0002_rename_is_enabled_systemsetting_is_active.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0003_tradingplatformserver.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0004_tradingplatformserver_connection_timeout_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0005_accountsequence_accounttype.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0006_alter_accounttype_sequence.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0007_remove_accounttype_default_group_type_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0008_paymentgatewayconfig_paymentmethodconfig_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0009_alter_accountsequence_created_at_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0010_alter_paymentgatewayconfig_gateway_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0011_tradingplatformserverlog.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0012_alter_emailcontent_content_sections.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0013_kycrequirementrule.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0014_alter_paymentgatewayconfig_payment_method_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0015_alter_paymentgatewayconfig_payment_method_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0016_alter_emailconfiguration_options_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0017_brokerconfiguration.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/0018_accounttype_demo_auto_deposit_amount.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/account_sequence.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/account_types.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/base.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/broker_config.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/email.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/group_configurations.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/payment_methods.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/trading_platform.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/transaction_configs.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/serializers.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/0002_alter_deal_id.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/0003_alter_deal_id.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/0004_alter_deal_id.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/0005_deal_idx_deal_position_lookup_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/constants.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/enums.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0002_transaction_mt5_ticket.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0003_alter_transaction_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0004_alter_transaction_created_by.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0005_alter_transaction_status.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0006_transaction_approved_at.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0007_transaction_assigned_user_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0008_alter_transaction_payment_method.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0009_alter_transaction_approved_by_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0010_alter_transaction_payment_method.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/0011_alter_transaction_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/transactions/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ui_elements/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ui_elements/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ui_elements/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ui_elements/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ui_elements/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/migrations/0002_alter_companyupiid_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/models.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/apps.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/managers.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0002_alter_crmuser_managers.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0003_alter_crmuser_options_alter_crmuser_managers.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0004_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0005_remove_crmuser_is_2fa_enabled_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0006_rename_preferred_2fa_method_usersettings_default_2fa_method_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0007_alter_usersettings_options_alter_usersettings_table.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0008_usersettings_temp_webauthn_challenge.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0009_alter_userprofile_profile_picture.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0010_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0011_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0012_alter_crmuser_managers_usersettings_is_2fa_enabled_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0013_usersettings_is_2fa_enabled_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0014_alter_crmuser_groups_alter_crmuser_user_permissions_and_more.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0015_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/models.py +0 -0
|
@@ -87,6 +87,7 @@ shared_models/ib_commission/migrations/0005_ibonboardingstatus_ib_journey_form_s
|
|
|
87
87
|
shared_models/ib_commission/migrations/0006_ibonboardingstatus_creation_source.py
|
|
88
88
|
shared_models/ib_commission/migrations/0007_ibquestionnaire.py
|
|
89
89
|
shared_models/ib_commission/migrations/0008_ibcommissionrule_lot_size.py
|
|
90
|
+
shared_models/ib_commission/migrations/0009_ibcommissionrule_min_volume.py
|
|
90
91
|
shared_models/ib_commission/migrations/__init__.py
|
|
91
92
|
shared_models/ib_commission/model/ib_onboarding.py
|
|
92
93
|
shared_models/ib_commission/model/ib_questionnaire.py
|
|
@@ -156,6 +157,7 @@ shared_models/transactions/migrations/0008_alter_transaction_payment_method.py
|
|
|
156
157
|
shared_models/transactions/migrations/0009_alter_transaction_approved_by_and_more.py
|
|
157
158
|
shared_models/transactions/migrations/0010_alter_transaction_payment_method.py
|
|
158
159
|
shared_models/transactions/migrations/0011_alter_transaction_options.py
|
|
160
|
+
shared_models/transactions/migrations/0012_transaction_transaction_custome_fb8ec8_idx.py
|
|
159
161
|
shared_models/transactions/migrations/__init__.py
|
|
160
162
|
shared_models/ui_elements/__init__.py
|
|
161
163
|
shared_models/ui_elements/apps.py
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages # Import find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='fx-shared-models',
|
|
5
|
-
version='0.2.
|
|
5
|
+
version='0.2.65', # Incremented version after adding shared_models/__init__.py
|
|
6
6
|
packages=find_packages(include=['shared_models', 'shared_models.*']), # Find packages under the shared_models directory
|
|
7
7
|
install_requires=[
|
|
8
8
|
'Django>=4.2', # Match the version from requirements.txt if possible
|
fx_shared_models-0.2.65/shared_models/ib_commission/migrations/0009_ibcommissionrule_min_volume.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by Django 4.2.21 on 2025-07-18 11:23
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('ib_commission', '0008_ibcommissionrule_lot_size'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AddField(
|
|
14
|
+
model_name='ibcommissionrule',
|
|
15
|
+
name='min_volume',
|
|
16
|
+
field=models.DecimalField(decimal_places=2, default=0.0, help_text='Minimum volume (in lots) required to qualify for this rule', max_digits=10),
|
|
17
|
+
),
|
|
18
|
+
]
|
|
@@ -220,6 +220,8 @@ class IBCommissionRule(BaseModel):
|
|
|
220
220
|
help_text='Amount per lot/percentage/pip')
|
|
221
221
|
lot_size = models.DecimalField(max_digits=10, decimal_places=2, default=1.00,
|
|
222
222
|
help_text='Number of lots this value applies to (for LOT_BASED calculation)')
|
|
223
|
+
min_volume = models.DecimalField(max_digits=10, decimal_places=2, default=0.00,
|
|
224
|
+
help_text='Minimum volume (in lots) required to qualify for this rule')
|
|
223
225
|
keep_percentage = models.DecimalField(max_digits=5, decimal_places=2, default=100.00,
|
|
224
226
|
help_text='Percentage of commission to keep (0-100)')
|
|
225
227
|
pass_up_percentage = models.DecimalField(max_digits=5, decimal_places=2, default=0.00,
|
|
@@ -766,7 +766,13 @@ class CommissionCalculatorService:
|
|
|
766
766
|
logger.info(f" - Rule ID: {rule.id}, Type: {rule.calculation_type}, Value: {rule.value}")
|
|
767
767
|
logger.info(f" - Volume: {volume} (type: {type(volume)})")
|
|
768
768
|
logger.info(f" - Commission USD: {commission_usd}")
|
|
769
|
-
logger.info(f" - Min Amount: {rule.min_amount}, Max Amount: {rule.max_amount}")
|
|
769
|
+
logger.info(f" - Min Volume: {rule.min_volume}, Min Amount: {rule.min_amount}, Max Amount: {rule.max_amount}")
|
|
770
|
+
|
|
771
|
+
# Check minimum volume requirement
|
|
772
|
+
min_volume = getattr(rule, 'min_volume', Decimal('0.00')) or Decimal('0.00')
|
|
773
|
+
if Decimal(str(volume)) < min_volume:
|
|
774
|
+
logger.info(f" - Volume {volume} is below minimum required {min_volume}, returning 0")
|
|
775
|
+
return Decimal('0.0')
|
|
770
776
|
|
|
771
777
|
if rule.calculation_type == 'LOT_BASED':
|
|
772
778
|
# Get lot size, default to 1 if not specified
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Generated by Django 4.2.21 on 2025-07-18 10:00
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
('transactions', '0011_alter_transaction_options'),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AddIndex(
|
|
14
|
+
model_name='transaction',
|
|
15
|
+
index=models.Index(fields=['customer', 'created_at'], name='transaction_custome_fb8ec8_idx'),
|
|
16
|
+
),
|
|
17
|
+
]
|
|
@@ -115,6 +115,7 @@ class Transaction(BaseModel):
|
|
|
115
115
|
indexes = [
|
|
116
116
|
models.Index(fields=['transaction_type', 'status']),
|
|
117
117
|
models.Index(fields=['account', 'created_at']),
|
|
118
|
+
models.Index(fields=['customer', 'created_at']),
|
|
118
119
|
models.Index(fields=['payment_method']),
|
|
119
120
|
models.Index(fields=['payment_gateway']),
|
|
120
121
|
models.Index(fields=['assigned_user']),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/fx_shared_models.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
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/accounts/migrations/__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
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/company_ba/migrations/__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
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/__init__.py
RENAMED
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/apps.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customer_crypto_wallet/models.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/customers/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_campaigns/__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
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/email_log/migrations/__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
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ib_commission/services/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/referrals/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/services/group_resolver.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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/base.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/models/email.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/system_settings/serializers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/0001_initial.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/trading/migrations/__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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/ui_elements/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/migrations/0001_initial.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/upi_id/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/0001_initial.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
|
{fx_shared_models-0.2.63 → fx_shared_models-0.2.65}/shared_models/users/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|