From 94b53bdcb792fc31b26985ead183e6b06044d434 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Mon, 22 Sep 2014 09:43:53 -0400 Subject: [PATCH] MAINT: Minor tweaks to docstring. --- zipline/history/history.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/history/history.py b/zipline/history/history.py index 2e589819..21b726a3 100644 --- a/zipline/history/history.py +++ b/zipline/history/history.py @@ -320,8 +320,8 @@ def index_at_dt(history_spec, algo_dt): Returns index of a frame returned by get_history() with the given history_spec and algo_dt. - The resulting index `@history_spec.bar_count` bars, increasing in units of - `@history_spec.frequency`, terminating at the given @algo_dt. + The resulting index will have @history_spec.bar_count bars, increasing in + units of @history_spec.frequency, terminating at the given @algo_dt. Note: The last bar of the returned frame represents an as-of-yet incomplete time window, so the delta between the last and second-to-last bars is