Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get real time quotes actual vs expected

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

    Get real time quotes actual vs expected

    Is there a practical way to get quotes from financial reports in real time? I would like to include events that are triggered by results coming from the financial calendar and on the report results.
    How can I retrieve the percentage numbers (actual vs expected) and include these values into my code?

    For instance:
    On May 28th 2021 at 05:00 AM, the consumer confidence index for Europe was -5.1 (actual), -5.1(forecast) and -8.1(previous).
    How do I get these numbers in my C# code?

    Any help will be appreciated.

    Thanks a lot

    #2
    Hi Eddie, thanks for writing in.

    If your data feed supports this instrument, you can make it a custom instrument through Tools>Instruments.

    If you do not get this data from the data feed, a third party API would need to be used and you can use the publicly available C# based WebClient class to receive the data in your script:

    https://docs.microsoft.com/en-us/dot...t?view=net-5.0

    I do not know of an API that provides this data, it would need to be researched further.

    Best regards,
    -ChrisL

    Comment


      #3
      Thanks a lot Chris,

      I will research further to see if the API is available somewhere.

      cheers.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      47 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X