Skip to content

Releases: alpacahq/pylivetrader

Improve Quantopian compatibility around get_open_orders()

01 Nov 05:18
Compare
Choose a tag to compare

Also unpleasant warning from IPython package is removed.

Retry from temporary error

25 Oct 22:26
Compare
Choose a tag to compare

This should help the process be tolerant in the case of temporary error caused by network, bad data etc. It is sometimes important to be resilient in live trading. It can be disabled by -r false

Comply the NaN handling in price data

26 Sep 17:33
Compare
Choose a tag to compare

When price data does not have particular time window, it was filling by the previous values (method='ffill'). This was not consistent with Quantopian and also causing the aggregated volume value to be bogus.

Critical bug fix around process restart

20 Sep 16:42
Compare
Choose a tag to compare
  • Fix wrong hash value used for equality comparison for Asset objects, causing restarted process to get confused with Asset key in dict #27

Minor fix for alpaca backend data masking

20 Sep 06:34
Compare
Choose a tag to compare

It was found and corrected that the alpaca backend get_bars() may return NaN for a minute bucket if there is no data for this specific window, but the zipline spec is presumably to fill by the last value.

Support shell subcommand

20 Sep 06:27
Compare
Choose a tag to compare

With pylivetrader shell <algofile>.py command, you can get into IPython interactive shell with the algo file module namespace. This allows quicker experiments while developing algo.

Experimental smoke testing support

20 Sep 06:29
Compare
Choose a tag to compare

This version includes "smoke" testing for algo with synthetic dummy price data and execute the code to catch potential typos and easy mistake.