パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.1.2

finance_quote

株式(例:アマゾン、グーグル)、貴金属(例:金、原油)および暗号資産(例:ビットコイン、イーサリアム)の見積もり情報と価格を取得するためのマルチプラットフォームAPIです。

30日間ダウンロード
43
いいね数
29
Pub ポイント
40

パッケージをインストール

flutter pub add finance_quote

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

株式、商品、暗号資産のリアルタイムおよび歴史的な金融データにアクセスできるマルチプラットフォーム対応のFlutterパッケージです。アマゾン、グーグル、金、原油、ビットコイン、イーサリアムなどのさまざまな資産から価格情報や現在の価格を取得できます。金融関連アプリへの統合を目的としており、シンプルなAPIでクロスプラットフォーム対応をサポートしています。投資トラッカー、ポートフォリオダッシュボード、取引ツールの構築に最適です。データは外部APIに依存しており、認証およびレート制限のための適切な設定が必要です。

用途

  • 株価の追跡
  • 暗号通貨市場のモニタリング
  • 原材料価格の更新
  • ポートフォリオ価値の計算
  • 財務ダッシュボード開発

主な機能

  • 株式、暗号資産、および貴金属をサポート
  • リアルタイムおよび履歴データ
  • クロスプラットフォーム互換性
  • シンプルな API インターフェース
  • 拡張可能なデータ取得

適している対象

  • ファイナンスアプリ開発者
  • 投資トラッキングツール
  • 取引プラットフォームの統合
  • 教育財務アプリ
  • 個人予算アプリ

注意事項

  • APIキーの設定が必要です
  • サードパーティのデータプロバイダに依存
  • レート制限が適用される可能性があります
  • データの正確性はソースに依存します
  • ネットワーク接続が必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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.

カテゴリー

依存関係

依存関係一覧 5 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。