Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsRequest / Async

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    BarsRequest / Async

    The BarsRequest Request method makes the requests for data Asynchronously but it doesn't expose any of the async stuff to the API.

    I'm fetching a load of data in the DataLoaded event and processing it, but the Strategy transitions to realtime before I'm done. It only caused an issue when one of my requests had to grab a few hundred thousand bars for one of my timeframes because price hadn't been in that region for months.

    I can manually code a semaphore to block the realtime event until I'm done, but Ideally the API should expose a way to wait for the request to complete, and also to cancel an in-progress request.

    #2
    Hello,

    Thank you for providing this information.

    I have forward this suggestion to development for further review.

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    666 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    377 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X