without the need to go through something like dynaorder? If so, which APIs should I use? Thanks.
Announcement
Collapse
No announcement yet.
Is it possible to send orders to IB in EFS directly
Collapse
X
-
Both work...
Both EFS and DO for IB work perfectly. I have used them both.
The instructions in the DOCs file should help you with EFS. There is also one TYPO....
trade.Buy(getSymbol(),100,IBrBroker.MARKET)
should be...
trade.Buy(getSymbol(),100,IBBroker.MARKET)
BradBrad Matheny
eSignal Solution Provider since 2000
-
Re: Both work...
Brad,
Where are the DOC files ( hep file? )? Could you give me the URL? I am sure I saw it somewhere before, but can not recall where I saw it. Thanks.
Clearpicks
Originally posted by Doji3333
Both EFS and DO for IB work perfectly. I have used them both.
The instructions in the DOCs file should help you with EFS. There is also one TYPO....
trade.Buy(getSymbol(),100,IBrBroker.MARKET)
should be...
trade.Buy(getSymbol(),100,IBBroker.MARKET)
Brad
Comment
-
Hello Clearpicks,
They are in your local directroy.
...\eSignal\Docs\IBEFS.docJason K.
Project Manager
eSignal - an Interactive Data company
EFS KnowledgeBase
JavaScript for EFS Video Series
EFS Beginner Tutorial Series
EFS Glossary
Custom EFS Development Policy
New User Orientation
Comment
-
My opinion....
The EFS_IB code is fast and clean. It allows you to place BUY and SELL orders for MARKET and LIMIT orders. It is a clean solution if your system controls everything internally (ie, stops, profit targets and order placement).
The drawback to the EFS_IB code is that it does not allow you to cancel previously placed orders. So, if you place a limit order and want to cancel it from within your code - there is no way to accomplish this.
Dynaorder does provide more functions for a more robust system (EFS), but is also adds a third interface with which to interact. there are also some tricks with DO to make everything work perfectly.
For example...
Trading Stocks with DO, you have to use the "D" functions and force a manual "rounding" to the values you use in your code. In other words, you have to force your EFS to handle alot of the number manipulation for STOCKS.
Trading Futures with DO, you DON'T use the "D" functions and still have to round your prices (if necessary) to the proper Decimal value.
DO also provides for placement and canceling of STOP, LIMIT, TRAILING orders - which can be very handy at times.
BradBrad Matheny
eSignal Solution Provider since 2000
Comment
-
order based on bid or ask
The example in the doc file is based on the close.
trade.Sell(getSymbol(),200,IBBroker. LIMIT, close())
What if I want to enter a limit order based on the bid or the ask?
Is this possible?
trade.Sell(getSymbol(),200,IBBroker. LIMIT, bid())
Thanks,
pretzel
Comment
-
Hello Pretzel,
Use getMostRecentBid() instead. bid() isn't a defined function in EFS.Jason K.
Project Manager
eSignal - an Interactive Data company
EFS KnowledgeBase
JavaScript for EFS Video Series
EFS Beginner Tutorial Series
EFS Glossary
Custom EFS Development Policy
New User Orientation
Comment
Comment