-
Notifications
You must be signed in to change notification settings - Fork 5
6. Working with Farabourse Handler
AFP edited this page Feb 7, 2023
·
2 revisions
After create new instance of TSE class, you can access the Farabourse Handler as following:
var tse = new TSE();
var farabourseHandler = tse.GetFarabourseHandler();the function GetFarabourseHandler() get you accessing 3 feature:
var farabourse = farabourseHandler.FaraBourseAtGlance();so have access to FaraBourse class, that have this fields:
/// <summary>
/// وضعیت بازار
/// </summary>
public MarketStatus MarketStatus { get; internal set; }
/// <summary>
/// شاخص کل
/// </summary>
public decimal OverallIndex { get; internal set; }
/// <summary>
/// ارزش بازار اول و دوم
/// </summary>
public ulong Market1_2Value { get; internal set; }
/// <summary>
/// ارزش بازار پایه
/// </summary>
public ulong BaseMarketValue { 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 = farabourseHandler.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= farabourseHandler.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; }Tehran Securities Exchange (TSE) Library Documentation
Tehran Securities Exchange (TSE) Library Documentation