Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

rca420

Members
  • Content Count

    2
  • Joined

  • Last visited

Everything posted by rca420

  1. @Blowfish: Much thanks for your idea. I've decided to use an ArrayList instead. @Tams: Basic to you perhaps, but your snide comment wasn't necessary.
  2. Hi all, 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.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.