Skip to content
Prev 10523 / 15274 Next

IBrokers : quotes from futures combo and reqIds

Me
Hi Stergios

I believe it is your ratios. They have to be integers.
your second one is      

ratio = "1.06"

You will have to calculate the most feasible rational approximation to
your beta of

-1.06/1

One solution would be

-21/20   ~   -1.05

So you could set

leg1: ratio = "21"
leg2: ratio = "20"

That should do it.

Cheers

Soren

http://censix.com


On Thu, 19 Jul 2012 08:28:17 -0700 (PDT)
Stergios Marinopoulos <stergios_marinopoulos at yahoo.com> wrote:

            
------------------------------------------------------------------
Soren Wilkening

http://censix.com