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)




"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"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
"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.
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"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
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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 »IQFeed Developer »IQFeed Developer Support »Detecting Reverse Splits In Minute Aggregated Stream
Author Topic: Detecting Reverse Splits In Minute Aggregated Stream (5 messages, Page 1 of 1)

jabowery
-Interested User-
Posts: 4
Joined: Sep 5, 2019


Posted: Nov 24, 2019 11:31 AM          Msg. 1 of 5
How can one detect when a symbol's price increase is due to a reverse split?

I've recently been bit by a backtest of an algorithmic trade with a ridiculously high yield that, when I tracked it down, was due to a reverse split causing an apparent increase in the stock's price.

DTN_Stephen
-DTN Evangelist-
Posts: 226
Joined: Aug 22, 2014


Posted: Nov 25, 2019 06:47 AM          Msg. 2 of 5
We send the last 2 split dates and rates through our Fundamental data fields.

Stephen Shockey
Senior Customer Support Representative and Product Support Specialist

DTN
800-779-7299
stephen.shockey@dtn.com

jabowery
-Interested User-
Posts: 4
Joined: Sep 5, 2019


Posted: Nov 25, 2019 02:10 PM          Msg. 3 of 5
Is it then true, as seems to be the implication, that minute aggregated pricing cannot with certitude be relied upon for backtesting prior to the first of the 2 split dates provided in the Fundamental data fields?
Edited by jabowery on Nov 25, 2019 at 02:18 PM

DTN_Gary_Stephen
-Interested User-
Posts: 50
Joined: Jul 3, 2019


Posted: Nov 26, 2019 01:49 PM          Msg. 4 of 5
Yes, that is a correct statement. If you like, I can put in a request to add more historical split dates to the data the API can return.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

jabowery
-Interested User-
Posts: 4
Joined: Sep 5, 2019


Posted: Nov 26, 2019 04:21 PM          Msg. 5 of 5
Let me explain the use case so you can properly prioritize this data feature (which is available in its entirety at https://www.splithistory.com/):

While backtesting an AlgoTerminal trading strategy, a market buy order is accompanied with a limit order. At the session close (end of day/EOD), the limit order is not reached and no bar update comes in at the end of day to permit the algorithm to sell the position at market. An overnight reverse X:1 split occurs but this is currently undetected by AlgoTerminal so it doesn't adjust the position (#shares/X and limit price*X). Upon resumption of trading the next day, the price is X*closing price > limit price. The limit condition met, AlgoTerminal sells #shares at price*X. Backtesting incorrectly reports a highly successful trading strategy.

If the backtesting stream included split multiples as well as prices, AlgoTerminal could do the adjustments necessary to produce valid backtesting reports.
Edited by jabowery on Nov 26, 2019 at 04:22 PM
 

 

Time: Sun February 16, 2020 3:30 PM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003