-
Notifications
You must be signed in to change notification settings - Fork 5
5. Working with Bourse Handler
AFP edited this page Feb 7, 2023
·
3 revisions
After create new instance of TSE
class, you can access the Bourse Handler as following:
var tse = new TSE();
var bourseHandler = tse.GetBourseHandler();
the function GetBourseHandler()
get you accessing 4 feature:
var bourse = bourseHandler.BourseAtGlance();
so have access to Bourse
class, that have this fields:
/// <summary>
/// وضعیت بازار
/// </summary>
public MarketStatus MarketStatus { get; internal set; }
/// <summary>
/// شاخص کل
/// </summary>
public decimal OverallIndex { get; internal set; }
/// <summary>
/// شاخص هم وزن
/// </summary>
public decimal WeightIndex { get; internal set; }
/// <summary>
/// ارزش بازار
/// </summary>
public ulong MarketValue { get; internal set; }
/// <summary>
/// اطلاعات قیمت
/// </summary>
public string PriceInformation { get; internal set; }
/// <summary>
/// تعداد معاملات
/// </summary>
public int TransactionCount { get; internal set; }
/// <summary>
/// ارزش معاملات
/// </summary>
public ulong TransactionValue { get; internal set; }
/// <summary>
/// حجم معاملات
/// </summary>
public ulong TransactionVolume { get; internal set; }
// نمادهای موثر بر شاخص بورس
var effectiveOnIndex= bourseHandler.EffectiveOnIndex();
the return value is IList
collection of EffectiveOnIndex
class, that have this fields:
/// <summary>
/// نماد
/// </summary>
public string Symbol { get; internal set; }
/// <summary>
/// قیمت پایانی
/// </summary>
public int FinalPrice { get; internal set; }
/// <summary>
/// تاثیر
/// </summary>
public string Efficacy { get; internal set; }
// پر تراکنش ترین نمادها در بورس
var topTransactionSymbol= bourseHandler.TopTransactionSymbol();
the return value is IList
collection of TopTransactionSymbol
class, that have this fields:
/// <summary>
/// نماد
/// </summary>
public string Symbol { get; internal set; }
/// <summary>
/// قیمت پایانی
/// </summary>
public int FinalPrice { get; internal set; }
/// <summary>
/// آخرین معامله
/// </summary>
public int LastTransaction { get; internal set; }
/// <summary>
/// بیشترین
/// </summary>
public int Hight { get; internal set; }
/// <summary>
/// کمترین
/// </summary>
public int Less { get; internal set; }
/// <summary>
/// تعداد
/// </summary>
public int Count { get; internal set; }
/// <summary>
/// حجم
/// </summary>
public ulong Volume { get; internal set; }
/// <summary>
/// ارزش
/// </summary>
public ulong Value { get; internal set; }
// پر تراکنش ترین نمادها در بورس
var chosenIndexes= bourseHandler.ChosenIndexes();
the return value is IList
collection of ChosenIndexes
class, that have this fields:
/// <summary>
/// شاخص
/// </summary>
public string Index { get; internal set; }
/// <summary>
/// انتشار
/// </summary>
public string Publish { get; internal set; }
/// <summary>
/// مقدار
/// </summary>
public decimal Value { get; internal set; }
/// <summary>
/// تغییر
/// </summary>
public string Change { get; internal set; }
/// <summary>
/// درصد
/// </summary>
public string Percent { get; internal set; }
/// <summary>
/// بیشترین
/// </summary>
public decimal Hight { get; internal set; }
/// <summary>
/// کمترین
/// </summary>
public decimal Less { get; internal set; }
Tehran Securities Exchange (TSE) Library Documentation
Tehran Securities Exchange (TSE) Library Documentation