Skip to content

Commit 428fad3

Browse files
authored
Merge pull request #186 from MatthewScholefield/patch-1
Fix typo in Polygon example
2 parents 27dc684 + 08fc4e4 commit 428fad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ The example below gives AAPL daily OHLCV data in a DataFrame format.
294294
import alpaca_trade_api as tradeapi
295295

296296
api = tradeapi.REST()
297-
aapl = api.polygon.historic_agg_v2('AAPL', 1, day, _from='2019-01-01', to='2019-02-01').df
297+
aapl = api.polygon.historic_agg_v2('AAPL', 1, 'day', _from='2019-01-01', to='2019-02-01').df
298298
```
299299

300300
## polygon/REST

0 commit comments

Comments
 (0)