wbcommission 1.55.2__py2.py3-none-any.whl → 1.55.3__py2.py3-none-any.whl
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.
Potentially problematic release.
This version of wbcommission might be problematic. Click here for more details.
|
@@ -182,7 +182,9 @@ class AccountRebateManager:
|
|
|
182
182
|
and date, a KeyError will be caught, and the function will return Decimal(0).
|
|
183
183
|
"""
|
|
184
184
|
with suppress(InstrumentPrice.DoesNotExist, KeyError):
|
|
185
|
-
product_shares = max(
|
|
185
|
+
product_shares = max(
|
|
186
|
+
product.prices.get(date=compute_date, calculated=True).outstanding_shares or Decimal(0), Decimal(0)
|
|
187
|
+
)
|
|
186
188
|
account_shares = max(
|
|
187
189
|
Decimal(self.df_shares.loc[(terminal_account.id, product.id, compute_date)]), Decimal(0)
|
|
188
190
|
)
|
|
@@ -33,7 +33,7 @@ wbcommission/migrations/0007_remove_commission_unique_crm_recipient_account_and_
|
|
|
33
33
|
wbcommission/migrations/0008_alter_commission_options_alter_commission_order.py,sha256=iNwNF1QcmVoj5Eu2yPJEHfI7bIA3e4WZMILjCfBVEx0,830
|
|
34
34
|
wbcommission/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
wbcommission/models/__init__.py,sha256=BJyah0_zKssfU2ohvu4qcQSHAT1ovcZ_go2-sLEagyw,183
|
|
36
|
-
wbcommission/models/account_service.py,sha256=
|
|
36
|
+
wbcommission/models/account_service.py,sha256=7tUxB8DmqGBPxfu0wCHApSKj6AkmWnHc9JB1rUxe3kk,10660
|
|
37
37
|
wbcommission/models/commission.py,sha256=5Hp2EbmPo9H7L2lM7K8eVOhmZPmEYC6avOQSR_y3U18,29899
|
|
38
38
|
wbcommission/models/rebate.py,sha256=GtR3G5TqmDdlcefF678Z9D993glddAormoWnYzYzQLg,12795
|
|
39
39
|
wbcommission/models/signals.py,sha256=RplhwccwDlEYGfw-lpcXpHPxfmeyKohdz-rKGll-NtU,2240
|
|
@@ -77,6 +77,6 @@ wbcommission/viewsets/menu/rebate.py,sha256=Qzhwr2xG3_j7frxs3eWLZuMoUzT2nCBrWmEY
|
|
|
77
77
|
wbcommission/viewsets/titles/__init__.py,sha256=Sg64aMWm_OD4-P57YoaN6Mqv6NRVU5m7ii_WvaWuTsY,85
|
|
78
78
|
wbcommission/viewsets/titles/commissions.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
79
|
wbcommission/viewsets/titles/rebate.py,sha256=VTSHJW3voqCMVhDZ_zVeVmZid_WY3P4X9k11VdJM_GQ,301
|
|
80
|
-
wbcommission-1.55.
|
|
81
|
-
wbcommission-1.55.
|
|
82
|
-
wbcommission-1.55.
|
|
80
|
+
wbcommission-1.55.3.dist-info/METADATA,sha256=iq85TeeUs3BKK3pZ_cyUZf6rYLsjixKYsgnqEyyAd1c,399
|
|
81
|
+
wbcommission-1.55.3.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
82
|
+
wbcommission-1.55.3.dist-info/RECORD,,
|
|
File without changes
|