Hi Eugene,
 
I just start to learn JBookTrader. I got a problem in adding a new 
strategy. When I run some new strategies with Forward Test, IB TWS is 
connected, but there is no figure display on Price and Book column, and 
other coloumns just show 0. However, the YM and NQ strategy which extends 
from base strategies StrategyNQ and StrategyYM work well. The key code in 
my new Strategies are below:

Contract contract = ContractFactory.*makeStockContract(*

"ISF", "LSE");

 

TradingSchedule tradingSchedule = 

*new* TradingSchedule("09:00", "16:25", "Europe/London");
 
Could you tell me the possible reason please? Thank you very much.
 
Shun

On Saturday, 23 February 2013 15:04:36 UTC, Eugene Kononov wrote:

>
> Sorry - Please ignore the previous request about docs for adding a 
>> strategy. I can see it's dead easy, great bit of software.
>>
>>
> Right. The idea is that JBookTrader liberates you (as a strategy 
> developer) from the logistics and the mechanics of automated trading. You 
> don't need to know how to get the book data, how to place trades, how to 
> track their execution status, how to use the IB API, how to chart, and how 
> to handle errors. Furthermore, your custom strategy, once implemented, is 
> understood by JBT in terms of back-testing, forward-testing, trading, and 
> optimization. In all 4 modes, JBT goes through the same execution path as 
> defined in your onBookSnapshot() method, which guarantees that your results 
> are consistent across all running modes.
>
> All that is required from a strategy developer is is a new class that 
> extends Strategy, and a typical implementation is about 50 lines of code 
> (excluding imports).  JBT handles the rest.
>

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jbooktrader?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to