Hello. Does anyone hae a MATLAB wrapper for the Python package, "Backtrader," or, is anyone interested in collaborating on writing one? https://ww​w.backtrad​er.com/doc​u/index.ht​ml Thank You in Advance.

Hello. Does anyone hae a MATLAB wrapper for the Python package, "Backtrader," or, is anyone interested in collaborating on writing one? https://www.backtrader.com/docu/index.html Thank You in Advance.

2 个评论

2eleveneleven2@gmail.com Do you want to have a talk about the matlab wrapper ? Because I am also wandering about it.

请先登录,再进行评论。

回答(1 个)

Yes. I have been working with Backtrader using Python but I'd much rather do it from MATLAB. Thanks.

2 个评论

Thanks, that would be a start if you could give an example.
As it turns out, I've had to write a good deal of code to get Backtrader to work in Python. It has some really interesting features but it is not easy to work with. I'd very much prefer to be able to code in MATLAB rather than just call the Python.
I've been working with a native MATLAB backtester as well, but I always like to have multiple ways to do things in case of an urgent need for an answer when one solution becomes intractable. It is the nature of my business that I cannot wait for new development when an urgent answer is required.
The way Backtrader is written, it seems necessary to write subclasses that get instantiated by their objects. It's very awkward, unless I'm using it wrong. If you'd like to discuss this off-line, I'd be happy to send my Jupyter notebook.
Thanks for your many (what, 30?) years of service on the newsgroup.

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by