Auto Trading Interactive Brokers API

已完成 已发布的 Oct 6, 2006 货到付款
已完成 货到付款

Auto trade Stock using the Interactive Brokers (IB) API. send trading orders directly to IB for execution, and monitor the account from IB regarding status, current price etc..

I want to build a spread sheet or equivalent app. that will auto execute a trade based on criteria specified.

manually enter the Stock Symbol and trigger price, if the gap criteria is OK (see below) a Stop Limit Order will be place at the trigger , along with an OCO bracket.

An example would be

Criteria 1, the stock did not gap beyond our trigger price

If Open < trigger

Criteria 2

MSFT Go Long above $27.00

Places a BUY STOP LIMIT ORDER at $27.00

Place a stop at $26.50 (Stop MKT )

Place a Target to exit a % of the trade at $27.50

using a Stop Limit Order means the excel sheet does not have to monitor the stock price for entry, we simply check to see if the gap condition is ok (checks the open price, 1st minute of trading 9:30 New York Yime)

By default a Stop Limit Order is a trigger, it means enter on a Limit Buy at $27, if last price traded was $27.

There are only 2 critria for entering the trade, 1 gap , and 2 price trigger, and these do not change during the day, so that keeps it pretty simple

1. check gap conditions

[url removed, login to view] the entry ordre

3. monitor the market to see if we are getting close to the entry price, dosent change our order, but I would like to highlight the cell a different colout of we are within .05

4. Monitor our open positions, calculate P/L

5. Monitor the account for partial fills, say we wanted to buy 1,000 shares but only got filled on 800, the corresponding exits and stops, must be for the correct amount of shares 800

6. All profit targets, stop loss amounts are a function of the stock price, e.g stocks between $10 and $20 use a stop of $x..

All orders should be resident on IB,

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

I suggested Excel, because of the DDE capabilites of IB

But the API has been used by others who programmed in different languages. I am open to suggestiosn

**Other functionality:

Please see the attached files for other functions to be included in the aplication

Active / Inactive aler

Close this position

Market on Close

Email Notification

Ideas for Phase 2...

**

PHP

项目ID: #3843426

关于项目

1个方案 远程项目 活跃的Oct 6, 2006

授予:

dabasofsol

See private message.

$97.75 USD 在12天内
(51条评论)
5.5