In TWS, add MSFT to the grid. Select that line, then click TradingTools |
MarketDepth(Level2)  from the TWS top menu. A window should pop up showing
market depth on both bid and ask, multiple levels. Do you see it? If not,
you have some issue with the data subscription.


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

> Still no luck. This time the report file gave a message indicating no data
> subsribed for the stock/exchange combination.
>
>
> On Thursday, August 14, 2014 12:49:54 PM UTC-5, Eugene Kononov wrote:
>
>> 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 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