Thank you Klaus My Problem is I like to trade day and night session for ES,DAX and SPI example SPI open 9:40 Melbourne time and close 16:30 , night session open at 17:10 and close next day at 7:00 am . My Problem is night session finish next day and I don;t know how to set that in?
On Jun 6, 12:53 am, Klaus <[email protected]> wrote: > Hi, > > I am not exactly sure, what you mean with strategy time settings, but > if you refer to the time window during > which positions can be held by the strategy, you might want to look > at > com.jbooktrader.strategy.base > There you find a class per instrument ( I think DAX is not there, so > you will have to define that by yourself) > There you find something like: > // Define trading schedule > TradingSchedule tradingSchedule = new TradingSchedule("10:20", > "15:25", "America/New_York"); > This you can alter. > > To the best of my knowledge, if you need different schedules for > different strategies, you must make a different > base class with the different timings. > > Cheers > Klaus > > On 4 Jun., 07:37, bluemaster <[email protected]> wrote: > > > How to set strategy time settings for ES and DAX Continuous Contract? -- 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.
