> but the method "onBookSnapshot()" within class 
> "LongDefender" is never called and therefore tension is not calculated 
> and therefore no trades are possible. Am I missing something?


I have had no trades this week either. Prolonged periods of inactivity are 
normal, as JBT sample strategies are optimized for best risk/reward profile, 
and not for a particular number of trades.

The onBookSnapshot() method is called every 1 second. If you don't see that, 
there is something wrong with your code. Feel free to post it, and we'll 
find out what it is.

If your purpose is to just test JBT framework and the mechanics of 
autotrading using a simulated TWS account, you can adjust the "entry" and 
"exit" parameters of your strategy to make it trade as often as you want.

 

-- 
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