ATAS
Loading...
Searching...
No Matches
ATAS.DataFeedsCore.Security Class Reference

Represents a security entity used in the application. More...

Inheritance diagram for ATAS.DataFeedsCore.Security:
[legend]
Collaboration diagram for ATAS.DataFeedsCore.Security:
[legend]

Public Member Functions

 Security ()
 Initializes a new instance of the Security class with default values.
 
override string ToString ()
 Returns a string representation of the security, using either the instrument name or the combination of code and exchange.
 

Protected Member Functions

void OnPropertyChanged (string name)
 Raises the PropertyChanged event with the specified property name.
 

Properties

EntityType EntityType [get]
 
string SecurityId [get, set]
 Global ATAS security identifier like BCHUSDT@Bybit. Includes exchange id.
 
string ConnectorId [get, set]
 Gets or sets the connector identifier associated with the security.
 
string Code [get, set]
 Id of the security
May have any format like CLK4 or BCHUSDT etc.
 
string Exchange [get, set]
 Gets or sets the exchange associated with the security.
 
string Instrument [get, set]
 Gets or sets the instrument associated with the security.
 
DateTime Expiration [get, set]
 Gets or sets the expiration date of the security.
 
SecType Type [get, set]
 Gets or sets the type of security or financial instrument.
 
decimal TickSize [get, set]
 Gets or sets the minimum price increment (tick size) for the security.
 
decimal TickCost [get, set]
 Price of a single tickSize.
 
decimal LotSize [get, set]
 Minimum volume increment.
 
decimal? LotMinSize [get, set]
 Minimum size (volume) for the order.
 
decimal? LotMaxSize [get, set]
 Maximum size (volume) for the order.
 
int Digits [get]
 Gets the number of decimal digits used for formatting prices.
 
decimal MinPrice [get, set]
 Gets or sets the minimum price allowed for the security.
 
decimal MaxPrice [get, set]
 Gets or sets the maximum price allowed for the security.
 
decimal MarginBuy [get, set]
 Gets or sets the margin buy value for the security.
 
decimal MarginSell [get, set]
 Gets or sets the margin sell value for the security.
 
long Id [get, set]
 Gets or sets the identifier of the security.
 
long IsinId [get, set]
 Gets or sets the International Securities Identification Number (ISIN) identifier of the security.
 
decimal BestAskPrice [get, set]
 Gets or sets the best asking price for the security.
 
decimal BestAskVolume [get, set]
 Gets or sets the volume available at the best asking price for the security.
 
decimal BestBidPrice [get, set]
 Gets or sets the best bidding price for the security.
 
decimal BestBidVolume [get, set]
 Gets or sets the volume available at the best bidding price for the security.
 
decimal? LastTradePrice [get, set]
 Price of the last tick
This value may be null if no ticks were received yet.
 
decimal? LastTradeVolume [get, set]
 Volume of the last tick
This value may be null if no ticks were received yet.
 
decimal PriceMultiplier [get, set]
 Gets or sets the price multiplier for the security.
 
decimal VolumeMultiplier [get, set]
 Gets or sets the volume multiplier for the security.
 
decimal? OpenInterest [get, set]
 Gets or sets the open interest value for the security.
 
decimal? OpenPrice [get, set]
 Gets or sets the open price value for the security.
 
decimal? HighPrice [get, set]
 Gets or sets the high price value for the security.
 
decimal? LowPrice [get, set]
 Gets or sets the low price value for the security.
 
decimal? ClosePrice [get, set]
 Gets or sets the close price value for the security.
 
decimal? SettlementPrice [get, set]
 Gets or sets the settlement price value for the security.
 
decimal? TradeVolume [get, set]
 Gets or sets the trade volume value for the security.
 
string TradingHours [get, set]
 Gets or sets the trading hours for the security.
 
decimal? MarkPrice [get, set]
 A price that reflects the real-time spot price on the major exchanges.
 
decimal? FundingRate [get, set]
 Gets funding rate exchanged between buyers and sellers. During the funding rate cycle.
 
DateTimeOffset? NextFundingTime [get, set]
 Gets time of the next funding cycle.
 
string? BaseCurrency [get, set]
 First currency of the trading pair, order volume must be sent in this currency.
 
string? QuoteCurrency [get, set]
 Second currency of the trading pair, if set you can use it for convert operations.
 
decimal? QuoteCurrencyPrecision [get, set]
 Minimum step for quote currency (ex: 0.01 for USD, 0.00000001 for BTC).
 
string MoneyPnLFormat = _defaultMoneyPnLFormat [get, set]
 Gets or sets money PnL format for security.
 
object? Parent [get, set]
 Gets or sets connector entity the security was created from.
 
bool IsInverseFutures [get, set]
 Security is an inverse futures.
 
ExchangeExchangeInstance [get, set]
 The object that represents the exchange where the security is listed.
 
decimal? StrikePrice [get, set]
 A strike price of option contract.
 
OptionTypesOptionType [get, set]
 Gets or sets the type of option contract.
 
SecurityUnderlyingSecurity [get, set]
 An underlying security of option contract.
 
- Properties inherited from ATAS.DataFeedsCore.IEntity
EntityType EntityType [get]
 Gets the type of the entity.
 

Events

PropertyChangedEventHandler PropertyChanged
 

Detailed Description

Represents a security entity used in the application.

Constructor & Destructor Documentation

◆ Security()

ATAS.DataFeedsCore.Security.Security ( )

Initializes a new instance of the Security class with default values.

Member Function Documentation

◆ OnPropertyChanged()

void ATAS.DataFeedsCore.Security.OnPropertyChanged ( string  name)
protected

Raises the PropertyChanged event with the specified property name.

Parameters
nameThe name of the property that changed.

◆ ToString()

override string ATAS.DataFeedsCore.Security.ToString ( )

Returns a string representation of the security, using either the instrument name or the combination of code and exchange.

Returns
A string representation of the security.

Property Documentation

◆ BaseCurrency

string? ATAS.DataFeedsCore.Security.BaseCurrency
getset

First currency of the trading pair, order volume must be sent in this currency.

◆ BestAskPrice

decimal ATAS.DataFeedsCore.Security.BestAskPrice
getset

Gets or sets the best asking price for the security.

◆ BestAskVolume

decimal ATAS.DataFeedsCore.Security.BestAskVolume
getset

Gets or sets the volume available at the best asking price for the security.

◆ BestBidPrice

decimal ATAS.DataFeedsCore.Security.BestBidPrice
getset

Gets or sets the best bidding price for the security.

◆ BestBidVolume

decimal ATAS.DataFeedsCore.Security.BestBidVolume
getset

Gets or sets the volume available at the best bidding price for the security.

◆ ClosePrice

decimal? ATAS.DataFeedsCore.Security.ClosePrice
getset

Gets or sets the close price value for the security.

◆ Code

string ATAS.DataFeedsCore.Security.Code
getset

Id of the security
May have any format like CLK4 or BCHUSDT etc.

◆ ConnectorId

string ATAS.DataFeedsCore.Security.ConnectorId
getset

Gets or sets the connector identifier associated with the security.

◆ Digits

int ATAS.DataFeedsCore.Security.Digits
get

Gets the number of decimal digits used for formatting prices.

◆ EntityType

EntityType ATAS.DataFeedsCore.Security.EntityType
get

Gets the entity type, which is EntityType.Security.

Implements ATAS.DataFeedsCore.IEntity.

◆ Exchange

string ATAS.DataFeedsCore.Security.Exchange
getset

Gets or sets the exchange associated with the security.

◆ ExchangeInstance

Exchange? ATAS.DataFeedsCore.Security.ExchangeInstance
getset

The object that represents the exchange where the security is listed.

◆ Expiration

DateTime ATAS.DataFeedsCore.Security.Expiration
getset

Gets or sets the expiration date of the security.

◆ FundingRate

decimal? ATAS.DataFeedsCore.Security.FundingRate
getset

Gets funding rate exchanged between buyers and sellers. During the funding rate cycle.

◆ HighPrice

decimal? ATAS.DataFeedsCore.Security.HighPrice
getset

Gets or sets the high price value for the security.

◆ Id

long ATAS.DataFeedsCore.Security.Id
getset

Gets or sets the identifier of the security.

◆ Instrument

string ATAS.DataFeedsCore.Security.Instrument
getset

Gets or sets the instrument associated with the security.

◆ IsinId

long ATAS.DataFeedsCore.Security.IsinId
getset

Gets or sets the International Securities Identification Number (ISIN) identifier of the security.

◆ IsInverseFutures

bool ATAS.DataFeedsCore.Security.IsInverseFutures
getset

Security is an inverse futures.

◆ LastTradePrice

decimal? ATAS.DataFeedsCore.Security.LastTradePrice
getset

Price of the last tick
This value may be null if no ticks were received yet.

◆ LastTradeVolume

decimal? ATAS.DataFeedsCore.Security.LastTradeVolume
getset

Volume of the last tick
This value may be null if no ticks were received yet.

◆ LotMaxSize

decimal? ATAS.DataFeedsCore.Security.LotMaxSize
getset

Maximum size (volume) for the order.

◆ LotMinSize

decimal? ATAS.DataFeedsCore.Security.LotMinSize
getset

Minimum size (volume) for the order.

◆ LotSize

decimal ATAS.DataFeedsCore.Security.LotSize
getset

Minimum volume increment.

◆ LowPrice

decimal? ATAS.DataFeedsCore.Security.LowPrice
getset

Gets or sets the low price value for the security.

◆ MarginBuy

decimal ATAS.DataFeedsCore.Security.MarginBuy
getset

Gets or sets the margin buy value for the security.

◆ MarginSell

decimal ATAS.DataFeedsCore.Security.MarginSell
getset

Gets or sets the margin sell value for the security.

◆ MarkPrice

decimal? ATAS.DataFeedsCore.Security.MarkPrice
getset

A price that reflects the real-time spot price on the major exchanges.

◆ MaxPrice

decimal ATAS.DataFeedsCore.Security.MaxPrice
getset

Gets or sets the maximum price allowed for the security.

◆ MinPrice

decimal ATAS.DataFeedsCore.Security.MinPrice
getset

Gets or sets the minimum price allowed for the security.

◆ MoneyPnLFormat

string ATAS.DataFeedsCore.Security.MoneyPnLFormat = _defaultMoneyPnLFormat
getset

Gets or sets money PnL format for security.

◆ NextFundingTime

DateTimeOffset? ATAS.DataFeedsCore.Security.NextFundingTime
getset

Gets time of the next funding cycle.

◆ OpenInterest

decimal? ATAS.DataFeedsCore.Security.OpenInterest
getset

Gets or sets the open interest value for the security.

◆ OpenPrice

decimal? ATAS.DataFeedsCore.Security.OpenPrice
getset

Gets or sets the open price value for the security.

◆ OptionType

OptionTypes? ATAS.DataFeedsCore.Security.OptionType
getset

Gets or sets the type of option contract.

◆ Parent

object? ATAS.DataFeedsCore.Security.Parent
getset

Gets or sets connector entity the security was created from.

◆ PriceMultiplier

decimal ATAS.DataFeedsCore.Security.PriceMultiplier
getset

Gets or sets the price multiplier for the security.

◆ QuoteCurrency

string? ATAS.DataFeedsCore.Security.QuoteCurrency
getset

Second currency of the trading pair, if set you can use it for convert operations.

◆ QuoteCurrencyPrecision

decimal? ATAS.DataFeedsCore.Security.QuoteCurrencyPrecision
getset

Minimum step for quote currency (ex: 0.01 for USD, 0.00000001 for BTC).

◆ SecurityId

string ATAS.DataFeedsCore.Security.SecurityId
getset

Global ATAS security identifier like BCHUSDT@Bybit. Includes exchange id.

◆ SettlementPrice

decimal? ATAS.DataFeedsCore.Security.SettlementPrice
getset

Gets or sets the settlement price value for the security.

◆ StrikePrice

decimal? ATAS.DataFeedsCore.Security.StrikePrice
getset

A strike price of option contract.

◆ TickCost

decimal ATAS.DataFeedsCore.Security.TickCost
getset

Price of a single tickSize.

◆ TickSize

decimal ATAS.DataFeedsCore.Security.TickSize
getset

Gets or sets the minimum price increment (tick size) for the security.

◆ TradeVolume

decimal? ATAS.DataFeedsCore.Security.TradeVolume
getset

Gets or sets the trade volume value for the security.

◆ TradingHours

string ATAS.DataFeedsCore.Security.TradingHours
getset

Gets or sets the trading hours for the security.

◆ Type

SecType ATAS.DataFeedsCore.Security.Type
getset

Gets or sets the type of security or financial instrument.

◆ UnderlyingSecurity

Security? ATAS.DataFeedsCore.Security.UnderlyingSecurity
getset

An underlying security of option contract.

◆ VolumeMultiplier

decimal ATAS.DataFeedsCore.Security.VolumeMultiplier
getset

Gets or sets the volume multiplier for the security.

Event Documentation

◆ PropertyChanged

PropertyChangedEventHandler ATAS.DataFeedsCore.Security.PropertyChanged


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