mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 14:00:11 +08:00
MAINT: Minor tweaks to docstring.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user