MCPcopy Index your code
hub / github.com/quantopian/zipline / NoBenchmark

Class NoBenchmark

zipline/algorithm.py:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143class NoBenchmark(ValueError):
144 def __init__(self):
145 super(NoBenchmark, self).__init__(
146 'Must specify either benchmark_sid or benchmark_returns.',
147 )
148
149
150class TradingAlgorithm(object):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected