PGPortfolio icon indicating copy to clipboard operation
PGPortfolio copied to clipboard

Issue while Downloading Data

Open bhuvanmittal opened this issue 6 years ago • 1 comments

I was trying to download the data and is encountering following error:

File "C:\Users\AIO\Downloads\PGPortfolio-master\pgportfolio\marketdata\poloniex.py", line 28, in self.timestamp_str = lambda timestamp=time.time(), format="%Y-%m-%d %H:%M:%S": datetime.fromtimestamp(timestamp).strftime(formssat) NameError: name 'formssat' is not defined

How I can resolve this issue? Thanks in advance.

bhuvanmittal avatar Apr 08 '18 09:04 bhuvanmittal

    self.timestamp_str = lambda timestamp=time.time(), format="%Y-%m-%d %H:%M:%S": \
        datetime.fromtimestamp(timestamp).strftime(format)

wujun avatar Apr 09 '18 02:04 wujun