TSLab API Docs  1
Класс TSLab.DataSource.Security

Security (Paper, Active) description Подробнее...

Граф наследования:TSLab.DataSource.Security:

Открытые члены

override string ToString ()
 
string ToString (string format, IFormatProvider formatProvider)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
double RoundPrice (double price)
 
double RoundLots (double shares)
 
int MakePriceId (double price)
 

Открытые статические члены

static bool operator== (Security s1, Security s2)
 
static bool operator!= (Security s1, Security s2)
 
static Security MakeSecurityStub (string id)
 
static Security MakeSecurityStub (string id, IDataSource ds)
 
static Security MakeSecurityStub (string id, string dsname)
 
static int DecimalsFromTick (double tick)
 

Защищенные члены

void FirePropertyChanged (string proprtyName)
 

Свойства

string Id [get, set]
 Security Id Подробнее...
 
string Name [get, set]
 Security Name Подробнее...
 
string FullName [get, set]
 Security FullName Подробнее...
 
string Comment [get, set]
 Security Comment Подробнее...
 
string Currency [get, set]
 Security Currency Подробнее...
 
TradePlace TradePlace [get, set]
 TradePlace Подробнее...
 
string DSName [get]
 Data Source Name Подробнее...
 
int LotSize [get, set]
 Lot size Подробнее...
 
double LotTick [get, set]
 Lot tick (1 by default) Подробнее...
 
double Margin [get, set]
 Margin Подробнее...
 
int Decimals [get, set]
 Decimals after point Подробнее...
 
double Tick [get, set]
 Minimal incrent value Подробнее...
 
bool Expired [get, set]
 Expired or not Подробнее...
 
int Slip [get, set]
 The trade slip TODO: may be it should be moved to another place Подробнее...
 
bool IsMoney [get, set]
 True if the security is a money active Подробнее...
 
ActiveType ActiveType [get, set]
 Type of active Подробнее...
 
string TradePlaceId [get]
 
string TradePlaceName [get]
 
double Strike [get, set]
 Option strike Подробнее...
 
DateTime ExpirationDate [get, set]
 Expiration date (if possible) Подробнее...
 

События

PropertyChangedEventHandler PropertyChanged
 

Подробное описание

Security (Paper, Active) description

Полный список свойств

ActiveType TSLab.DataSource.Security.ActiveType
getset

Type of active

string TSLab.DataSource.Security.Comment
getset

Security Comment

string TSLab.DataSource.Security.Currency
getset

Security Currency

int TSLab.DataSource.Security.Decimals
getset

Decimals after point

string TSLab.DataSource.Security.DSName
get

Data Source Name

DateTime TSLab.DataSource.Security.ExpirationDate
getset

Expiration date (if possible)

bool TSLab.DataSource.Security.Expired
getset

Expired or not

string TSLab.DataSource.Security.FullName
getset

Security FullName

string TSLab.DataSource.Security.Id
getset
bool TSLab.DataSource.Security.IsMoney
getset

True if the security is a money active

int TSLab.DataSource.Security.LotSize
getset

Lot size

double TSLab.DataSource.Security.LotTick
getset

Lot tick (1 by default)

double TSLab.DataSource.Security.Margin
getset

Margin

string TSLab.DataSource.Security.Name
getset

Security Name

int TSLab.DataSource.Security.Slip
getset

The trade slip TODO: may be it should be moved to another place

double TSLab.DataSource.Security.Strike
getset

Option strike

double TSLab.DataSource.Security.Tick
getset

Minimal incrent value

TradePlace TSLab.DataSource.Security.TradePlace
getset