fx-shared-models 0.2.74__tar.gz → 0.2.76__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.74/fx_shared_models.egg-info → fx_shared_models-0.2.76}/PKG-INFO +1 -1
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76/fx_shared_models.egg-info}/PKG-INFO +1 -1
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/setup.py +1 -1
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/services/commission_calculator_service.py +14 -4
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/LICENSE +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/MANIFEST.in +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/README.md +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/fx_shared_models.egg-info/SOURCES.txt +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/fx_shared_models.egg-info/dependency_links.txt +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/fx_shared_models.egg-info/requires.txt +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/fx_shared_models.egg-info/top_level.txt +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/setup.cfg +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0002_remove_account_group_type_account_has_bonus_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0003_account_is_archived_account_is_trading_enabled.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0004_alter_account_created_at_alter_account_created_by_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0005_account_currency.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0006_alter_account_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/0007_alter_account_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/accounts/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/common/base.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/common/mixins.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/common/utils.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/company_ba/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/company_ba/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/company_ba/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/company_ba/migrations/0002_alter_companybankaccount_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/company_ba/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/company_ba/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/constants.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/crypto_wallet/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/crypto_wallet/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/crypto_wallet/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/crypto_wallet/migrations/0002_alter_companycryptowallet_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/crypto_wallet/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/crypto_wallet/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/migrations/0002_alter_customercryptowallet_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_upi/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_upi/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_upi/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_upi/migrations/0002_alter_customerupi_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_upi/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customer_upi/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/enums.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0002_alter_customer_email_alter_customer_first_name_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0004_customerauth_two_factor_backup_codes_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0005_customerauth_temp_webauthn_challenge.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0006_customerauth_webauthn_challenge.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0007_customerauth_blocked_customerauth_blocked_at_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0008_customer_email_hash.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0009_remove_customerauth_blocked_by_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0010_customerauth_blocked_by_customerauth_unblocked_by.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0011_customerauth_reset_token_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0012_alter_customer_email_alter_customer_first_name_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0013_alter_customerauth_blocked_by_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/0014_alter_customer_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/customers/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_campaigns/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_campaigns/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_campaigns/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_campaigns/migrations/0002_alter_emailcampaign_options_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_campaigns/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_campaigns/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_log/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_log/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_log/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_log/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/email_log/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0002_alter_commissiondistribution_processed_time.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0003_clientibmapping_idx_client_mapping_lookup_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0004_ibonboardingstatus.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0005_ibonboardingstatus_ib_journey_form_submitted_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0006_ibonboardingstatus_creation_source.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0007_ibquestionnaire.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0008_ibcommissionrule_lot_size.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0009_ibcommissionrule_min_volume.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0010_alter_commissiondistribution_rule_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/0011_alter_clientibmapping_agreement_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/model/ib_onboarding.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/model/ib_questionnaire.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/services/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ib_commission/services/commission_cache_service.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/referrals/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/referrals/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/referrals/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/referrals/migrations/0002_alter_referralreward_payment_gateway_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/referrals/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/referrals/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/services/group_resolver.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0002_rename_is_enabled_systemsetting_is_active.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0003_tradingplatformserver.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0004_tradingplatformserver_connection_timeout_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0005_accountsequence_accounttype.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0006_alter_accounttype_sequence.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0007_remove_accounttype_default_group_type_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0008_paymentgatewayconfig_paymentmethodconfig_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0009_alter_accountsequence_created_at_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0010_alter_paymentgatewayconfig_gateway_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0011_tradingplatformserverlog.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0012_alter_emailcontent_content_sections.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0013_kycrequirementrule.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0014_alter_paymentgatewayconfig_payment_method_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0015_alter_paymentgatewayconfig_payment_method_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0016_alter_emailconfiguration_options_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0017_brokerconfiguration.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/0018_accounttype_demo_auto_deposit_amount.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/account_sequence.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/account_types.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/base.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/broker_config.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/email.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/group_configurations.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/payment_methods.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/trading_platform.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/transaction_configs.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/serializers.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/migrations/0002_alter_deal_id.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/migrations/0003_alter_deal_id.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/migrations/0004_alter_deal_id.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/migrations/0005_deal_idx_deal_position_lookup_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/trading/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/constants.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/enums.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0002_transaction_mt5_ticket.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0003_alter_transaction_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0004_alter_transaction_created_by.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0005_alter_transaction_status.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0006_transaction_approved_at.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0007_transaction_assigned_user_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0008_alter_transaction_payment_method.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0009_alter_transaction_approved_by_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0010_alter_transaction_payment_method.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0011_alter_transaction_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/0012_transaction_transaction_custome_fb8ec8_idx.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/transactions/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ui_elements/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ui_elements/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ui_elements/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ui_elements/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/ui_elements/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/upi_id/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/upi_id/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/upi_id/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/upi_id/migrations/0002_alter_companyupiid_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/upi_id/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/upi_id/models.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/apps.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/managers.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0001_initial.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0002_alter_crmuser_managers.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0003_alter_crmuser_options_alter_crmuser_managers.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0004_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0005_remove_crmuser_is_2fa_enabled_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0006_rename_preferred_2fa_method_usersettings_default_2fa_method_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0007_alter_usersettings_options_alter_usersettings_table.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0008_usersettings_temp_webauthn_challenge.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0009_alter_userprofile_profile_picture.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0010_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0011_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0012_alter_crmuser_managers_usersettings_is_2fa_enabled_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0013_usersettings_is_2fa_enabled_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0014_alter_crmuser_groups_alter_crmuser_user_permissions_and_more.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/0015_alter_crmuser_options.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/__init__.py +0 -0
- {fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/users/models.py +0 -0
|
@@ -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.76', # 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
|
|
@@ -313,7 +313,17 @@ class CommissionCalculatorService:
|
|
|
313
313
|
)
|
|
314
314
|
|
|
315
315
|
for member in agreement_members:
|
|
316
|
-
|
|
316
|
+
member_customer_id_str = str(member.customer_id)
|
|
317
|
+
|
|
318
|
+
# For the direct IB, only use the client mapping agreement
|
|
319
|
+
if member_customer_id_str == str(client_mapping.direct_ib_customer_id):
|
|
320
|
+
# Only add if it matches the client mapping agreement
|
|
321
|
+
if client_mapping.agreement_id and member.agreement_id == client_mapping.agreement_id:
|
|
322
|
+
ib_agreements[member_customer_id_str] = member.agreement
|
|
323
|
+
# Skip other agreements for the direct IB
|
|
324
|
+
else:
|
|
325
|
+
# For parent IBs in the hierarchy, use their agreements (current behavior)
|
|
326
|
+
ib_agreements[member_customer_id_str] = member.agreement
|
|
317
327
|
|
|
318
328
|
# Calculate rule-based distribution for the hierarchy
|
|
319
329
|
distributions = cls._calculate_rule_based_distribution(
|
|
@@ -544,7 +554,7 @@ class CommissionCalculatorService:
|
|
|
544
554
|
str(h.customer_id): { # Use string keys to match ib_agreements
|
|
545
555
|
'level': h.level,
|
|
546
556
|
'parent_id': str(h.parent_customer_id) if h.parent_customer_id else None,
|
|
547
|
-
'
|
|
557
|
+
'ib_account_id': h.ib_account.id if h.ib_account else None,
|
|
548
558
|
'mt5_login': h.mt5_login,
|
|
549
559
|
'server_id': h.ib_account.server.id if h.ib_account and h.ib_account.server else None
|
|
550
560
|
} for h in hierarchies
|
|
@@ -639,7 +649,7 @@ class CommissionCalculatorService:
|
|
|
639
649
|
keep_distribution = CommissionDistribution(
|
|
640
650
|
commission_tracking=commission_tracking, # Link to tracking record (Corrected FK name)
|
|
641
651
|
customer_id=int(ib_id_str),
|
|
642
|
-
|
|
652
|
+
ib_account_id=ib_info.get('ib_account_id'),
|
|
643
653
|
mt5_login=ib_info.get('mt5_login'),
|
|
644
654
|
distribution_type=commission_type,
|
|
645
655
|
amount=keep_amount,
|
|
@@ -685,7 +695,7 @@ class CommissionCalculatorService:
|
|
|
685
695
|
pass_up_distribution = CommissionDistribution(
|
|
686
696
|
commission_tracking=commission_tracking, # Link to tracking record (Corrected FK name)
|
|
687
697
|
customer_id=int(parent_ib_id_str),
|
|
688
|
-
|
|
698
|
+
ib_account_id=parent_info.get('ib_account_id'),
|
|
689
699
|
mt5_login=parent_info.get('mt5_login'),
|
|
690
700
|
distribution_type=commission_type, # Should be same type as originated
|
|
691
701
|
amount=total_pass_up_amount,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/customer_crypto_wallet/__init__.py
RENAMED
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/customers/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/referrals/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/shared_models/system_settings/models/base.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/system_settings/serializers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/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
|
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/upi_id/migrations/0001_initial.py
RENAMED
|
File without changes
|
|
File without changes
|
{fx_shared_models-0.2.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/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.74 → fx_shared_models-0.2.76}/shared_models/users/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|