Ideas for improvements #1420
Replies: 7 comments 10 replies
-
Hi Andy, Firstly, thank you for taking the mantle for this project. Long time ago, I proposed to Rob to have separate master and develop branches. With hindsight I am of the view that this wasn't a good idea. Going forward I would recommend that we treat master branch as the production branch. One should get latest production quality code by pulling master. If we are working on substantial new features these should first be developed in their own branches and later merged to master. In other words we should not shy away from many development branches named after the new features. Secondly, ever since parquet functionality has been added, I could not migrate my system to using parquet. There are two open items for this issue, #1364 and #1377. If this issue could be patched, it would be much appreciated. Thanks again for stepping up! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Andy, Thanks for taking the lead on this project and for opening up the discussion for improvements! I’ve spent some time with the codebase in the past and, while I deeply appreciate all the work Rob put into it, I’ve found myself struggling to fully grasp the flow due to the depth of the inheritance structure. While I understand that inheritance can be a powerful tool, in this particular codebase, it seems to create challenges when trying to step through the code, especially when the call stack grows quite deep. This can make it difficult to build a mental model of what’s happening during execution, particularly for people who are trying to understand the system or extend it. Would it make sense to explore ways of reducing the level of inheritance or perhaps consider alternatives like composition where possible? I’ve noticed that there’s been a shift towards favoring composition over deep inheritance in modern Python development, as it can sometimes improve code readability and maintainability. That said, if the inheritance is serving a necessary purpose, perhaps some additional documentation could help clarify how the different layers interact. Even a high-level overview of the class hierarchy and their relationships could make it easier to follow for contributors who aren’t as familiar with the design patterns at play. Looking forward to hearing your thoughts! Best, |
Beta Was this translation helpful? Give feedback.
-
A few ideas that are a mix of useful improvements and aspirations
|
Beta Was this translation helpful? Give feedback.
-
@bug-or-feature Thanks for taking on the mantle. A brief guidelines/tutorial for patch submission and contributions will also be helpful especially for those of us who are not terribly familiar with git/github workflows. |
Beta Was this translation helpful? Give feedback.
-
As I am new to pysystemtrade and this community. I have just recently tried to set up a 'test' production environment and it has been quite the task to read and understand all the docs and steps. It is clear a lot of work has been done, but also that it has become outdated. My vote would be to improve the following:
Thanks |
Beta Was this translation helpful? Give feedback.
-
I just deployed this POC for the documentation: https://vcaldas.github.io/aptrade/introduction/ |
Beta Was this translation helpful? Give feedback.
-
I personally haven't gotten around to doing this yet, but how about adding Crude Palm Oil Futures and FTSE Bursa Malaysia KLCI Futures to the system? Not a high priority I imagine but it'd be nice to have it done in the repo so that we're all using the same instrument name, etc. |
Beta Was this translation helpful? Give feedback.
-
Ideas for improvements:
Thoughts, ideas, objections?
Beta Was this translation helpful? Give feedback.
All reactions