Understanding AggregationSource.INTERNAL #811
-
Hi team,
Thank you in advance. Also I am working on IB integration and found some bugs and improvments, I have made my way through to make it work but can I post my feedback in here same way as this post? Pardon my ignorance as first experience on github. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Hi @rsmb7zhx Thanks for your interest, to cover your first questions about the bar aggregation. To confirm, the input would need to be quote or trade ticks, and so for backtesting you'd need to pre-process any bar data into ticks to be able to aggregate to higher timeframes.
Thanks so much for your work with the IB adapter. I think you could either open a discussion here if the feedback is more conversational. Otherwise if you believe you have identified definite bugs or issues, you could raise a bug report from the top line here |
Beta Was this translation helpful? Give feedback.
-
You're correct - the indicator doesn't have visibility into partial bar updates. This is actually by design though, the bar aggregators exist in the If your strategy needs to act on logic which is not part of the bar aggregation, or it needs updates and to act on those prior to the closing of a bar, then I think you'll need to subscribe to the ticks directly in the strategy, or change the indicator to instead subscribe to ticks rather than bars. |
Beta Was this translation helpful? Give feedback.
-
@rsmb7z I'm looking for a solution for the second case, how did you deal with it? |
Beta Was this translation helpful? Give feedback.
Hi @rsmb7zhx
Thanks for your interest, to cover your first questions about the bar aggregation. To confirm, the input would need to be quote or trade ticks, and so for backtesting you'd need to pre-process any bar data into ticks to be able to aggregate to higher timeframes.
ts_event
of any tick)Thanks so …