Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

subtraction for market neutralization match timestamps of market on t...#69

Open
CaryLorrk wants to merge 1 commit into
QuantSoftware:master from
CaryLorrk:master
Open

subtraction for market neutralization match timestamps of market on t... #69
CaryLorrk wants to merge 1 commit into
QuantSoftware:master from
CaryLorrk:master

Conversation

@CaryLorrk

@CaryLorrk CaryLorrk commented Aug 16, 2016
edited
Loading

Copy link
Copy Markdown

The default behavior of pandas.DataFrame's subtraction is to match input Series index on column. What we want is index to index (timestamps to timestamps) subtraction.

tnlin, jvirtanen, and emma11235 reacted with thumbs up emoji

tnlin commented Sep 4, 2016

Copy link
Copy Markdown

cheers from Coursera 😄

Copy link
Copy Markdown

Awesome! This quick fix worked for me as well! Been frustrated yesterday when got an empty plot. Thank you!!!
Strange it's working for others, including the instructor on video (Coursera)

SirSkiaLot commented Dec 22, 2016
edited
Loading

Copy link
Copy Markdown

I did all the steps and although the error is gone at run time, the plot is still empty. I even setup the vagrant image on VB and ran the code through that. It compiles and generates plot but plot is still empty. I'm now also getting the following error. Any thoughts?

Error writing cache: /tmp/QSS/qstk-Yahoo(series of numbers).pkl

Note - When I turn b_market_neutral to false, the plot outputs correctly.

romanbsd added a commit to romanbsd/QuantSoftwareToolkit that referenced this pull request Sep 30, 2017
romanbsd added a commit to romanbsd/QuantSoftwareToolkit that referenced this pull request Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /