Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Kinetick News

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

    Kinetick News

    I am using the ninja trader methods that allow me to connect to the news that Kinetick offers us through a strategy, I am making use of NewsSuscription,
    the question is that some news that I receive in real time shows me a different provider than the one that appears in the text of the news,
    for example in the provider is RealTimeTrader but in the text of the news appears PrimeZone is this normal??

    It also happens on many occasions that I make a request for news NewsItem (10) every so often, let's assume an hour each request and it does not bring information and even applying the Cleanup () to cancel the subscription, the service remains active and in a certain amount of time I receive those news that were left as pending.

    #2
    Hello 7robert,

    Below is a link to the help guide on NewsSubscription().


    I have tested the sample code from the help guide and I am showing that the the e.NewsProvider and e.Headline are matching the News window included with NinjaTrader exactly.


    Are you testing the sample code from the help guide and getting different behavior than what is shown in this video?


    I've also tested removing the event handler. When the event handler is removed, no more events are being processed.



    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea!!

      The main difference between what appears in the videos and what I am doing,
      is that the OnNews method I am calling from a strategy in the OnBarUpdate
      and I am placing a timeframe of 2 minutes, that is, every 2 minutes
      (I call the OnNews method) and cancel the subscription with NewsSuscription- = OnNews ()
      , How often
      Would you recommend me to check news and how much?

      I mean to follow a pattern such as: receive an amount
      of news determined from time to time, for an example it could be:
      10 news every hour, this with the objective of being able to save in a database
      a news story.

      the comparison I am referring to is not the NewsProvider with the Headline
      It is from the NewsProvider with the Text field, the content of the news.

      News Provider example: PrimeZone
      Text: GLOBE NEWSWIRE
      Attached Files

      Comment


        #4
        Hello 7robert,

        I would recommend you call new NewsSubscription and assign an event handler to the .Update event once.

        If this is not an addon and is an indicator or strategy, State.DataLoaded would be appropriate as this is run once.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        59 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Today, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        7 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        21 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        10 views
        0 likes
        Last Post cre8able  
        Working...
        X