yfinance-lfe

所属分类:金融证券系统
开发工具:Erlang
文件大小:0KB
下载次数:0
上传日期:2015-09-13 05:50:50
上 传 者sh-1993
说明:  LFE库,用于查询实时股市数据,包括纳斯达克指数和标准普尔500指数,
(LFE library for querying real time stock market data including indexes such as NASDAQ and the S&P500,)

文件列表:
.travis.yml (216, 2015-09-12)
Makefile (57, 2015-09-12)
include/ (0, 2015-09-12)
include/data-types.lfe (349, 2015-09-12)
package.exs (276, 2015-09-12)
rebar.config (497, 2015-09-12)
resources/ (0, 2015-09-12)
resources/make/ (0, 2015-09-12)
resources/make/common.mk (3969, 2015-09-12)
src/ (0, 2015-09-12)
src/yfinance-lfe-util.lfe (202, 2015-09-12)
src/yfinance-lfe.app.src (1029, 2015-09-12)
src/yfinance-lfe.lfe (2049, 2015-09-12)
test/ (0, 2015-09-12)
test/unit-yfinance-lfe-tests.lfe (566, 2015-09-12)

# yfinance-lfe Port of F# library [YFinance.fs](https://github.com/gsscoder/YFinance.fs), originally ported from [yfinance](https://github.com/owainlewis/yfinance) by @owainlewis. ## Introduction LFE library for querying real time stock market data including indexes such as NASDAQ and the S&P500. ## Installation Just add it to your ``rebar.config`` deps: ```erlang {deps, [ ... {yfinance-lfe, ".*", {git, "git@github.com:gsscoder/yfinance-lfe.git", "master"}} ]}. ``` And then do the usual: ```bash $ rebar get-deps $ rebar compile ``` ## Usage ```cl Starting an LFE REPL ... Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace] LFE Shell V6.4 (abort with ^G) > (yfinance-lfe:start) (#(inets ok) #(ssl ok) #(lhttpc ok) #(lhc ok) #(yfinance-lfe ok)) > (yfinance-lfe:get-stock-quotes `("ORCL" "GOOGL")) (#(stock-quote "Google Inc." "GOOGL" "644.91" "+15.35" "645.06" "630.64" "713.33" "490.91") #(stock-quote "Oracle Corporation Common Stock" "ORCL" "36.75" "+0.74" "36.75" "36.11" "46.71" "35.14")) > (yfinance-lfe:get-stock-quotes `("MSFT")) (#(stock-quote "Microsoft Corporation" "MSFT" "43.36" "+1.54" "43.38" "41.88" "50.05" "39.72")) ```

近期下载者

相关文件


收藏者