If i understand correctly, you mean to have a single 1 minute bar in AB that is updated continously untill the minute is up. josh wanted it this way but
1) i want bars in seconds to look at 15s bars.
2) Right now code is written such that allowing option for 1min bars will need more code changes than what i want to do now. ( i discussed this some pages back ).
I shuld be able to give a least invasive solution today(market is closed.
I initially thought tickmode was to enter sub second bars but it looks like its meant for duplicate bars.
Correct.
Question - what happens to volume ? Does AB add volume of all of the ticks or only take the last.
AB does not add volumes.
Tickmode may allow two things
1. RTD - Dont maintain O/H/L/C. Instead send with customizable resolution ( second / minute ). AB will manage the Bar creation. This would be nice to have but will make sense only if AB adds volumes of all ticks.
2. More interestingly, for backfill will an import of say 10:10:59 delete all second bars in that minute? If yes, then our delete problem is solved and we dont need to remove ourselves. Try to test this.
Already tested
Code is open. If someone can experiment and prove, ill try to merge / change in free time.