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)




"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
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: Yesterday @ 01:19 PM          Msg. 4 of 4
Good
 

 

Time: Thu June 1, 2023 11:27 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003