| Automated Trading Black box systems, strategy automation, algorithmic trading, etc... |
![]() | | Tweet | |
| | #1 | ||
![]() | Need Some Pointers in Gathering 5 Min Info from IB's API. I'm in the process of coding up my trading platform using IB's API in java. My strategy looks at the previous 10 (5 minutes bar) to determine entry. I just can't figure out a way to aggregate the info from reqRealTimeBars (5 seconds interval) to a 5 minute info. I understand I need to collect 60 instances of RealTimeBars callback which I have absolutely no problem in doing, but the problem is... How the heck should I approach in storing until the 5 minute mark hits and make it into one 5 minute "bar"? Much thanks and I hope i did a good job explaining it. | ||
| |
|
| | #2 | ||
![]() | Re: Need Some Pointers in Gathering 5 Min Info from IB's API. Quote:
you might as well download NinjaTrader (free) and start from there...
__________________ Only an idiot would reply to a stupid post | ||
| |
|
| | #3 | ||
![]() | Re: Need Some Pointers in Gathering 5 Min Info from IB's API. Tams wrote about arrays somewhere (though I think that was for easylanguage) still applicable. | ||
| |
|
| | #4 | ||
![]() | Re: Need Some Pointers in Gathering 5 Min Info from IB's API. @Tams: Basic to you perhaps, but your snide comment wasn't necessary. | ||
| |
|
| | #5 | ||
![]() | Re: Need Some Pointers in Gathering 5 Min Info from IB's API. | ||
| |
|
| | #6 | ||
![]() | Re: Need Some Pointers in Gathering 5 Min Info from IB's API. Quote:
java is not for the faint at heart. if you cannot see the reality, and cannot take a suggestion like a mature adult, why bother asking a question on a public forum? You will waste your time banging your head against the wall until one day you wake up and a light bulb goes off and say to yourself: why didn't I listen to Tams? LOL
__________________ Only an idiot would reply to a stupid post | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | Help Others By Rating This Thread |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OHLC in IB's API for EXCEL | amit.options | Automated Trading | 3 | 02-06-2011 11:53 AM |
| Any Info for MC/TS Add-ons | LRSB | Introduce Yourself | 2 | 11-29-2008 05:57 PM |
| [Playing Wide IB's] | Soultrader | Trading Videos | 0 | 02-01-2008 12:44 PM |
| Series 3 Info | brownsfan019 | E-mini Futures Trading Laboratory | 1 | 06-27-2007 06:09 PM |
| L2 reading info | stylelad | Stock Trading Laboratory | 2 | 04-13-2007 10:41 AM |