Pakete, Repositories und App-Kategorien suchen

Paketdetailsv0.1.2

finance_quote

Eine plattformübergreifende API zum Abrufen von Zitaten und Preisen für Aktien (z. B. Amazon, Google), Rohstoffe (z. B. Gold, Öl) und Kryptowährungen (z. B. Bitcoin, Ethereum).

30-Tage-Downloads
43
Likes
29
Pub-Punkte
40

Paket installieren

flutter pub add finance_quote

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein mehrplattformfähiges Flutter-Paket, das Zugriff auf Echtzeit- und historische Finanzdaten für Aktien, Rohstoffe und Kryptowährungen bietet. Es ermöglicht Entwicklern, Kursinformationen und aktuelle Preise von verschiedenen Vermögenswerten wie Amazon, Google, Gold, Öl, Bitcoin und Ethereum abzurufen. Für die Integration in finanzbezogene Anwendungen konzipiert, unterstützt es den plattformübergreifenden Einsatz mit einer einfachen API. Das Paket ist ideal für die Erstellung von Investitionsverfolgungstools, Portfolio-Dashboards oder Handelsinstrumenten. Es basiert auf externen APIs und erfordert eine korrekte Konfiguration für Authentifizierung und Rate-Limiting.

Anwendungsfälle

  • Aktienkursverfolgung
  • Überwachung des Kryptowährungsmarktes
  • Preisaktualisierungen für Rohstoffe
  • Berechnung des Portfolio-Werts
  • Entwicklung des Finanzdashboards

Hauptmerkmale

  • Unterstützt Aktien, Kryptowährungen und Rohstoffe
  • Echtzeit- und historische Daten
  • Plattformübergreifende Kompatibilität
  • Einfache API-Schnittstelle
  • Erweiterbare Datenabruf

Geeignet für

  • Finanz-App-Entwickler
  • Investitionsverfolgungstools
  • Handelsplattform-Integrationen
  • Bildungsfinanz-Apps
  • Persönliche Budgetierungsanwendungen

Hinweise

  • API-Schlüssel-Einrichtung erforderlich
  • Abhängig von Drittanbieter-Datenanbietern
  • Geschwindigkeitsbegrenzungen können gelten
  • Die Datenpräzision hängt von der Quelle ab
  • Netzwerkverbindung erforderlich

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

A Dart plugin for retrieving financial quote prices.

pub package Build Status

This package provides a set of high-level functions and classes that make it easy to retrieve financial quote information and prices for stocks (Amazon, Google, ...), commodities (Gold, Oil, ...) and crypto-currencies (Bitcoin, Ethereum, ...). It's platform-independent, supports iOS and Android.

Using

The easiest way to use this library is via the top-level functions. They allow you to make quote price requests with minimal hassle:

  final Map<String, Map<String, String>> quotePrice =
      await FinanceQuote.getPrice(
          quoteProvider: QuoteProvider.yahoo, symbols: <String>['KO']);

  print('Number of quotes retrieved: ${quotePrice.keys.length}.');
  print('Number of attributes retrieved for KO: ${quotePrice['KO'].keys.length}.');
  print('Current market price for KO: ${quotePrice['KO']['price']}.');

If you're making multiple quote requests to the same server, you can request all of them in a single function call:

  final Map<String, Map<String, String>> quotePrice =
      await FinanceQuote.getPrice(
          quoteProvider: QuoteProvider.yahoo, symbols: <String>['KO', 'GOOG']);

  print('Number of quotes retrieved: ${quotePrice.keys.length}.');
  print('Number of attributes retrieved for KO: ${quotePrice['KO'].keys.length}.');
  print('Current market price for KO: ${quotePrice['KO']['price']}.');
  print('Number of attributes retrieved for GOOG : ${quotePrice['GOOG'].keys.length}.');
  print('Current market price for KO: ${quotePrice['GOOG']['price']}.');

If you want all available quote data from the selected provider, you can request it with the function call:

  final Map<String, Map<String, dynamic>> cryptoQuoteRaw =
      await FinanceQuote.getRawData(
          quoteProvider: QuoteProvider.coincap, symbols: <String>['bitcoin', 'ethereum']);

  print('Number of quotes retrieved: ${cryptoQuoteRaw.keys.length}.');
  print('Number of attributes retrieved for bitcoin : ${cryptoQuoteRaw['bitcoin'].keys.length}.');
  print('Current market price for bitcoin: ${cryptoQuoteRaw['bitcoin']['priceUsd']}.');
  print('Number of attributes retrieved for ethereum: ${cryptoQuoteRaw['ethereum'].keys.length}.');
  print('Current market price for ethereum: ${cryptoQuoteRaw['ethereum']['priceUsd']}.');

Supported providers

  • Yahoo
  • Morningstar
  • Coinmarketcap
  • Coincap
  • Binance

TERMS & CONDITIONS

Quote information fetched through this module is bound by the quote providers terms and conditions.

Kategorien

Abhängigkeiten

Abhängigkeiten 5 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.