The Sample strategy is a Long strategy (goLong). Using this sample you can write code (a few lines) to trade in short positions using different parameters. The Sample Java file has all the pieces you need to write any type of strategy. You may also want go through the Forum discussions to get more familiar with the JBT framework itself.
Ali On Saturday, August 9, 2014, Ben <[email protected]> wrote: > Hi Ali, > > I ran the sample strategy (Period=3200,Scale=16, Entry=92, Exit=-21) with > supplied ES sample data, it works. Thanks for the suggestion. The remaining > issue is I can only see SAMPLE strategy, not others like LongDefender 1-4 > and ShortDefender 1-4 listed in User Guide. Did I miss any steps in the > setup causing this issue? > > Thanks, > Benhuai > > On Saturday, August 9, 2014 2:09:03 PM UTC-5, Ali Farahani wrote: >> >> Hi Ben, >> >> JBT comes with one Sample strategy. Using this Sample, you can use the >> Parameters (PERIOD, SCALE, ENTRY, and EXIT) to create your own strategies. >> This model is based on signals that the "Order Book" data generates using >> exponential moving averages (Bid and Ask, Volume, and Price). The two >> indicators are "BalanceVelocity" and "PriceVelocity". You can use the >> Optimization functionality of JBT to test with historical data; or run JBJ >> in Forward Test mode. >> >> The User Guide does provide additional information. >> >> Kind regards, >> >> Ali >> >> >> >> On Sat, Aug 9, 2014 at 10:26 AM, Ben <[email protected]> wrote: >> >>> Thanks for the quick response, Eugene! I created the key >>> HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs and it solved the registry >>> issue. Any suggestion on the issue of only one Strategy "SAMPLE" occurred >>> in JBookTrader? >>> >>> Many thanks! >>> >>> >>> >>> On Saturday, August 9, 2014 11:27:53 AM UTC-5, Eugene Kononov wrote: >>>> >>>> Hi Ben, and welcome to the group. There is a simple fix to this problem: >>>> http://www-01.ibm.com/support/docview.wss?uid=swg21496098 >>>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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] > <javascript:_e(%7B%7D,'cvml','jbooktrader%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > Visit this group at http://groups.google.com/group/jbooktrader. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
