+1 888 340 6572 GET STARTED
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-2806

Allow data request to be sent to vendor from code

action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

I discussed this with Svetlana to request data from a vendor using an InstrumentDataRequest and she confirmed that this is not possible from a script - https://www.multicharts.com/discussion/viewtopic.php?f=19&t=53729&p=140019#p140019

This would be helpful to be able to refresh data programmatically rather than having to use Quote Manager especially in the case where data is missing for some reason that you are trying to backfill. It would be great if you can do the following to force a data request to the data vendor for a specific date range:

    InstrumentDataRequest request = Bars.Request;
        request.Subscribe2RT = true;
        **request.RequestFromVendor = true;    ///force data request to the vendor, when you view the Quote Manager status window you should be able to see this request there.**
    request.Range = DataRequest.CreateFromTo(missingBarRange.Item1, missingBarRange.Item2);
        request.Verify();
        DataLoader.BeginLoadData(request, OnData, null);

Thank you in advance for your consideration.

Comments (0)
There are no comments
History
Issue basics
  • Type of issue
    Feature request
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Under Review
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates