All Projects → LutsenkoKirill → Alphavantage.net

LutsenkoKirill / Alphavantage.net

Licence: mit
.Net client library for Alpha Vantage API

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Alphavantage.net

AlphaVantage.Net
.Net client library for Alpha Vantage API
Stars: ✭ 65 (+25%)
Mutual labels:  finance, api-client, netcore, netstandard
Nlog.extensions.logging
NLog Provider for Microsoft.Extensions.Logging for .NET Standard libraries and .NET Core applications
Stars: ✭ 323 (+521.15%)
Mutual labels:  netstandard, netcore
Coding-Standards
Coding Guidelines for C#
Stars: ✭ 125 (+140.38%)
Mutual labels:  netcore, netstandard
Dbreeze
C# .NET MONO NOSQL ( key value store embedded ) ACID multi-paradigm database management system.
Stars: ✭ 383 (+636.54%)
Mutual labels:  netstandard, netcore
onvif-discovery
C# .NetStandard 2.0 library to discover ONVIF compliant devices
Stars: ✭ 29 (-44.23%)
Mutual labels:  netcore, netstandard
EPPlus4PHP
an easy-to-use excel library for php project which is compiled with peachpie. NOT FOR THE COMMON PHP PROJECT!
Stars: ✭ 15 (-71.15%)
Mutual labels:  netcore, netstandard
Gofer.net
Easy C# API for Distributed Background Tasks/Jobs for .NET Core.
Stars: ✭ 383 (+636.54%)
Mutual labels:  netstandard, netcore
AvroConvert
Apache Avro serializer for .NET
Stars: ✭ 44 (-15.38%)
Mutual labels:  netcore, netstandard
Td Ameritrade Python Api
Unofficial Python API client library for TD Ameritrade. This library allows for easy access of the Standard API, and allows users to build data pipelines for the Streaming API.
Stars: ✭ 406 (+680.77%)
Mutual labels:  api-client, finance
Dryioc
DryIoc is fast, small, full-featured IoC Container for .NET
Stars: ✭ 555 (+967.31%)
Mutual labels:  netstandard, netcore
Couchdb Net
EF Core-like CouchDB experience for .NET!
Stars: ✭ 50 (-3.85%)
Mutual labels:  netstandard, netcore
ynab.go
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.
Stars: ✭ 49 (-5.77%)
Mutual labels:  finance, api-client
MyDAL
The fastest and best ORM lite on C# for MySQL ! -- 友好, 轻量, 极致性能, 无任何第三方依赖, 持续演进~~
Stars: ✭ 32 (-38.46%)
Mutual labels:  netcore, netstandard
SimCaptcha
✅ 一个简单易用的点触验证码 (前端+后端)
Stars: ✭ 49 (-5.77%)
Mutual labels:  netcore, netstandard
Cosmos.Identity
A Cosmos storage provider for ASP.NET Core Identity.
Stars: ✭ 26 (-50%)
Mutual labels:  netcore, netstandard
Autofac
An addictive .NET IoC container
Stars: ✭ 3,713 (+7040.38%)
Mutual labels:  netstandard, netcore
Epplus
EPPlus 5-Excel spreadsheets for .NET
Stars: ✭ 693 (+1232.69%)
Mutual labels:  netstandard, netcore
DotNetDynamicInjector
💉 Dynamically reference external dlls without the need to add them to the project. Leave your project with low dependency and allowing specific dlls according to your business rule or database parameters.
Stars: ✭ 18 (-65.38%)
Mutual labels:  netcore, netstandard
AmiClient
Modern .NET Standard client for accessing the Asterisk AMI protocol using async/await and Reactive Extensions (Rx)
Stars: ✭ 30 (-42.31%)
Mutual labels:  netcore, netstandard
Networker
A simple to use TCP and UDP networking library for .NET. Compatible with Unity.
Stars: ✭ 408 (+684.62%)
Mutual labels:  netstandard, netcore

GitHub

AlphaVantage.Net

The most popular .Net client library for Alpha Vantage API.

Release notes for version 2:

  • Most of the library classes were rewritten from scratch, keeping in mind all issues that were opened for the previous release.
  • New client works with System.Text.Json under the hood which is faster than classic Newtonsoft Json
  • Now you can create client's instances with 6 different constructors. It gives you access to underlying HttpClient + allow you to create wrappers around it if needed.
  • All packages were written using newest C# Nullable reference types feature, to reduce possible bugs

Packages:

  • AlphaVantage.Net.Core - low-level client for Alpha Vantage API based on HttpClient and System.Text.Json

Fully typed clients:

Documentation

AlphaVantage.Net.Core

Nuget (with prereleases) Nuget
This package allow you to request any available data from API, but you have to manually set all query parameters and retrieve information you need from the result

Installation:

  • Package Manager:
    Install-Package AlphaVantage.Net.Core -Version 2.0.1
  • .NET CLI:
    dotnet add package AlphaVantage.Net.Core --version 2.0.1

Usage:

using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using AlphaVantage.Net.Common;
using AlphaVantage.Net.Core.Client;

.....

public static async Task CoreDemo()
{
    // use your AlphaVantage API key
    string apiKey = "1";
    // there's 5 more constructors available
    using var client = new AlphaVantageClient(apiKey);

    // query for intraday time series for Apple Inc:
    var query = new Dictionary<string, string>()
    {
        {"symbol", "AAPL"},
        {"interval", "15min"}
    };
    
    // retrieve response as pure JSON string
    string stringResult = await client.RequestPureJsonAsync(ApiFunction.TIME_SERIES_INTRADAY, query);

    // retrieve response as parsed JsonDocument from System.Text.Json
    JsonDocument parsedResult = await client.RequestParsedJsonAsync(ApiFunction.TIME_SERIES_INTRADAY, query);
}

AlphaVantage.Net.Stocks

Nuget (with prereleases) Nuget

Installation:

  • Package Manager:
    Install-Package AlphaVantage.Net.Stocks -Version 2.0.1
  • .NET CLI:
    dotnet add package AlphaVantage.Net.Stocks --version 2.0.1

Usage:

using System.Collections.Generic;
using System.Threading.Tasks;
using AlphaVantage.Net.Common.Intervals;
using AlphaVantage.Net.Common.Size;
using AlphaVantage.Net.Core.Client;
using AlphaVantage.Net.Stocks;
using AlphaVantage.Net.Stocks.Client;

.....

public static async Task StocksDemo()
{
    // use your AlphaVantage API key
    string apiKey = "1";
    // there are 5 more constructors available
    using var client = new AlphaVantageClient(apiKey);
    using var stocksClient = client.Stocks();

    StockTimeSeries stockTs = await stocksClient.GetTimeSeriesAsync("AAPL", Interval.Daily, OutputSize.Compact, isAdjusted: true);

    GlobalQuote globalQuote = await stocksClient.GetGlobalQuoteAsync("AAPL");

    ICollection<SymbolSearchMatch> searchMatches = await stocksClient.SearchSymbolAsync("BA");
}

AlphaVantage.Net.Forex

Nuget (with prereleases) Nuget

Installation:

  • Package Manager:
    Install-Package AlphaVantage.Net.Forex -Version 2.0.1
  • .NET CLI:
    dotnet add package AlphaVantage.Net.Forex --version 2.0.1

Usage:

using System.Threading.Tasks;
using AlphaVantage.Net.Common.Currencies;
using AlphaVantage.Net.Common.Intervals;
using AlphaVantage.Net.Common.Size;
using AlphaVantage.Net.Core.Client;
using AlphaVantage.Net.Forex;
using AlphaVantage.Net.Forex.Client;

.....

public static async Task ForexDemo()
{
    // use your AlphaVantage API key
    string apiKey = "1";
    // there are 5 more constructors available
    using var client = new AlphaVantageClient(apiKey);
    using var forexClient = client.Forex();

    ForexTimeSeries forexTimeSeries = await forexClient.GetTimeSeriesAsync(
        PhysicalCurrency.USD, 
        PhysicalCurrency.ILS,
        Interval.Daily, 
        OutputSize.Compact);
            
    ForexExchangeRate forexExchangeRate = await forexClient.GetExchangeRateAsync(PhysicalCurrency.USD, PhysicalCurrency.ILS);
}

AlphaVantage.Net.Crypto

Nuget (with prereleases) Nuget

Installation:

  • Package Manager:
    Install-Package AlphaVantage.Net.Crypto -Version 2.0.1
  • .NET CLI:
    dotnet add package AlphaVantage.Net.Crypto --version 2.0.1

Usage:

using System.Threading.Tasks;
using AlphaVantage.Net.Common.Currencies;
using AlphaVantage.Net.Common.Intervals;
using AlphaVantage.Net.Core.Client;
using AlphaVantage.Net.Crypto;
using AlphaVantage.Net.Crypto.Client;

.....

public static async Task CryptoDemo()
{
    // use your AlphaVantage API key
    string apiKey = "1";
    // there are 5 more constructors available
    using var client = new AlphaVantageClient(apiKey);
    using var cryptoClient = client.Crypto();

    CryptoTimeSeries cryptoTimeSeries =
        await cryptoClient.GetTimeSeriesAsync(DigitalCurrency.BTC, PhysicalCurrency.ILS, Interval.Weekly);

    CryptoRating cryptoRating = await cryptoClient.GetCryptoRatingAsync(DigitalCurrency.BTC);

    CryptoExchangeRate exchangeRate =
        await cryptoClient.GetExchangeRateAsync(DigitalCurrency.BTC, PhysicalCurrency.ILS);
}

AlphaVantage.Net.TechnicalIndicators

Nuget (with prereleases) Nuget
Since API endpoints from this section have many different additional parameters, you still need to check Alpha Vantage documentation in order to use it.

Installation:

  • Package Manager:
    Install-Package AlphaVantage.Net.TechnicalIndicators -Version 2.0.1
  • .NET CLI:
    dotnet add package AlphaVantage.Net.TechnicalIndicators --version 2.0.1

Usage:

using System.Collections.Generic;
using System.Threading.Tasks;
using AlphaVantage.Net.Common.Intervals;
using AlphaVantage.Net.Core.Client;
using AlphaVantage.Net.TechnicalIndicators;
using AlphaVantage.Net.TechnicalIndicators.Client;

.....

public static async Task TechIndicatorsDemo()
{
    // use your AlphaVantage API key
    string apiKey = "1";
    // there are 5 more constructors available
    using var client = new AlphaVantageClient(apiKey);

    var symbol = "IBM";
    var indicatorType = TechIndicatorType.SMA;
    var query = new Dictionary<string, string>()
    {
        {"time_period", "20"},
        {"series_type", "close"}
    };

    TechIndicatorTimeSeries result = await client.GetTechIndicatorTimeSeriesAsync(symbol, indicatorType, Interval.Min15, query);
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].