Functions for global securities account settings
Some of the settings on the "General" and "Depot" tabs in the "Settings" dialog box, which you can access via the SETTINGS command in the menu of the "General settings" icon on the "Configuration" tab in the ribbon, can be queried via MM-Talk. The following functions are available here:
Setting_VATRate→Number
Result: The Setting_MwStSatz
function returns the VAT rate as set in the global settings on the "Depot" tab.
Setting_DefaultCurrency→Currency
Result: The Setting_DefaultCurrency
function returns the default currency as set in the global settings on the "Depot" tab.
Setting_LocalWithhTax_CH→Number
Result: The Setting_LocalWithhTax_CH
function returns the Swiss withholding tax rate as set in the global settings on the "Custody account" tab.
Setting_SettlementTax→Number
Result: The Setting_SettlementTax
function returns the withholding tax rate as set in the global settings on the "Depot" tab.
Setting_tax number→Number
Result: The Setting_tax_number
function returns the tax number of the bank or asset management company as set in the global settings on the "Securities account" tab.
Setting_SolidaritySurcharge→Number
Result: The Setting_SolidaritySurcharge
function returns the solidarity surcharge
as it was set in the global settings on the "Depot" tab.
Setting_StampDuty_CH→number
Result: The Setting_StampDuty_CH
function returns the stamp duty rate for Switzerland as set in the global settings on the "Depot" tab.
Setting_VAT_CH→number
Result: The Setting_VAT_CH
function returns the VAT rate for Switzerland as set in the global settings on the "Depot" tab.
Setting_WithhTax→Number
Result: The Setting_WithhTax
function returns the withholding tax rate as set in the global settings on the "Depot" tab.
Setting_WithhTax_CH→Number
Result: The Setting_WithhTax_CH
function returns the withholding tax rate for Switzerland as set in the global settings on the "Depot" tab.