LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
DeletedEntityResponse | DeleteTransactionFeeRule (string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. More... | |
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > | DeleteTransactionFeeRuleWithHttpInfo (string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule. More... | |
ResourceListOfFeeRule | GetApplicableTransactionFees (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentIdentifierType=default(string?), string? instrumentIdentifier=default(string?), string? portfolioScope=default(string?), string? portfolioCode=default(string?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfFeeRule > | GetApplicableTransactionFeesWithHttpInfo (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), string? instrumentIdentifierType=default(string?), string? instrumentIdentifier=default(string?), string? portfolioScope=default(string?), string? portfolioCode=default(string?), Dictionary< string, string >? requestBody=default(Dictionary< string, string >?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction. More... | |
FeeRule | GetTransactionFeeRule (string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. More... | |
Lusid.Sdk.Client.ApiResponse< FeeRule > | GetTransactionFeeRuleWithHttpInfo (string code, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule. More... | |
ResourceListOfFeeRule | ListTransactionFeeRules (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfFeeRule > | ListTransactionFeeRulesWithHttpInfo (DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), int? limit=default(int?), string? filter=default(string?), string? page=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering. More... | |
FeeRuleUpsertResponse | UpsertTransactionFeeRules (Dictionary< string, FeeRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. More... | |
Lusid.Sdk.Client.ApiResponse< FeeRuleUpsertResponse > | UpsertTransactionFeeRulesWithHttpInfo (Dictionary< string, FeeRuleUpsertRequest > requestBody, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules. More... | |
Represents a collection of functions to interact with the API endpoints
DeletedEntityResponse Lusid.Sdk.Api.ITransactionFeesApiSync.DeleteTransactionFeeRule | ( | string | code, |
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule.
<br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
code | The fee rule code. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.ITransactionFeesApiSync.DeleteTransactionFeeRuleWithHttpInfo | ( | string | code, |
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] DeleteTransactionFeeRule: Deletes a fee rule.
<br> Deletes the rule for all effective time. <br> The rule will remain viewable at previous as at times, but it will no longer be considered by GetApplicableFees. <br> This cannot be undone.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
code | The fee rule code. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
ResourceListOfFeeRule Lusid.Sdk.Api.ITransactionFeesApiSync.GetApplicableTransactionFees | ( | DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | instrumentIdentifierType = default(string?) , |
||
string? | instrumentIdentifier = default(string?) , |
||
string? | portfolioScope = default(string?) , |
||
string? | portfolioCode = default(string?) , |
||
Dictionary< string, string >? | requestBody = default(Dictionary< string, string >?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction.
Additionally, matching can be based on the instrument's properties, its portfolio properties, and any additional property keys present in the data file.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
effectiveAt | The effective datetime or cut label at which to match rule definitions. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to match rule definitions. Defaults to returning the latest version if not specified. (optional) |
instrumentIdentifierType | Optional. The unique identifier type to use, eg 'Figi' or 'LusidInstrumentId'. (optional) |
instrumentIdentifier | Optional. The Instrument Identifier to get properties for. (optional) |
portfolioScope | Optional. The scope of the portfolio to fetch properties from. (optional) |
portfolioCode | Optional. The code of the portfolio to fetch properties from. (optional) |
requestBody | Any other property keys or fields, including the top-level fields of the fee rule (e.g. "ExecutionBroker" and "SettlementCurrency" ) and those defined in AdditionalKeys, along with their corresponding values that should be matched for fees. Eg. "Instrument/default/Name=exampleValue" or "AdditionalKey2=Value2". (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfFeeRule> Lusid.Sdk.Api.ITransactionFeesApiSync.GetApplicableTransactionFeesWithHttpInfo | ( | DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
string? | instrumentIdentifierType = default(string?) , |
||
string? | instrumentIdentifier = default(string?) , |
||
string? | portfolioScope = default(string?) , |
||
string? | portfolioCode = default(string?) , |
||
Dictionary< string, string >? | requestBody = default(Dictionary< string, string >?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetApplicableTransactionFees: Get the Fees and Commissions that may be applicable to a transaction.
Additionally, matching can be based on the instrument's properties, its portfolio properties, and any additional property keys present in the data file.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
effectiveAt | The effective datetime or cut label at which to match rule definitions. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to match rule definitions. Defaults to returning the latest version if not specified. (optional) |
instrumentIdentifierType | Optional. The unique identifier type to use, eg 'Figi' or 'LusidInstrumentId'. (optional) |
instrumentIdentifier | Optional. The Instrument Identifier to get properties for. (optional) |
portfolioScope | Optional. The scope of the portfolio to fetch properties from. (optional) |
portfolioCode | Optional. The code of the portfolio to fetch properties from. (optional) |
requestBody | Any other property keys or fields, including the top-level fields of the fee rule (e.g. "ExecutionBroker" and "SettlementCurrency" ) and those defined in AdditionalKeys, along with their corresponding values that should be matched for fees. Eg. "Instrument/default/Name=exampleValue" or "AdditionalKey2=Value2". (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
FeeRule Lusid.Sdk.Api.ITransactionFeesApiSync.GetTransactionFeeRule | ( | string | code, |
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule.
Retrieves the fee rule definition at the given effective and as at times.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
code | The fee rule code. |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
Lusid.Sdk.Client.ApiResponse<FeeRule> Lusid.Sdk.Api.ITransactionFeesApiSync.GetTransactionFeeRuleWithHttpInfo | ( | string | code, |
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] GetTransactionFeeRule: Retrieve the definition of single fee rule.
Retrieves the fee rule definition at the given effective and as at times.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
code | The fee rule code. |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definition. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definition. Defaults to returning the latest version if not specified. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
ResourceListOfFeeRule Lusid.Sdk.Api.ITransactionFeesApiSync.ListTransactionFeeRules | ( | DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
string? | page = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering.
For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional) |
limit | When paginating, limit the results to this number. Defaults to 100 if not specified. (optional) |
filter | Expression to filter the results. (optional) |
page | The pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
Lusid.Sdk.Client.ApiResponse<ResourceListOfFeeRule> Lusid.Sdk.Api.ITransactionFeesApiSync.ListTransactionFeeRulesWithHttpInfo | ( | DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
DateTimeOffset? | asAt = default(DateTimeOffset?) , |
||
int? | limit = default(int?) , |
||
string? | filter = default(string?) , |
||
string? | page = default(string?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] ListTransactionFeeRules: List fee rules, with optional filtering.
For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
effectiveAt | The effective datetime or cut label at which to retrieve the rule definitions. Defaults to the current LUSID system datetime if not specified. (optional) |
asAt | The asAt datetime at which to retrieve the rule definitions. Defaults to returning the latest version if not specified. (optional) |
limit | When paginating, limit the results to this number. Defaults to 100 if not specified. (optional) |
filter | Expression to filter the results. (optional) |
page | The pagination token to use to continue listing entities; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
FeeRuleUpsertResponse Lusid.Sdk.Api.ITransactionFeesApiSync.UpsertTransactionFeeRules | ( | Dictionary< string, FeeRuleUpsertRequest > | requestBody, |
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules.
<br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | A dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule. |
effectiveAt | The effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.
Lusid.Sdk.Client.ApiResponse<FeeRuleUpsertResponse> Lusid.Sdk.Api.ITransactionFeesApiSync.UpsertTransactionFeeRulesWithHttpInfo | ( | Dictionary< string, FeeRuleUpsertRequest > | requestBody, |
DateTimeOrCutLabel? | effectiveAt = default(DateTimeOrCutLabel?) , |
||
int | operationIndex = 0 , |
||
ConfigurationOptions? | opts = null |
||
) |
[EXPERIMENTAL] UpsertTransactionFeeRules: Upsert fee rules.
<br> To upsert a new rule, the code field must be left empty, a code will then be assigned and returned as part of the response. To update an existing rule, include the fee code. It is possible to both create and update fee rules in the same request. <br> The upsert is transactional - either all create/update operations will succeed or none of them will.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
requestBody | A dictionary of upsert request identifiers to rule upsert requests. The request identifiers are valid for the request only and can be used to link the upserted fee rule to the code of a created fee rule. |
effectiveAt | The effective datetime or cut label at which the rule will take effect. Defaults to the current LUSID system datetime if not specified. In the case of an update, the changes will take place from this effective time until the next effective time that the rule as been upserted at. For example, consider a rule that already exists, and has previously had an update applied so that the definition will change on the first day of the coming month. An upsert effective from the current day will only change the definition until the first day of the coming month. An additional upsert at the same time (first day of the month) is required if the newly-updated definition is to supersede the future definition. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implemented in Lusid.Sdk.Api.TransactionFeesApi.