Eugene:

I think that i've fix the bug, adding "contract.m_currency" at the end
of intrument string variable in TraderAssistant.java, the correct line
should be:

String instrument = contract.m_symbol + "-" + contract.m_exchange +
"-" + contract.m_secType + "-" + contract.m_expiry + "-"
+contract.m_currency;

On 22 ene, 14:35, Eugene Kononov <[email protected]> wrote:
> > I found another bug in this release and previous of JBT when you run
> > at same time 2 or 3 strategies with the same 'symbol' in cash
> > contracts.
>
> > For example if you run 2 strategies with the pairs EUR/USD and EUR/
> > GBP, JBT display the same price for both pairs.
>
> Thanks for testing and reporting, Javier. I looked at the code and I can
> confirm that it is indeed a bug. If the symbol is the same, JBT incorrectly
> assumes that it is the same instrument. This will be fixed in the next
> release.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jbooktrader?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to