lusid-sdk 2.1.845__py3-none-any.whl → 2.1.846__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.
- lusid/configuration.py +1 -1
- lusid/models/movement_type.py +3 -1
- lusid/models/transaction_configuration_movement_data.py +3 -3
- lusid/models/transaction_configuration_movement_data_request.py +3 -3
- lusid/models/transaction_type_movement.py +1 -1
- {lusid_sdk-2.1.845.dist-info → lusid_sdk-2.1.846.dist-info}/METADATA +1 -1
- {lusid_sdk-2.1.845.dist-info → lusid_sdk-2.1.846.dist-info}/RECORD +8 -8
- {lusid_sdk-2.1.845.dist-info → lusid_sdk-2.1.846.dist-info}/WHEEL +0 -0
lusid/configuration.py
CHANGED
@@ -445,7 +445,7 @@ class Configuration:
|
|
445
445
|
return "Python SDK Debug Report:\n"\
|
446
446
|
"OS: {env}\n"\
|
447
447
|
"Python Version: {pyversion}\n"\
|
448
|
-
"Version of the API: 0.11.
|
448
|
+
"Version of the API: 0.11.7945\n"\
|
449
449
|
"SDK Package Version: {package_version}".\
|
450
450
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
451
451
|
|
lusid/models/movement_type.py
CHANGED
@@ -43,7 +43,6 @@ class MovementType(str, Enum):
|
|
43
43
|
CASHACCRUAL = 'CashAccrual'
|
44
44
|
FORWARDFX = 'ForwardFx'
|
45
45
|
CASHFXFORWARD = 'CashFxForward'
|
46
|
-
UNSETTLEDCASHTYPES = 'UnsettledCashTypes'
|
47
46
|
CARRY = 'Carry'
|
48
47
|
CARRYASPNL = 'CarryAsPnl'
|
49
48
|
VARIATIONMARGIN = 'VariationMargin'
|
@@ -51,6 +50,9 @@ class MovementType(str, Enum):
|
|
51
50
|
FEE = 'Fee'
|
52
51
|
LIMITADJUSTMENT = 'LimitAdjustment'
|
53
52
|
BALANCEADJUSTMENT = 'BalanceAdjustment'
|
53
|
+
DEFERRED = 'Deferred'
|
54
|
+
CASHDEFERRED = 'CashDeferred'
|
55
|
+
UNSETTLEDCASHTYPES = 'UnsettledCashTypes'
|
54
56
|
|
55
57
|
@classmethod
|
56
58
|
def from_json(cls, json_str: str) -> MovementType:
|
@@ -27,7 +27,7 @@ class TransactionConfigurationMovementData(BaseModel):
|
|
27
27
|
"""
|
28
28
|
TransactionConfigurationMovementData
|
29
29
|
"""
|
30
|
-
movement_types: StrictStr = Field(...,alias="movementTypes", description="Movement types determine the impact of the movement on the holdings. The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward, UnsettledCashTypes, Carry, CarryAsPnl, VariationMargin, Capital, Fee. The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward,
|
30
|
+
movement_types: StrictStr = Field(...,alias="movementTypes", description="Movement types determine the impact of the movement on the holdings. The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward, UnsettledCashTypes, Carry, CarryAsPnl, VariationMargin, Capital, Fee, Deferred, CashDeferred. The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward, Carry, CarryAsPnl, VariationMargin, Capital, Fee, LimitAdjustment, BalanceAdjustment, Deferred, CashDeferred, UnsettledCashTypes")
|
31
31
|
side: StrictStr = Field(...,alias="side", description="The Side determines which of the fields from our transaction are used to generate the Movement. Side1 means the 'security' side of the transaction, ie the Instrument and Units; Side2 means the 'cash' side, ie the Total Consideration")
|
32
32
|
direction: StrictInt = Field(..., description=" A multiplier to apply to Transaction amounts; the values are -1 to indicate to reverse the signs and 1 to indicate to use the signed values from the Transaction directly. For a typical Transaction with unsigned values, 1 means increase, -1 means decrease")
|
33
33
|
properties: Optional[Dict[str, PerpetualProperty]] = Field(None, description="The properties associated with the underlying Movement")
|
@@ -91,8 +91,8 @@ class TransactionConfigurationMovementData(BaseModel):
|
|
91
91
|
if "movement_types" != "type":
|
92
92
|
return value
|
93
93
|
|
94
|
-
if value not in ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', '
|
95
|
-
raise ValueError("must be one of enum values ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', '
|
94
|
+
if value not in ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', 'Carry', 'CarryAsPnl', 'VariationMargin', 'Capital', 'Fee', 'LimitAdjustment', 'BalanceAdjustment', 'Deferred', 'CashDeferred', 'UnsettledCashTypes'):
|
95
|
+
raise ValueError("must be one of enum values ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', 'Carry', 'CarryAsPnl', 'VariationMargin', 'Capital', 'Fee', 'LimitAdjustment', 'BalanceAdjustment', 'Deferred', 'CashDeferred', 'UnsettledCashTypes')")
|
96
96
|
return value
|
97
97
|
|
98
98
|
class Config:
|
@@ -27,7 +27,7 @@ class TransactionConfigurationMovementDataRequest(BaseModel):
|
|
27
27
|
"""
|
28
28
|
TransactionConfigurationMovementDataRequest
|
29
29
|
"""
|
30
|
-
movement_types: StrictStr = Field(...,alias="movementTypes", description=". The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward,
|
30
|
+
movement_types: StrictStr = Field(...,alias="movementTypes", description=". The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward, Carry, CarryAsPnl, VariationMargin, Capital, Fee, LimitAdjustment, BalanceAdjustment, Deferred, CashDeferred, UnsettledCashTypes")
|
31
31
|
side: StrictStr = Field(...,alias="side", description="The movement side")
|
32
32
|
direction: StrictInt = Field(..., description="The movement direction")
|
33
33
|
properties: Optional[Dict[str, PerpetualProperty]] = Field(None, description="The properties associated with the underlying Movement.")
|
@@ -91,8 +91,8 @@ class TransactionConfigurationMovementDataRequest(BaseModel):
|
|
91
91
|
if "movement_types" != "type":
|
92
92
|
return value
|
93
93
|
|
94
|
-
if value not in ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', '
|
95
|
-
raise ValueError("must be one of enum values ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', '
|
94
|
+
if value not in ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', 'Carry', 'CarryAsPnl', 'VariationMargin', 'Capital', 'Fee', 'LimitAdjustment', 'BalanceAdjustment', 'Deferred', 'CashDeferred', 'UnsettledCashTypes'):
|
95
|
+
raise ValueError("must be one of enum values ('Settlement', 'Traded', 'StockMovement', 'FutureCash', 'Commitment', 'Receivable', 'CashSettlement', 'CashForward', 'CashCommitment', 'CashReceivable', 'Accrual', 'CashAccrual', 'ForwardFx', 'CashFxForward', 'Carry', 'CarryAsPnl', 'VariationMargin', 'Capital', 'Fee', 'LimitAdjustment', 'BalanceAdjustment', 'Deferred', 'CashDeferred', 'UnsettledCashTypes')")
|
96
96
|
return value
|
97
97
|
|
98
98
|
class Config:
|
@@ -27,7 +27,7 @@ class TransactionTypeMovement(BaseModel):
|
|
27
27
|
"""
|
28
28
|
TransactionTypeMovement
|
29
29
|
"""
|
30
|
-
movement_types: StrictStr = Field(...,alias="movementTypes", description="Movement types determine the impact of the movement on the holdings. The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward, UnsettledCashTypes, Carry, CarryAsPnl, VariationMargin, Capital, Fee.")
|
30
|
+
movement_types: StrictStr = Field(...,alias="movementTypes", description="Movement types determine the impact of the movement on the holdings. The available values are: Settlement, Traded, StockMovement, FutureCash, Commitment, Receivable, CashSettlement, CashForward, CashCommitment, CashReceivable, Accrual, CashAccrual, ForwardFx, CashFxForward, UnsettledCashTypes, Carry, CarryAsPnl, VariationMargin, Capital, Fee, Deferred, CashDeferred.")
|
31
31
|
side: StrictStr = Field(...,alias="side", description="The Side determines which of the fields from our transaction are used to generate the Movement. Side1 means the 'security' side of the transaction, ie the Instrument and Units; Side2 means the 'cash' side, ie the Total Consideration")
|
32
32
|
direction: StrictInt = Field(..., description=" A multiplier to apply to Transaction amounts; the values are -1 to indicate to reverse the signs and 1 to indicate to use the signed values from the Transaction directly. For a typical Transaction with unsigned values, 1 means increase, -1 means decrease")
|
33
33
|
properties: Optional[Dict[str, PerpetualProperty]] = Field(None, description="The properties associated with the underlying Movement")
|
@@ -77,7 +77,7 @@ lusid/api/translation_api.py,sha256=xpRuTfwQvYBlWe6r_L2EI_uVpXqHFnEOim-i-kVQ85E,
|
|
77
77
|
lusid/api/workspace_api.py,sha256=0pCNi3ZCRbIo0NXKa85XE7vtq0WV5YOKcQKvFlcLUaY,120708
|
78
78
|
lusid/api_client.py,sha256=ewMTmf9SRurY8pYnUx9jy24RdldPCOa4US38pnrVxjA,31140
|
79
79
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
80
|
-
lusid/configuration.py,sha256=
|
80
|
+
lusid/configuration.py,sha256=SGdmSU_ypyVPzt8YnGqKLPFru9WBY1A3QTveD6fXeBA,17972
|
81
81
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
82
82
|
lusid/extensions/__init__.py,sha256=dzDHEzpn-9smd2-_UMWQzeyX6Ha4jGf6fnqx7qxKxNI,630
|
83
83
|
lusid/extensions/api_client.py,sha256=GzygWg_h603QK1QS2HvAijuE2R1TnvoF6-Yg0CeM3ug,30943
|
@@ -710,7 +710,7 @@ lusid/models/model_schema.py,sha256=o_3-Few9w88CC3O5HsI1nKcPqFj9eiMPZU--MwcsuwQ,
|
|
710
710
|
lusid/models/model_selection.py,sha256=ulMEFDcAP8y-F2n--eNkxSoe0hX9GT1D9yOcIJk6dIQ,10493
|
711
711
|
lusid/models/move_orders_to_different_blocks_request.py,sha256=c4VNDkSHnrbANPvNAB4RYQPMu12CDE_0zItxOo1JtRA,2772
|
712
712
|
lusid/models/moved_order_to_different_block_response.py,sha256=jTxmkPXFzDU4f9_fk_H4GdybsaqbnK6n3dGnBhot2es,3394
|
713
|
-
lusid/models/movement_type.py,sha256=
|
713
|
+
lusid/models/movement_type.py,sha256=SfAF0bR-r8YZpIb1FTo8GkpU94nJF-ilFKFM_MxKNFo,1365
|
714
714
|
lusid/models/multi_currency_amounts.py,sha256=IuhhhRkYO7jRpx3dIipU6nVeFy-kLPHKor24P8rtE5o,2321
|
715
715
|
lusid/models/new_instrument.py,sha256=L0L1e5jyFbNRAoDzuO5dcC2uB2pnPS6zAgiUNaWA0bY,3895
|
716
716
|
lusid/models/next_value_in_sequence_response.py,sha256=904UraGW9HvIPMw26_zyH_p0QRn8ttugI_LpKWiA8Yk,2950
|
@@ -1152,8 +1152,8 @@ lusid/models/trading_conventions.py,sha256=w_oFIB8faBhd6lPqbUwPbUhdLZuaIVgoZryKu
|
|
1152
1152
|
lusid/models/transaction.py,sha256=qrl3fbgrOKU6ZEZiAE99vWAB8CvtkPreQj1vocPK8vo,17679
|
1153
1153
|
lusid/models/transaction_configuration_data.py,sha256=0Gm-MXYMpoS_wz_td3U4gkP8CMjnY5E38JGQVdwjsqc,4550
|
1154
1154
|
lusid/models/transaction_configuration_data_request.py,sha256=8fzgpawxQN4C07McluIUImNMqnB25YZBDGuCRgikqQw,4630
|
1155
|
-
lusid/models/transaction_configuration_movement_data.py,sha256=
|
1156
|
-
lusid/models/transaction_configuration_movement_data_request.py,sha256=
|
1155
|
+
lusid/models/transaction_configuration_movement_data.py,sha256=kNPuNzz1wPwDMOF0cEfDaf6D51lxtJNAMhg73Cb2XU0,10928
|
1156
|
+
lusid/models/transaction_configuration_movement_data_request.py,sha256=ujzewbDaJXk2UWfYgKFHgs4jVOURV-Iwnof9u8VVqxk,10206
|
1157
1157
|
lusid/models/transaction_configuration_type_alias.py,sha256=Iqmhbtcd6AK5LEZZW4dCZ3HgwVvUf-IDSTTKxyYuypw,7623
|
1158
1158
|
lusid/models/transaction_currency_and_amount.py,sha256=gU2ZWzOdMzDPJ2GQekXc8JOQXKXEGY-6K0KfcqaZ9j0,2724
|
1159
1159
|
lusid/models/transaction_date_windows.py,sha256=oGKgUsUpWlh8HxB1ZSvM-A5cdLhpWFf5bNUt4_HNHoI,2378
|
@@ -1181,7 +1181,7 @@ lusid/models/transaction_type.py,sha256=82RM5bDojZO9xAfOhn1xzY530XJs2VKumFFwM45x
|
|
1181
1181
|
lusid/models/transaction_type_alias.py,sha256=xO-tV5_RPx_Bq7Lkp-zS830w4vrmXZgQ9j5mCuQBj-M,3072
|
1182
1182
|
lusid/models/transaction_type_calculation.py,sha256=KBX2LVbvnle6sgbOMT-ueGWtqXjE7SdJkVXzkL11rNs,3007
|
1183
1183
|
lusid/models/transaction_type_details.py,sha256=eaPIMOOOeftMtrcOV7No0mTrFfJv6T2OU-U-oL-42fs,2768
|
1184
|
-
lusid/models/transaction_type_movement.py,sha256=
|
1184
|
+
lusid/models/transaction_type_movement.py,sha256=1K4xFx6jKQUUXIhz5FM1gSR_FhZA2HIFk0WxkTIXDxg,7900
|
1185
1185
|
lusid/models/transaction_type_property_mapping.py,sha256=32rbl8i3SsaAqT97yz3Vfoq71pvScKpgJ3XYipFemDg,4004
|
1186
1186
|
lusid/models/transaction_type_request.py,sha256=99W8xIumF_fhZAeIzf88bFPohCV_4WlNTS1FuQtCXLQ,5353
|
1187
1187
|
lusid/models/transactions_reconciliations_response.py,sha256=40rrkANUl0DMhuDH4q_mk4_83FSMY7Xc0rfLFJbx9ko,3315
|
@@ -1328,6 +1328,6 @@ lusid/models/year_month_day.py,sha256=gwSoxFwlD_wffKdddo1wfvAcLq3Cht3FHQidiaHzAA
|
|
1328
1328
|
lusid/models/yield_curve_data.py,sha256=I1ZSWxHMgUxj9OQt6i9a4S91KB4_XtmrfFxpN_PV3YQ,9561
|
1329
1329
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1330
1330
|
lusid/rest.py,sha256=HQT__5LQEMu6_1sLKvYj-DI4FH1DJXBIPYfZCTTyrY4,13431
|
1331
|
-
lusid_sdk-2.1.
|
1332
|
-
lusid_sdk-2.1.
|
1333
|
-
lusid_sdk-2.1.
|
1331
|
+
lusid_sdk-2.1.846.dist-info/METADATA,sha256=Sw6QTrovBzGYV_ElxPepnJFgQVU_hGYGyfBvBW6Deqo,222326
|
1332
|
+
lusid_sdk-2.1.846.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
1333
|
+
lusid_sdk-2.1.846.dist-info/RECORD,,
|
File without changes
|