Skip to content

Commit b063940

Browse files
authored
Merge pull request #1586 from ranaroussi/improve-readme
Emphasise API on Wiki
2 parents 9268fcf + aba81ee commit b063940

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

README.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,10 @@ To download price history into one table:
144144

145145
```python
146146
import yfinance as yf
147-
data = yf.download("SPY AAPL", start="2017-01-01", end="2017-04-30")
147+
data = yf.download("SPY AAPL", period="1mo")
148148
```
149149

150-
`yf.download()` and `Ticker.history()` have many options for configuring fetching and processing, e.g.:
151-
152-
```python
153-
yf.download(tickers = "SPY AAPL", # list of tickers
154-
period = "1y", # time period
155-
interval = "1d", # trading interval
156-
prepost = False, # download pre/post market hours data?
157-
repair = True) # repair obvious price errors e.g. 100x?
158-
```
159-
160-
Review the [Wiki](https://github.com/ranaroussi/yfinance/wiki) for more options and detail.
150+
#### `yf.download()` and `Ticker.history()` have many options for configuring fetching and processing. [Review the Wiki](https://github.com/ranaroussi/yfinance/wiki) for more options and detail.
161151

162152
### Logging
163153

0 commit comments

Comments
 (0)