Please tell me how to work with the same thing for market orders. Actually, I am not understanding placing orders and how it works. Do we have to work in strategies? I mean coding part for the instruments? How to know best bid, best ask, etc. How to cancel the orders? Please help me with the suggestion.
--To view this discussion on the web visit https://groups.google.com/d/msg/jbooktrader/-/D5jtzBqYRHYJ.
You received this message because you are subscribed to the Google Groups "JBookTrader" group.
To post to this group, send email to jbook...@googlegroups.com.
To unsubscribe from this group, send email to jbooktrader...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jbooktrader?hl=en.
Thanks in advance.
--
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/-/B9t5BtRJPgIJ.
Eugene, this brings up an interesting point. The newish stackup of the strategies makes it significantly more difficult for a newbie to understand the basic layout of a strategy at first glance. What do you think about shipping with something that has only 1 layer to it.
1. Are 'ES', 'EUR', 'NQ', QQQ, etc are the name of instrument and the classes named StrategyES.java, StrategyEUR.java, StrategyNQ, StrategyQQQ are the strategy classes for each instrument respectively?
2. Are LongDefender1.java, LongDefender2.java, Simple.java,etc are the Strategy classes which uses the above classes for Trading to TWS?
3. I downloaded the TWS Java API and configured it in Netbeans. It gave me a huge UI with number of buttons on the right side and 3 console bar on the left. Now, please suggest me how can I embed my Strategy Panel inside this TWS Java API such that I can see strategy panel directly inside the TWS API and not open JBT and TWS java api separately.
Thanks in advance.
--
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/-/M-3Kw0nuaN0J.
1. Are 'ES', 'EUR', 'NQ', QQQ, etc are the name of instrument and the classes named StrategyES.java, StrategyEUR.java, StrategyNQ, StrategyQQQ are the strategy classes for each instrument respectively?
2. Are LongDefender1.java, LongDefender2.java, Simple.java,etc are the Strategy classes which uses the above classes for Trading to TWS?
3. I downloaded the TWS Java API and configured it in Netbeans. It gave me a huge UI with number of buttons on the right side and 3 console bar on the left. Now, please suggest me how can I embed my Strategy Panel inside this TWS Java API such that I can see strategy panel directly inside the TWS API and not open JBT and TWS java api separately.
3. I downloaded the TWS Java API and configured it in Netbeans. It gave me a huge UI with number of buttons on the right side and 3 console bar on the left. Now, please suggest me how can I embed my Strategy Panel inside this TWS Java API such that I can see strategy panel directly inside the TWS API and not open JBT and TWS java api separately.
TWS is the software developed by Interactive Brokers, and I have no control over it. JBT simply connects to an open port in TWS and that's how auto trading becomes possible. The information flow can be represented as this (very simplified): JBT->IB API->TWS->Exchange. There is no way to embed your own panels inside TWS. However, Interactive Brokers also publishes another piece of software, known as IBGateway. It's a much simpler version of TWS, and JBT works with it the same way it works with TWS. You can live trade or forward test your strategies in JBT with either TWS or IBGateway. This forum specifically is for JBT discussion. There are many other resources for TWS discussions. TWS itself has a lengthy user manual.
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?
Hi,
Thank you for your response.. In the current situation, I just need to place limit orders,I don't need the order cancellation, order change , partial fills, etc. Please provide me some suggestion. I am in great need of this.
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?
Thank you for your response.. In the current situation, I just need to place limit orders,I don't need the order cancellation, order change , partial fills, etc. Please provide me some suggestion. I am in great need of this.
Hi,
I want to place mkt orders for 'mini S&P'. So, how do I do it? I saw the code in the StrategyES.java
--
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/-/3PcidqS0KtgJ.
1. If the order is placed, how can I know it?
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?
--
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/-/qzWs4qhy9XYJ.
Thanks in advance!
--
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/-/KmTRsUfYLh0J.
Can you give me a simple strategy.. if possible code..
so that I can test if order are placed successfully on TWS or not.
Now, all the values are shown as below
--
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/-/mxKf_iKEGRsJ.
Thanks in advance.
--
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/-/aHqzKaJdtv8J.
So, where should I find EMA class for moving average?
How should I add it to the strategy?
Sent on the Sprint® Now Network from my BlackBerry®
Sent on the Sprint® Now Network from my BlackBerry®
--
You received this message because you are subscribed to the Google Groups "JBookTrader" group.