Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"You have an excellent product !!!!!!" - Comment from Arely
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »NEW IQFEED FORUMS »Miscellaneous Messages »News items with matlab
Author Topic: News items with matlab (4 messages, Page 1 of 1)

Quantmil
-Interested User-
Posts: 2
Joined: Jun 10, 2014


Posted: Jun 10, 2014 12:11 AM          Msg. 1 of 4
Hello,

I'm trying to figure out how to interpret news headlines from iq feed with matlab. Below are some examples from AAPL which I just pulled.

I would like to know what the 3 letters are the start of the string correspond to. Quickly scanning the AAPL items I've noticed the codes, CPR, RTC, RTB, CBW. What do they mean and where can I get more information on them?

'N,CPR,21538147367,:AAPL::OCR::TRV::EOG:,20140605070145,Equities Marking a New High -- Research on Apple, Omnicare, Travelers Cos, and '

'N,CPR,21537839723,:NXTD::GOOG::EBAY::TWTR::AAPL::V:,20140604083151,The Mobile Payment Revolution - Smartphone Apps From Square to Wocket(tm) ; How '

'N,CPR,21537526814,:AAPL::BIIB::TSLA::XONE::R:,20140603093147,Critical Alerts For Tesla, Apple, Ryder System, ExOne, and Biogen Idec Released '

'N,RTC,21537507805,:AAPL:,20140603080956,Apple Unveils IOS 8, OSX Yosemite'

'N,CBW,21535989635,:AAPL:,20140528163022,Apple to Acquire Beats Music & Beats Electronics'

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 10, 2014 07:33 AM          Msg. 2 of 4
The 3 letter codes are news sources, but I am not sure if Matlab exposes their descriptions to you within their API. The request you want to make is what we call a news configuration request, but I would suggest asking Matlab for the details regarding how this works within their API.

Tim

altmany
-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: Mar 12, 2019 06:37 AM          Msg. 3 of 4
In case anyone else has the same issue: I believe that the news configuration information is not available via Matlab's Trading Toolbox.

If you are using the IQML (IQFeed-Matlab) connector instead of Trading Toolbox, you can query the news configuration as follows:
Quote:
>> data = IQML('news', 'DataType','config')
data =
Category: 'All News'
Majors: [1×7 struct]

>> {data.Majors.Source}
ans =
1×7 cell array
{'DTN'} {'CPR'} {'CBW'} {'RTT'} {'CPZ'} {'CIW'} {'BEN'}

>> {data.Majors.Description}
ans =
1×7 cell array
{'DTN News'} {'PR Newswire'} {'Business Wire'} {'Real-Time Trader'} {'GlobeNewswire Inc'} {'Marketwire'} {'Benzinga Pro'}

You can also drill-down for details about news sources:
Quote:
>> data.Majors(1)
ans =
Source: 'DTN'
Description: 'DTN News'
AuthenticationCode: '1D'
IconID: 10
Minors: [1×4 struct]

>> data.Majors(1).Minors(1)
ans =
Source: 'DT5'
Description: 'Treasuries, Most Actives, Gainers, Losers'
AuthenticationCode: '1D'

>> data.Majors(1).Minors(2)
ans =
Source: 'RTL'
Description: 'Derivatives - Selected Futures and Options'
AuthenticationCode: '2Ab'
IconID: 10


Note: I am not a DTN employee; my post reflects my personal opinion and not necessarily DTN's

- Yair
IQML - IQFeed-Matlab connector
https://UndocumentedMatlab.com/IQML

davidmartin11
-Interested User-
Posts: 1
Joined: May 31, 2023


Posted: May 31, 2023 01:19 PM          Msg. 4 of 4
Good
 

 

Time: Tue June 6, 2023 8:32 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003