> 1. If the order is placed, how can I know it? 
>

In JBT, you don't place orders, it's done for you by the framework. This 
relieves the JBT user of the necessity to keep track of orders and 
executions. Instead, your strategy code simply indicates the conditions when 
to enter long and short. Example:
if (tension >= entry) {
    setPosition(1);
}

In this sample code, the strategy says, "if my indicator called "tension" 
reaches some extreme value, I want to go long 1 contract". Since this is a 
market order, it's guaranteed to execute (typically within 100ms to 500ms, 
depending on your network speed). When the order is executed, the 
notification is sent to the strategy, so it knows that it's now 1 contract 
long. Again, this is all isolated from you as a user, and you don't need to 
understand how it's done, unless you are thinking of changing the mechanics 
of this. There is however a reporting mechanism. When JBT runs in either 
trading, forward-testing, or backtesting modes, it generates a detailed 
report with all the trades information. Look in your /report directory.

 

> 2. I right clicked the Simple Strategy but the 'chart' was deactivated. I 
> clicked it while  Simple Strategy was running in 'Trade' mode. How can I see 
> the chart analysis?
>
>
In the "traditional" trading, you look at the chart and make a decision to 
buy or sell. In the JBT world, your strategy decides to buy or sell, and at 
the end of the day, you look at the chart to see what happened. That is, 
charts are only used for "post-trading" analysis. To see the chart, run any 
strategy in a backtest mode, then right click on the strategy and select 
"Chart".

 

-- 
You received this message because you are subscribed to the Google Groups 
"JBookTrader" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/jbooktrader/-/PRTv6_9MZ5kJ.
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