LUSID C# SDK
Public Member Functions | Properties | List of all members
Lusid.Sdk.Model.TradingConventions Class Reference

Common Trading details for exchange traded instruments like Futures and Bonds More...

Inheritance diagram for Lusid.Sdk.Model.TradingConventions:
Inheritance graph
[legend]

Public Member Functions

 TradingConventions (decimal priceScaleFactor=default(decimal), decimal minimumOrderSize=default(decimal), decimal minimumOrderIncrement=default(decimal))
 Initializes a new instance of the TradingConventions class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (TradingConventions input)
 Returns true if TradingConventions instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

decimal PriceScaleFactor [get, set]
 The factor used to scale prices for the instrument. Currently used by LUSID when calculating cost and notional amounts on transactions. Note this factor does not yet impact Valuation, PV, exposure, all of which use the scale factor attached to the price quotes in the QuoteStore. Must be positive and defaults to 1 if not set. More...
 
decimal MinimumOrderSize [get, set]
 The Minimum Order Size Must be non-negative and defaults to 0 if not set. More...
 
decimal MinimumOrderIncrement [get, set]
 The Minimum Order Increment Must be non-negative and defaults to 0 if not set. More...
 

Detailed Description

Common Trading details for exchange traded instruments like Futures and Bonds

Constructor & Destructor Documentation

◆ TradingConventions()

Lusid.Sdk.Model.TradingConventions.TradingConventions ( decimal  priceScaleFactor = default(decimal),
decimal  minimumOrderSize = default(decimal),
decimal  minimumOrderIncrement = default(decimal) 
)
inline

Initializes a new instance of the TradingConventions class.

Parameters
priceScaleFactorThe factor used to scale prices for the instrument. Currently used by LUSID when calculating cost and notional amounts on transactions. Note this factor does not yet impact Valuation, PV, exposure, all of which use the scale factor attached to the price quotes in the QuoteStore. Must be positive and defaults to 1 if not set..
minimumOrderSizeThe Minimum Order Size Must be non-negative and defaults to 0 if not set..
minimumOrderIncrementThe Minimum Order Increment Must be non-negative and defaults to 0 if not set..

Member Function Documentation

◆ Equals() [1/2]

override bool Lusid.Sdk.Model.TradingConventions.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

bool Lusid.Sdk.Model.TradingConventions.Equals ( TradingConventions  input)
inline

Returns true if TradingConventions instances are equal

Parameters
inputInstance of TradingConventions to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.TradingConventions.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.TradingConventions.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.TradingConventions.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ MinimumOrderIncrement

decimal Lusid.Sdk.Model.TradingConventions.MinimumOrderIncrement
getset

The Minimum Order Increment Must be non-negative and defaults to 0 if not set.

The Minimum Order Increment Must be non-negative and defaults to 0 if not set.

◆ MinimumOrderSize

decimal Lusid.Sdk.Model.TradingConventions.MinimumOrderSize
getset

The Minimum Order Size Must be non-negative and defaults to 0 if not set.

The Minimum Order Size Must be non-negative and defaults to 0 if not set.

◆ PriceScaleFactor

decimal Lusid.Sdk.Model.TradingConventions.PriceScaleFactor
getset

The factor used to scale prices for the instrument. Currently used by LUSID when calculating cost and notional amounts on transactions. Note this factor does not yet impact Valuation, PV, exposure, all of which use the scale factor attached to the price quotes in the QuoteStore. Must be positive and defaults to 1 if not set.

The factor used to scale prices for the instrument. Currently used by LUSID when calculating cost and notional amounts on transactions. Note this factor does not yet impact Valuation, PV, exposure, all of which use the scale factor attached to the price quotes in the QuoteStore. Must be positive and defaults to 1 if not set.


The documentation for this class was generated from the following file: