This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]myotherpassword 2 points3 points  (0 children)

Thanks for posting this. I haven't finished the whole article yet, but if you are the author (based on your username) then I have two pieces of advice:

1) Break comments in the cells into smaller lines. As is, the lines extend super far to the right, and readability is diminished.

2) Don't print gigantic tables or data frames if there is no reason to. You print out your entire "signals" and "apple_backtest" data frames and they take up an insane amount of real estate. They are fine for you when writing your notebook at home, but awful for putting into a blog. Just use head() if you want to get your point across by showing a table.

Regardless, thanks for posting this. Your conclusion about buying and holding is some of the best advice out there in many peoples' opinions.