Replies: 4 comments 2 replies
-
Spot instruments actually work in a backtest (i.e. you don't need to provide a multiple prices data) but to implement in production would require a substantial amount of work which I personally don't have time to do. |
Beta Was this translation helpful? Give feedback.
-
Can I add the spot instruments by myself and submit pull requests to you? I have been using TWS api for a long time, and planning to test the new functionality by backtesting and trading my own PST strats live. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your thoughts and the estimate. I've got time to contribute. I also prefer to avoid any hacks and unnecessary breaking changes. If it makes sense, we could split the scope into bigger epics and then iteratively progress with them one at a time. E.g., we briefly discuss the new epic in this forum, discuss the changes in the code, then I code/test the new functionality and submit a pull request. Please let me know if it works for you. As for epics, I see the following larger pieces now:
The list is quite generic at this stage and is supposed to evolve as we move forward. It also makes sense not to expose the added functionality to the users before it is ready and tested end-to-end. E.g., we could expose the spot backtesting after p.1 and p.2 are done, and we see that the results are correct. |
Beta Was this translation helpful? Give feedback.
-
Hey @bug-or-feature .. I looked at the code, not just docs. |
Beta Was this translation helpful? Give feedback.
-
Hello Rob, Hello community,
Thank you very much for your books, efforts, and your project.
I was wondering if it makes sense to add support for the spot instruments in the framework. For example, we could think of US, UK, EU equity single names, ETFs, and FX spots to be tradable in the framework.
My motivation is the following:
The documentation shows well-defined extension points on how to add new market data. I guess that other things would also need to be extended accordingly - execution, margins, reporting..
But maybe I am wrong, and the whole idea is just idiotic, and too many things would need to be changed in the codebase :) So, I would like your (first) opinion about this thought. Does it sound reasonable/meaningful?
I appreciate your thoughts.
Best regards,
Pavel
Beta Was this translation helpful? Give feedback.
All reactions