Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zipline #1

Open
RadCopperman opened this issue Dec 1, 2020 · 6 comments
Open

Zipline #1

RadCopperman opened this issue Dec 1, 2020 · 6 comments

Comments

@RadCopperman
Copy link

%load_ext zipline

ValueError: index must be monotonic increasing or decreasing

Use Windows 10, and Google Colab...

Could you please give me your opinion, how can I fix this error/....

@erykml
Copy link
Owner

erykml commented Dec 8, 2020

Hi, can you maybe try it locally instead of Colab?

@RadCopperman
Copy link
Author

RadCopperman commented Dec 10, 2020 via email

@RadCopperman
Copy link
Author

RadCopperman commented Dec 28, 2020 via email

@erykml
Copy link
Owner

erykml commented Jan 12, 2021

Hi Eryk, Thanks very much for your respond. Unfortunately, I don’t have any other option at work.( we are not allow to install any python, that’s why I used colab, doesn’t need installation). Be honest, I checked lots of codes and I found your codes are very informative and straight to the point (I wish, I could share my LSTM) and get your feedback. Thanks again,

Sent from my iPhone

Hi Amir!

Maybe you can try this answer https://stackoverflow.com/questions/65356865/how-to-install-zipline-on-google-colab . Seems like it's a matter of incompatible pandas version. Hope this solves your problem! As for the LSTM check, a good way of getting feedback is writing a blog post (like on Medium) and then having some people comment on it. You can also share the link with me if you do so and I can try to have a look at it if there is some spare time.

Hi Eryk, for your future project, Is it possible to create the code (Python) to ask for input of Transaction fee (Commission fee) then compare the profit with transaction fee. For example, If It's break even or negative Hold and If Profit is positive then sell. Because, Transaction fee is the key, even If we create the best trading bot and DO NOT consider the fee in the long run, it won't be profitable bot. Thanks, Happy Holidays & Stay Safe Amir

Regarding the idea about commission, zipline (and other libraries such as backtrader, which I covered in the book I wrote) do allow for accounting for the transaction costs. You can check it out here.

Thanks for the wishes. Lots of health to you and stay safe!

@RadCopperman
Copy link
Author

RadCopperman commented Jan 14, 2021 via email

@RadCopperman
Copy link
Author

RadCopperman commented Aug 30, 2021 via email

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

No branches or pull requests

2 participants