Skip to content

Commit

Permalink
Updated doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbeced committed Jun 20, 2014
1 parent 8a67a04 commit eaa02fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyalgotrade/bitcoincharts/barfeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def getFrequency(self):
def getPrice(self):
return self.__price


# As described in http://www.bitcoincharts.com/about/markets-api/
# unixtime has second precision so more than 1 trade in a second will trigger
# duplicate bars checks.
Expand Down Expand Up @@ -137,8 +138,8 @@ class CSVTradeFeed(csvfeed.BarFeed):
:type maxLen: int.
.. note::
Note that a :class:`pyalgotrade.bar.Bar` instance will be created for every trade, so
open, high, low and close values will all be the same.
* A :class:`pyalgotrade.bar.Bar` instance will be created for every trade, so open, high, low and close values will all be the same.
* Files must be sorted with the **unixtime** column in ascending order.
"""

def __init__(self, timezone=None, maxLen=dataseries.DEFAULT_MAX_LEN):
Expand Down

0 comments on commit eaa02fd

Please sign in to comment.