Skip to content

Commit

Permalink
DOC: documented the get_frequency function for additional clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
fredfortier committed Mar 17, 2018
1 parent b76b445 commit 91d16ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion catalyst/exchange/utils/datetime_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,10 @@ def get_year_start_end(dt, first_day=None, last_day=None):

def get_frequency(freq, data_frequency=None, supported_freqs=['D', 'H', 'T']):
"""
Get the frequency parameters.
Takes an arbitrary candle size (e.g. 15T) and converts to the lowest
common denominator supported by the data bundles (e.g. 1T). The data
bundles only support 1T and 1D frequencies. If another frequency
is requested, Catalyst must request the underlying data and resample.
Notes
-----
Expand Down

0 comments on commit 91d16ab

Please sign in to comment.