YahooTicker
StockSharp.Yahoo.Native
Implementierung von Ticker für Yahoo Finance.
Erbt von: Ticker
Implementiert: IDisposable
Methoden
GetAsync
public override Task<FyResult> GetAsync(CancellationToken cancellationToken)
result = yahooTicker.GetAsync(cancellationToken)
Holen Sie sich alle nativen Finanzinstrument-Identifikatoren.
Rückgabe: Finanzinstrumentkennungen.
GetQueryStringParameters
private string GetQueryStringParameters()
result = yahooTicker.GetQueryStringParameters()
Bereiten Sie die Abfragezeichenfolgenargumente für die Yahoo Finance-Anfrage vor.
Rückgabe: Eine URL mit allen enthaltenden Argumenten.
GetResponse
private Task<HttpResponseMessage> GetResponse(string url, CancellationToken cancellationToken)
result = yahooTicker.GetResponse(url, cancellationToken)
Erhalten Sie eine http-Antwortnachricht von der Clientinstanz.
- url
- Url zum Aufrufen.
- cancellationToken
Rückgabe: Eine Instanz von HttpResponseMessage.