Thomas Wiecki
79318e98e1
Merge branch 'master' of github.com:quantopian/zipline
2012-05-01 07:31:10 -04:00
Stephen Diehl
0cf48698b8
Dispatch cancellation in REQ/REP
2012-04-27 15:56:30 -04:00
Stephen Diehl
d9294d2ff9
Base class for transitions.
2012-04-26 21:21:57 -04:00
Stephen Diehl
cfe71196c5
Fail on timeouts & timeout handlers.
2012-04-26 14:45:28 -04:00
Stephen Diehl
08f7b115ac
Cleaner exception/shutdown procedures.
2012-04-26 14:42:38 -04:00
Stephen Diehl
e0d3811aed
Fail fast in monitor on errors.
2012-04-26 14:26:06 -04:00
Stephen Diehl
d09aa1ad93
Make monitor have proper state transitions.
2012-04-26 13:52:46 -04:00
Stephen Diehl
0bf425a8dc
initial work on new protocol
2012-04-25 19:52:14 -04:00
Thomas Wiecki
a6a1bdae0a
Merge branch 'master' of github.com:quantopian/zipline
2012-04-25 10:06:18 -04:00
fawce
54f8d7d013
removed lines sending messages to the control channel, simplified logic for handling max loss case, DONE'ing trading client on max loss. Zipline continues to run until all components are finished.
2012-04-24 17:51:02 -04:00
fawce
1f04ee4ece
committed a set_trace...
2012-04-23 21:04:51 -04:00
fawce
fe793b503d
hotpatching a merge error (duplication of the max dd check).
2012-04-23 20:50:08 -04:00
fawce
54d3579ceb
added boolean to results for exceeding max losses in a single simulated day.
2012-04-23 15:10:44 -04:00
Thomas Wiecki
17f17eceb2
Merge branch 'master' of github.com:quantopian/zipline
2012-04-23 07:21:46 -04:00
fawce
1d9953255a
added stop out for max drawdown.
2012-04-20 23:41:23 -04:00
fawce
bab0e2bd19
made distinction between cumulative behavior and daily behavior a bit more clear.
2012-04-20 15:08:39 -04:00
fawce
bc14e7e3b7
zipline, now a cold, heartless, http://open.spotify.com/track/1xshgoh575otNXRfeYgh9D
...
Pretty fast too...
2012-04-20 12:21:03 -04:00
fawce
28c380c245
removed heartbeat on every iteration, resulted in a 50% reduction in processing time per day.
...
However, the big lesson from this experiment is that the major bottleneck is in the feedback loop. By eliminating the feedback loop and instead putting the transaction simulation into the client end of the zipline, I think we could accelerate by 10x.
2012-04-20 12:21:03 -04:00
Thomas Wiecki
e2d1c580d3
Resolved conflict.
2012-04-20 09:33:57 -04:00
fawce
6f5e9b0559
fixed documentation
2012-04-19 23:32:37 -04:00
fawce
08a5bd5a0d
re-arranged fields so that history includes daily snapshots for cumulative measures.
2012-04-19 23:27:35 -04:00
fawce
ddb1c51569
moved epoch_now to date_utils
2012-04-18 23:14:21 -04:00
fawce
68040bad9a
consolidated some of the date util methods. added iso8061 support
2012-04-18 17:11:01 -04:00
fawce
1b5b92d75f
dropped unwanted fields.
2012-04-18 12:36:46 -04:00
fawce
6561292e4c
some efficiency changes - no longer transferring the list of daily returns, no longer holding transactions in the daily and the cumulative performance periods.
2012-04-18 12:36:46 -04:00
fawce
7eb0ba67ac
clarifying the results protocol for the backtest.
2012-04-18 12:36:46 -04:00
fawce
309f78a030
modification of the transport protocol -- keeping it close to the export of data from the performance tracker.
2012-04-18 12:36:46 -04:00
fawce
5fd30216e5
revised protocol to maintain original structure.
2012-04-18 12:36:46 -04:00
fawce
2fcb68f59e
Merge branch 'master' of github.com:quantopian/zipline
2012-04-18 12:36:32 -04:00
Stephen Diehl
864899003b
Clean up test case.
2012-04-18 12:29:40 -04:00
Stephen Diehl
28f975fd55
Don't replace right now.
2012-04-18 11:19:10 -04:00
Stephen Diehl
b3de0a2fcc
Added ndict test suite.
2012-04-18 11:18:48 -04:00
Stephen Diehl
e2638f1cbb
Fixed arguments on magic methods.
2012-04-18 11:01:12 -04:00
Stephen Diehl
daaa45e9c1
Namedicts edges fixed, and awesomer ndict
2012-04-18 10:53:04 -04:00
fawce
9db18846c9
fixed type-os in serialization code
2012-04-16 13:37:54 -04:00
fawce
bd616a9ec0
eliminated special handling for non-blocking components.
2012-04-16 12:06:39 -04:00
fawce
02d7f0a4c8
heavy work on the feedback loop from trade client to order source. tests are passing using a busy wait inside the trade client. hopefully we can find a more elegant approach.
2012-04-14 15:09:52 -04:00
fawce
4486dd0cad
removed some straggling test code.
2012-04-13 16:54:49 -04:00
fawce
38982fcdab
major fix is with the non-blocking behavior of order source. also fixed time-compression in the trading client.
2012-04-13 15:08:17 -04:00
fawce
dfc3523197
fixed default to be partial fill
2012-04-13 09:58:12 -04:00
fawce
1559a84c7b
added simulation style to transation simulator, to facilitate tests. Fixed roll-over bug in max cap and max leverage calculation.
2012-04-13 09:53:20 -04:00
fawce
aea2e1189c
fixes to the calculation of transactions and associated tests for long and short orders.
2012-04-12 10:46:10 -04:00
fawce
b78097241a
rounded out tests to cover more trading cases (spreading, collapsing, expiring)
2012-04-11 12:00:16 -04:00
fawce
f759cac61b
added a simple test for the transaction simulator, heavily revised the simulator as a result.
2012-04-10 22:46:50 -04:00
fawce
db7a4d2f91
Merge pull request #29 from quantopian/fawce_sprint1
...
added transactions to the daily update objects.
2012-04-10 11:17:37 -07:00
fawce
368341ce61
moved transaction store to PerformancePeriod. added the position data to the performance message.
2012-04-10 14:12:03 -04:00
Thomas Wiecki
013e23383c
ENH: Loading of benchmark data now path independent.
...
BUG: Correctly close file descriptor after use.
ENH: Use attrgetter instead of lambda function to sort keys.
ENH: Added package_data so that benchmark datasets will get installed.
2012-04-10 11:12:59 -04:00
fawce
8ce5159e91
Merge pull request #30 from quantopian/stable_upstream
...
Stable upstream
2012-04-10 08:00:39 -07:00
Stephen Diehl
ea340b6186
Datetime subclasses with tzinfo=UTC by default
2012-04-10 08:30:37 -04:00
Stephen Diehl
6f27009e82
Started datetime utiles lib.
2012-04-10 00:30:53 -04:00