- ago
Hey there! I'm looking for some advice. I'm trying to revamp my history provider and I want to display the download statuses in a label, similar to how it's done in the Binance adapter. But honestly, I'm not sure how to pull that off. Any tips you could share? Thanks anyway.

This is what I have:


This is what I want to achieve:
0
221
Solved
1 Replies

Reply

Bookmark

Sort
Glitch8
 ( 10.62% )
- ago
#1
Insider hack :)

Your Provider has access to a property called ResultInfo which is of type DataRequestOptions. That class has a delegate property called Callback which is of delegate type SymbolAcquired.

Call this to update the progress text:

CODE:
SymbolAcquired sa = RequestOptions?.Callback; if (sa != null) sa(-1, symbol + " batch " + chunkCount);
0
Best Answer

Reply

Bookmark

Sort