Giter Site home page Giter Site logo

finnhub-dotnet's Introduction

Finnhub API .NET Client

.NET CI NuGet version (Finnhub)

A .NET client for Finnhub API. It's written in F# and only supports .NET 5+ since it uses System.Text.JSON and the JSON HTTP extension from its standard library.

๐Ÿ‘ท At the moment only some APIs are supported (mainly the non-Premium ones, see here). There isn't any technical reason preventing the implementation of the other APIs, and I welcome contributions.

โ„น๏ธ As an alternative to this library, you can also use a .NET client automatically generated from the Finnhub OpenAPI specification using the Microsoft.dotnet-openapi tool -- see the generated folder.

Install

dotnet add package Finnhub

See nuget.org.

Usage

open Finnhub
let client = Client "your-api-key"
client.Quote "AAPL"
    |> Async.RunSynchronously
    |> printfn "%A"

[TODO: add C# example]

Related projects

There are a few other Finnhub API clients for .NET, such as ThreeFourteen.FinnhubClient and FinnHub.NET. However, the existing clients have some issues (e.g. lack of API coverage, lack of documentation). Also, I'd rather have a simpler API wrapper without any external dependencies, so I decided to write this.

finnhub-dotnet's People

Contributors

pviotti avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

finnhub-dotnet's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/dotnet.yml
  • actions/checkout v3
  • actions/setup-dotnet v2
nuget
generated/finnuhub-openapi.csproj
  • NSwag.ApiDescription.Client 13.16.1
  • Newtonsoft.Json 13.0.1

  • Check this box to trigger a request for Renovate to run again on this repository

Implement missing APIs

API docs: https://finnhub.io/docs/api

Web socket

  • Trades
  • News (Premium)

Stock Fundamentals

  • Symbol Lookup
  • Stock Symbols
  • Company Profile (Premium)
  • Company Profile 2
  • Company Executive (Premium)
  • Market News
  • Company News
  • Press Releases (Premium)
  • News Sentiment
  • Peers
  • Basic Financials
  • Ownership (Premium)
  • Fund Ownership (Premium)
  • Financials (Premium)
  • Financials As Reported
  • SEC Filings
  • International Filings (Premium)
  • SEC Sentiment Analysis (Premium)
  • Similarity Index (Premium)
  • IPO Calendar
  • Dividends (Premium)

Stock Estimates

  • Recommendation Trends
  • Price Target (Premium)
  • Upgrade Downgrade (Premium)
  • Revenue Estimates (Premium)
  • EPS Estimates (Premium)
  • EPS Surprises
  • Earnings Calendar

Stock Price

  • Quote
  • Candles
  • Tick Data (Premium)
  • Last Bid-Ask (Premium)
  • Splits (Premium)
  • Dividends 2 (Premium)

ETFs & Indices

  • Indices Constituents
  • Historical Constituents (Premium)
  • ETFs Profile (Premium)
  • ETFs Holdings (Premium)
  • ETFs Industry
  • ETFs Country

Forex

  • Exchanges
  • Symbols
  • Candles
  • All Rates

Crypto

  • Exchanges
  • Symbols
  • Candles

Technical Analysis

  • Pattern Recognition
  • Support/Resistance
  • Aggregate Indicators
  • Technical Indicators

Alternative Data

  • Transcripts List (Premium)
  • Transcripts (Premium)
  • Social Sentiment
  • COVID-19
  • FDA Calendar

Economic

  • Country List
  • Economic Calendar
  • Economic Codes (Premium)
  • Economic (Premium)

Enterprise Data

  • Short Interest (Premium)
  • Global Fixed Income (Premium)
  • Derivatives (Premium)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.