Nest / Zerodha Trader to AmiBroker
There seem to be too many assumptions in your suggestion, probably from the way you work. For the moment, let me just jot them down quickly without elaborating:
1. The view is Ami centric. Assumes (all) Ami charts displays one symbol.
2. Assumes one, or very few, symbols in the market watch.
3. Assumes Nest/ZT is only started once per day and open continuously thereafter.
4. Assumes current backfill is quick, say 5+ symbols per min. Not true currently till Omnesys/Zerodha makes changes.
5. Assumes only current day backfill is required.
6. Assumes only M1 data is captured.
7. Assumes Nest Plus backfill; not everyone is subscribed.
8. Assumes Nest Plus autologin -- Plus registration same as trading ID.
To be compared to the current alternate of Backfill, then start capture, if having logged in late, or power down, or crash, or whatever, without multi-threading.
Let's discuss this after you have used Nest2Ami for a few days.
In that case, one suggestion then:
It need not be multi-threading to NEST. Rather, when the "Start Capture" is pressed, we can invoke a function to fetch the 1min/tick data from the beginning of the day till the current time and fill it in AmiB.
Then, start the current function of fetching the tick and filling to AmiB.
Yes, in this way there a overhead of capturing all the day data even if u start @say 3PM). but the customers using this wont matter that i guess as we get almost complete information for the day.
Will it help?
It need not be multi-threading to NEST. Rather, when the "Start Capture" is pressed, we can invoke a function to fetch the 1min/tick data from the beginning of the day till the current time and fill it in AmiB.
Then, start the current function of fetching the tick and filling to AmiB.
Yes, in this way there a overhead of capturing all the day data even if u start @say 3PM). but the customers using this wont matter that i guess as we get almost complete information for the day.
Will it help?
1. The view is Ami centric. Assumes (all) Ami charts displays one symbol.
2. Assumes one, or very few, symbols in the market watch.
3. Assumes Nest/ZT is only started once per day and open continuously thereafter.
4. Assumes current backfill is quick, say 5+ symbols per min. Not true currently till Omnesys/Zerodha makes changes.
5. Assumes only current day backfill is required.
6. Assumes only M1 data is captured.
7. Assumes Nest Plus backfill; not everyone is subscribed.
8. Assumes Nest Plus autologin -- Plus registration same as trading ID.
To be compared to the current alternate of Backfill, then start capture, if having logged in late, or power down, or crash, or whatever, without multi-threading.
Let's discuss this after you have used Nest2Ami for a few days.