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 Mindset, Yesterday, 06:46 AM
    0 responses
    14 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    23 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    16 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    51 views
    0 likes
    Last Post PaulMohn  
    Working...
    X