Commit Graph

39 Commits

Author SHA1 Message Date
Thomas Wiecki 3f1c3b39ad MAINT: Make talib an optional dependency. Fixes #362. 2014-08-04 13:25:46 +02:00
Thomas Wiecki a7de02176b Bump version: 0.7.0rc1 → 0.7.0 2014-07-25 19:34:49 +02:00
Thomas Wiecki 8d16efc5c4 Bump version: 0.7.0 → 0.7.0rc1 2014-07-18 15:38:30 +02:00
Thomas Wiecki d6f26274ac Bump version: 0.6.1 → 0.7.0 2014-07-18 15:38:20 +02:00
twiecki f9fded97ac ENH: Implement CLI.
Add a CLI that reads in an algorithm, loads data,
run the algorithm, and output performance metrics.

The examples are adapted to the new zipline API and
analyses are split into separate files.

Also add config files that run the example
algorithms with preset settings.
2014-05-07 15:34:36 -04:00
twiecki b38bf07a95 Bump version: 0.6.0 → 0.6.1 2014-04-17 15:49:33 -04:00
twiecki b0220ab225 BLD: Add six as dependency. 2014-04-14 08:03:48 -04:00
Eddie Hebert 61ccce760e BLD: Remove unused requirement of iso8601 package. 2014-01-08 11:13:26 -05:00
Eddie Hebert 063039ea07 REL: Add Python 3 to PyPI classifiers. 2014-01-08 11:06:39 -05:00
Eddie Hebert 4c6b9b945d REL: Release v0.6.0
Highlights

- Reworked risk metrics, including verification against Excel spreadsheet
- Additional order methods
- Conversion of many data structures to use pandas
- Change to behavior of stop and limit orders (@pcawthron)
- Use pandas timezone handling throughout instead of Delorean
- New commission model (@stanh)
- Adds beginning of support for Toronto stock exchange. (@dstephens)
- Python 3 compatibility.
  Unit tests now pass when run with Python 3.3, and Python 3 should
  now be considered officially supported.
  If anything does not work under Python 3, please file as a bug.
2014-01-08 10:00:31 -05:00
Eddie Hebert bbad5b386a MAINT: Removed unused test_utils.check functions.
The test_utils were the only references to the blist package,
removing so that blist can be removed as a dependency.
2013-12-02 13:19:00 -05:00
Eddie Hebert 408c129760 BLD: Remove Delorean as a build and setup dependency.
Now that we use pandas Timestamp throughout, Delorean is no longer
needed as a dependency.
2013-11-11 11:47:41 -05:00
Eddie Hebert b44fc20e4e MAINT: Remove msgpack as a dependency.
Now that the data serialization uses pandas, msgpack is no longer
needed.
2013-10-01 14:28:11 -04:00
Thomas Wiecki 2026937dc9 BLD: Add version to zipline, bump to 0.5.11.dev
zipline.__version__ is now present. Closes #94.

Moreover, git master should have a .dev version string according
to convention. Releases then get the .dev label removed.
2013-08-08 11:12:10 -04:00
Thomas Wiecki d054008990 BLD: Bumped version to 0.5.10. 2013-07-27 09:50:37 -04:00
Eddie Hebert 45bca4301f REL: v0.5.9
Highlights:

- Benchmark updating now permits empty ranges.
  (Fixes runtime crash when running immediately after Easter 2013.)
- Risk metrics
  - Performance improvents from converting to numpy and pandas.
    <@wesm, wesmckinn@gmail.com>
  - Refactoring of risk metric calculation out of class structure.
2013-04-02 11:22:31 -04:00
Eddie Hebert 7dfa0d1980 REL: v0.5.8
- Fixes bug/confusion caused by pandoc conversion in setup.py
- Slight refactorings, removing missing methods, etc.
2013-03-27 13:04:24 -04:00
Eddie Hebert 09af6fb721 BUG: Avoids install errors caused by lack of pandoc binary.
The pyandoc module throws an OSError of:
"No such file or directory",
when the underlying pandoc binary does not exist.

This error has caused confusion for numerous people during pip
installation.

pandoc is only needed on upload to PyPI to convert to ReST.
So, instead of doing a try/except on the `import pandoc` for all cases,
now checking whether or not 'upload' was invoked when calling setup.py,
so that only maintainers have to worry about installation of pandoc.

By only exercising the pandoc logic when
2013-03-27 12:27:17 -04:00
Eddie Hebert 19a1279385 REL: v0.5.7
Highlights, with thanks to contributors inline:

- Runtime performance improvements
- Fixed the omission of peformance messages on days with no trades
- Changes to batch_transform implementation
-- supports sid filtering
-- performance improvements using pandas
-- added an option for only computating when there is a window length's
   worth of data
- Added new risk metrics
-- Sortino
-- information ration
  (Ryan Day, ryanday2@gmail.com @rday)
- Added stop and limit orders
  (Tony Worm, verdverm@gmail.com @verdverm)
- Added variable recording
- Deprecated market_aware and delta kwargs to EventWindow
- Fixes to trading calendars for missing holidays
- Added TradingEnviorment context manager
- Added support for streaming through dividends
- Yahoo source now has OHLC
- Updates downloaded benchmark and treasury data when new data is available.
  (Ryan Day, ryanday2@gmail.com @rday)
- Added optional adjustment of Yahoo data
  (Jeremiah Lowin, jlowin@lowindata.com @jlowin)
2013-03-25 12:44:45 -04:00
Aidan 724fe60f20 adding delorean to dependency list 2013-02-24 18:10:19 +11:00
Eddie Hebert c919e380f4 Handles the case where pandoc isn't available during download.
Also bumps version up to 0.5.6 so the new version will apply.
2012-12-19 16:25:58 -05:00
Eddie Hebert 1af76458fd Release 0.5.5
Salient changes since last version:

- Adds non-holiday closings to trading calendar.
- Forward filling of missing treasury data.
- Improves handling of treasury data when the backtest's
  end date day is not a market day.
- Adds option to forward fill data in batch transform.
2012-12-18 10:49:32 -05:00
Eddie Hebert 1f09450584 Fixes reading of README file. 2012-12-03 19:43:41 -05:00
Eddie Hebert 11a31dff22 Updates release version to 0.5.4
Bugfix release.

Notable fixes:
- algorithm crashes due to missing data panel slots
- slippage model getting out of sync with the algorithm.
2012-12-03 18:26:48 -05:00
Eddie Hebert 4d0303cc75 Converts README.md file to ReST for setup's long_description.
So that we can have one README.md in source control, but have
a README that is compatible with PyPI.

Adds pyandoc on which the doc conversion depends.
2012-11-26 14:48:03 -05:00
Eddie Hebert e7dfca723d Relase 0.5.3
Main fix contained with in is the fix to the time step in risk
metric benchmarks.
2012-11-20 16:10:08 -05:00
Eddie Hebert 7ff1ab2ab1 Makes indentation of setup.py compatible with flake8 2012-11-20 16:10:08 -05:00
Eddie Hebert e5f41e7455 Bumps release to 0.5.2.
Mainly fixes to imports and downloading of resources that were
preventing installations.
2012-11-12 12:47:48 -05:00
Eddie Hebert 742b44f87b Adds requests library to setup's required libraries.
So that loading of external data works 'out of the box'.
2012-11-08 22:49:15 -05:00
Eddie Hebert c0b260fc4a Bumps version up to 0.5.1 in setup config. 2012-10-25 22:31:15 -04:00
Eddie Hebert c1227105ab Tweaks indentation. 2012-10-25 22:30:46 -04:00
Eddie Hebert c26a6442e5 Moves project back over to using setuptools.
distutils was throwing errors about install_requires nor was
it successfully uploading to PyPI.

We'll look at distutils2 when it's pulled into core.
2012-10-15 21:21:38 -04:00
Eddie Hebert 4955ceea44 Adds submodules to setup.py 2012-10-12 16:10:39 -04:00
Eddie Hebert bbf2317c57 Saving point for adding license files. 2012-10-08 17:32:40 -04:00
Eddie Hebert df9fb66736 Updates development status to Beta. 2012-10-05 15:03:06 -04:00
Eddie Hebert b6af686392 Updates version to initial release version in setup.py 2012-10-05 14:44:46 -04:00
Eddie Hebert f8c3f10589 Strips out use of pavement in generating our setup.py
Working towards making the project distributable on PyPI.

Looked at a lot of the projects that we want to emulate, and none
use pavement.
2012-10-05 14:33:58 -04:00
fawce 1e0cd5784e added distutils tasks to paver 2012-02-08 16:14:10 -05:00
fawce ef39dae85a docs building 2012-02-08 16:01:39 -05:00