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)




"Everything is working great with the API. I love it." - Comment from Calvin
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
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: Sat June 10, 2023 12:08 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003