Skip to content

Conversation

@femtotrader
Copy link
Contributor

Try to fix #153

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncomment this to have a short processing time.

@femtotrader
Copy link
Contributor Author

Processing is so long that it leads to Travis CI build error

No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.

@femtotrader
Copy link
Contributor Author

Python 2.6 Travis build is failing. Others Python versions seems to be ok. Any idea why it's failing with 2.6 ?

df = pd.read_csv(zfile, names=['Symbol', 'Date', 'Bid', 'Ask'])

df['Date'] = pd.to_datetime(df['Date'], format='%Y%m%d %H:%M:%S.%f')
df = df.set_index('Date')
Copy link
Contributor Author

@femtotrader femtotrader Jun 17, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution: Date columns have non unique values

df = df.set_index('Date', verify_integrity=True)

should raises error

we might make Date unique (adding a quantum of 1 microsecond or 1 nanosecond)

See http://stackoverflow.com/questions/34575126/create-a-dataframe-with-datetimeindex-with-unique-values-by-adding-a-timedelta/34576154#34576154

@femtotrader femtotrader changed the title TrueFX tick datareader ENH: TrueFX tick datareader Sep 8, 2016
@femtotrader
Copy link
Contributor Author

Direct download is not available anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: TrueFX Tick DataReader

1 participant