NexusFi: Find Your Edge


Home Menu

 





stock volume data problem in IRT


Discussion in Platforms and Indicators

Updated
    1. trending_up 4,669 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 13 posts
    2. attach_file 2 attachments




 
Search this Thread

stock volume data problem in IRT

  #11 (permalink)
 
LS Chad's Avatar
 LS Chad 
Milton, GA
 
Experience: Intermediate
Platform: Investor/RT, MarketDelta
Broker: DTN IQFeed
Trading: ES
Posts: 165 since Apr 2010
Thanks Given: 2
Thanks Received: 144

We have found and fixed the problem. Fix will be in version 10.5.6 which we should be releasing later today. Turns out, IB sends a volume number which must be multiplied by 100 for stocks on most exchanges. However, there are a few exceptions that we must handle. The exchange SEHK is one of those exceptions. We should be leaving the raw volume sent alone when in fact we were multiplying by 100. Thanks for pointing this out.

Follow me on Twitter Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
What broker to use for trading palladium futures
Commodities
How to apply profiles
Traders Hideout
 
  #12 (permalink)
liuliuwang
signapore
 
Posts: 17 since Mar 2012
Thanks Given: 5
Thanks Received: 3


LS Chad View Post
We are still investigating. It appears we are presenting the volume just as IB is sending it to us. It could be that IB is scaling down the volume for certain Asian contacts (/100). Will let you know once we hear back from IB on this.

hmm, that is strange, cause the end-of-day volume in IB is same as Yahoo finance, and also same as Hong Kong exchange website, while the volume in IRT is 100 times more.

also for your reference,
I tried to use the IB ActiveX API sample program to receive tick data from TWS, and confirmed the data sent out from TWS is "without multiplied by 100".
for example, when I see the last trade size in IB API sample program is "3000", IRT will show "300000"

anyway, right now, what I do is:
at end-of-day, I export all tick data from IRT for all stocks, and wrote a small program to modify the "last trade size" (divide by 100), and then, import the tick data series back into IRT.

again, so far, this problem only happen on HK stocks.

I monitor HK stocks and some futures listed in KRX, SGX and HK, ALL futures are OK, except one small issue:
if I restart IB and IRT during trading hours, the moment IRT make connection with IB TWS, IRT will show some strange big numbers of "last trade size" on all futures contracts, which totally mess up the intraday chart volume pane and volume indicators. (but this can be fixed quickly by doing a backfill.)

thanks for your help.

Reply With Quote
  #13 (permalink)
liuliuwang
signapore
 
Posts: 17 since Mar 2012
Thanks Given: 5
Thanks Received: 3



LS Chad View Post
We have found and fixed the problem. Fix will be in version 10.5.6 which we should be releasing later today. Turns out, IB sends a volume number which must be multiplied by 100 for stocks on most exchanges. However, there are a few exceptions that we must handle. The exchange SEHK is one of those exceptions. We should be leaving the raw volume sent alone when in fact we were multiplying by 100. Thanks for pointing this out.

great !
that makes sense.

will save me a lot time to import/export, :-)

you guys are one of the best in terms of client support !

Reply With Quote
Thanked by:
  #14 (permalink)
liuliuwang
signapore
 
Posts: 17 since Mar 2012
Thanks Given: 5
Thanks Received: 3


LS Chad View Post
We have found and fixed the problem. Fix will be in version 10.5.6 which we should be releasing later today. Turns out, IB sends a volume number which must be multiplied by 100 for stocks on most exchanges. However, there are a few exceptions that we must handle. The exchange SEHK is one of those exceptions. We should be leaving the raw volume sent alone when in fact we were multiplying by 100. Thanks for pointing this out.

I updated to the new version and confirmed the problem is solved.
thanks again for help.

Reply With Quote




Last Updated on May 1, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts