|
1 | 1 | """
|
2 |
| -A collection of modules for collecting, analyzing and plotting |
| 2 | +A collection of functions for collecting, analyzing and plotting |
3 | 3 | financial data. User contributions welcome!
|
4 | 4 |
|
| 5 | +This module is deprecated in 1.4 and will be moved to `mpl_toolkits` |
| 6 | +or it's own project in the future. |
| 7 | +
|
5 | 8 | """
|
6 | 9 | from __future__ import division, print_function
|
7 | 10 | import contextlib
|
@@ -500,7 +503,7 @@ def quotes_historical_yahoo_ochl(ticker, date1, date2, asobject=False,
|
500 | 503 |
|
501 | 504 | Examples
|
502 | 505 | --------
|
503 |
| - >>> sp = f.quotes_historical_yahoo('^GSPC', d1, d2, |
| 506 | + >>> sp = f.quotes_historical_yahoo_ochl('^GSPC', d1, d2, |
504 | 507 | asobject=True, adjusted=True)
|
505 | 508 | >>> returns = (sp.open[1:] - sp.open[:-1])/sp.open[1:]
|
506 | 509 | >>> [n,bins,patches] = hist(returns, 100)
|
@@ -542,7 +545,7 @@ def quotes_historical_yahoo_ohlc(ticker, date1, date2, asobject=False,
|
542 | 545 |
|
543 | 546 | Examples
|
544 | 547 | --------
|
545 |
| - >>> sp = f.quotes_historical_yahoo('^GSPC', d1, d2, |
| 548 | + >>> sp = f.quotes_historical_yahoo_ohlc('^GSPC', d1, d2, |
546 | 549 | asobject=True, adjusted=True)
|
547 | 550 | >>> returns = (sp.open[1:] - sp.open[:-1])/sp.open[1:]
|
548 | 551 | >>> [n,bins,patches] = hist(returns, 100)
|
|
0 commit comments