karlwancl / StooqApi

A .NET wrapper for Stooq, based on .NET Standard 2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StooqApi

Build status NuGet license

A .NET wrapper for Stooq, based on .NET Standard 2.0

Feature

  • Get historical data from Stooq.com

Installation

PM> Install-Package StooqApi

Usage

Add Reference

using StooqApi;

Get Historical Data

var candles = await Stooq.GetHistoricalAsync("aapl", Period.Daily, new DateTime(2017, 1, 3));
Console.WriteLine($"DateTime: {candles[0].DateTime}, Open: {candles[0].Open}, High: {candles[0].High}, Low: {candles[0].Low}, Close: {candles[0].Close}");

Powered by

  • Flurl (@tmenier) - A simple & elegant fluent-style REST api library

About

A .NET wrapper for Stooq, based on .NET Standard 2.0

License:MIT License


Languages

Language:C# 100.0%