From f21076cb75a67f8a8a86f442ab95c3b2c18a979e Mon Sep 17 00:00:00 2001 From: Zack Urben Date: Mon, 1 Jan 2018 13:33:02 -0600 Subject: [PATCH] Adding readme examples for batch quotes. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c214996..a52fe4a 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,10 @@ alpha.data.intraday(`msft`).then(data => { console.log(data); }); +alpha.data.batch([`msft`, `aapl`]).then(data => { + console.log(data); +}); + alpha.forex.rate('btc', 'usd').then(data => { console.log(data); }) @@ -68,6 +72,7 @@ alpha.data.weekly(symbol, interval) alpha.data.weekly_adjusted(symbol, interval) alpha.data.monthly(symbol, interval) alpha.data.monthly_adjusted(symbol, interval) +alpha.data.batch([symbol1, symbol2..]) ``` ## Forex