This should work:
Contract contract = ContractFactory.makeStockContract("MSFT", "SMART");

Let us know if it does not.


On Thu, Aug 14, 2014 at 1:45 PM, Ben <[email protected]> wrote:

> Hi Eugene and Ali,
>
> With your kind helps, I am able to run and test this great trading
> platform JBT. One thing I encountered is when I tried to get the market
> deep data from stocks list on NASDAQ, the book and price values didn't show
> up, and it was not stored in /MarketData folder and no error in the report
> file either.  I subscribed the IB's level II data Nasdaq TotalView, which
> is supposed to cover stocks such as MSFT, TSLA. The code I used in
> StrategyMSFT.java (take MSFT as an example) is
>
> Contract contract = ContractFactory.makeStockContract("MSFT", "ISLAND ");
>
> Could you provide your insight? Thanks!
>
> Ben
>
> --
> 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].
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.

Reply via email to