mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-21 12:30:16 +08:00
Update zipline-0.6.2.md
This commit is contained in:
@@ -85,17 +85,17 @@
|
||||
* Adds an `all_api_methods` classmethod on `TradingAlgorithm` that returns a
|
||||
list of all `TradingAlgorithm` API methods. [PR333](https://github.com/quantopian/zipline/pull/333)
|
||||
|
||||
* Expanded record() functionality. [PR325](https://github.com/quantopian/zipline/pull/355)
|
||||
* Expanded record() functionality for dynamic naming. [PR325](https://github.com/quantopian/zipline/pull/355)
|
||||
|
||||
> The record() function can now take positional args before the kwargs.
|
||||
> All original usage and functionality is the same, but now these
|
||||
> extra usages will work:
|
||||
>
|
||||
|
||||
name = 'string'
|
||||
name = 'Dynamically_Generated_String'
|
||||
record( name, value, ... )
|
||||
record( name, value1, 'name2', value2, name3=value3, name4=value4 )
|
||||
|
||||
|
||||
> The requirements are simply that the poritional args occur only before the
|
||||
> kwargs.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user