Moex ISS connector
...
// securities
var url = new UrlBuilder(_baseUrl)
.Engines(Engine.Stock)
.Markets(Market.Stock_Bonds)
.Securities()
.OnlyBlocks([InfoBlockKey.Securities, InfoBlockKey.Marketdata])
.Build();
...
// security columns
var url = new UrlBuilder(_baseUrl)
.Engines(Engine.Stock)
.Markets(Market.Stock_Bonds)
.Securities()
.Columns
.OnlyBlocks([InfoBlockKey.Securities, InfoBlockKey.Marketdata])
.Build();
...
// trades
var url = new UrlBuilder(_baseUrl)
.Engines(Engine.Stock)
.Markets(Market.Stock_Shares)
.Securities("GAZP")
.Trades
.OnlyBlocks([InfoBlockKey.Trades])
.Build();
var api = new MoexIssApi();
var dataframes = await api.Securities(
Engine.Stock,
Market.Stock_Bonds,
[InfoBlockKey.Securities, InfoBlockKey.Marketdata]);
dataframes[0].PrettyPrint();
Build and Run console app
Vertr.Moex.ConsoleApp.exe > tt.txt
Result