Skip to content

Latest commit

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

PolygonIO

StableDevBuild StatusCoverageOpen in Visual Studio Code

PolygonIO.jl is a client accessing the WebSocket and RESTful APIs of Polygon.io in native Julia.

Installation

To install PolygonIO either do

using Pkg
Pkg.add("PolygonIO")

or switch to Pkg mode with ] and issue

pkg> add PolygonIO

Usage

using PolygonIO
opts =PolyOpts(API_KEY, Table.jl Supported Tabular Interface As Sink or nothing)
data =API_FUNC(opts, [args...]; [kwargs...])

Example

using PolygonIO
using DataFrames
opts =PolyOpts(API_KEY, DataFrame)
ticker_search_info =tickers(opts, "bitcoin")
julia> ticker_search_info =tickers(opts, "bitcoin")
10×10 DataFrame
Row │ ticker name market locale active currency_symbol currency_name base_curre 
│ String String String String Bool String String String 
─────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ X:BSVUSD Bitcoin SV - United States Dollar crypto globaltrue USD United States Dollar BSV 2 │ X:BTCJPY Bitcoin - Japanese Yen crypto globaltrue JPY Japanese Yen BTC
3 │ X:BCHGBP Bitcoin Cash - Great Britian Pou crypto globaltrue GBP Great Britian Pound BCH
4 │ X:BTCGBP Bitcoin Cash - Great Britain Pou crypto globaltrue GBP Great Britain Pound BTC
5 │ X:BCHCZK Bitcoin Cash - Czech Koruna crypto globaltrue CZK Czech Koruna BCH 6 │ X:ETHBTC Ethereum - Bitcoin crypto globaltrue BTC Bitcoin ETH
7 │ X:BTCEUR Bitcoin - Euro crypto globaltrue EUR Euro BTC
8 │ X:BCHABCUSD Bitcoin Cash ABC - United States crypto globaltrue USD United States Dollar BCHABC
9 │ X:ATMUSD Bitcoin ATM - United States Doll crypto globaltrue USD United States Dollar ATM 10 │ X:BCHUSD Bitcoin Cash - United States Dol crypto globaltrue USD United States Dollar BCH
3 columns omitted

Features

  • Full coverage of Stock API
  • Full coverage of Forex API
  • Full coverage of Crypto API
  • Full coverage of Reference Data API
  • Full coverage of WebSocket API

About

A Julia client library for accessing Polygon's APIs

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages