패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.1.2

finance_quote

주식(예: 아마존, 구글), 상품(예: 금, 석유), 암호화폐(예: 비트코인, 이더리움)의 인용 정보 및 가격을 검색할 수 있는 다중 플랫폼 API입니다.

30일 다운로드
43
좋아요
29
Pub 점수
40

패키지 설치

flutter pub add finance_quote

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

주식, 상품, 암호화폐의 실시간 및 과거 금융 데이터에 접근할 수 있는 다중 플랫폼 Flutter 패키지입니다. 아마존, 구글, 금, 석유, 비트코인, 이더리움과 같은 다양한 자산에서 가격 정보와 현재 가격을 가져올 수 있습니다. 금융 관련 애플리케이션에 통합하기 위해 설계되었으며, 간단한 API를 통해 크로스플랫폼 사용을 지원합니다. 투자 추적기, 포트폴리오 대시보드 또는 거래 도구를 개발하는 데 이상적입니다. 외부 API에 의존하며 인증 및 요청 제한 설정을 올바르게 구성해야 합니다.

사용 사례

  • 주가 추적
  • 암호화폐 시장 모니터링
  • 상품 가격 업데이트
  • 포트폴리오 가치 계산
  • 재무 대시보드 개발

주요 기능

  • 주식, 암호화폐 및 상품을 지원합니다
  • 실시간 및 과거 데이터
  • 크로스 플랫폼 호환성
  • 간단한 API 인터페이스
  • 확장 가능한 데이터 검색

적합한 대상

  • 금융 앱 개발자
  • 투자 추적 도구
  • 거래 플랫폼 통합
  • 교육 금융 앱
  • 개인 예산 관리 애플리케이션

고려 사항

  • API 키 설정이 필요합니다
  • 제3자 데이터 공급자에 의존
  • 레이트 제한이 적용될 수 있습니다
  • 데이터 정확성은 원본에 따라 달라집니다
  • 네트워크 연결 필요

원본 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.