IAssetsMarketsPositionCostType Property

Stator | API Documentation
The type for the position cost, Brokerage, GST etc.

Namespace:  Stator.libPublic.ImportPlugins.DataObjectInterfaces
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax

string Type { get; set; }

Property Value

Type: String
Remarks

How do I know what type to assign?
A full list of position cost types can be found in Stator > Global Options > User Defined Fields
You should observe this list when writing code to import position costs. Stator will search for a position cost type matching
this property (not case sensitive) and if a matching type cannot be found, Stator will create a new position cost type matching this property

Please note you do not have to worry about matching case, Stator does the comparison by converting both sides to lower case:

"Brokerage" == "Brokerage"
"Brokerage" == "brokerage"
"Brokerage" == "BROKERAGE"

See Also

Reference