MCPcopy Create free account
hub / github.com/quantopian/zipline / initialize

Method initialize

tests/test_algorithm.py:359–361  ·  view source on GitHub ↗
(algo)

Source from the content-addressed store, hash-verified

357 }
358
359 def initialize(algo):
360 self.assertEqual('zipline', algo.get_environment())
361 self.assertEqual(expected_env, algo.get_environment('*'))
362
363 def handle_data(algo, data):
364 pass

Callers

nothing calls this directly

Calls 6

AlwaysClass · 0.90
get_environmentMethod · 0.80
schedule_functionMethod · 0.80
every_dayMethod · 0.80
market_openMethod · 0.80
add_eventMethod · 0.45

Tested by

no test coverage detected