> 1. JBT only allows market orders. Isn't there any way to make it accept
> Limit Orders too? If so, where do I have to do the editing? I saw in
> TraderAssistant.java  it has a method called placeOrder  and
> placeMarketOrder... and I think Strategies only uses  placeMarketOrder
> method..  So, how can we create a method that places a Limit Order and we
> can use that method in our Strategy section?
>
>
To elaborate more on what Eugene said, you should play with the back testing
and optimization features.  Don't modify any code, just play with the
features.  Get a feel for how they work.

Then try and figure out how you would know if a limit order filled or not.
In theory you will never know, unless the bid/ask crosses the threshold of
your limit - but in that case the limit order will fill exactly the same as
a market order - so there is no reason to use a limit order.

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