Forgotten Your Password?
Connect with Facebook
Frequent Questions

Review Section Review brokerage firms, trading services, software & data vendors, and trading books.

Review Section Thread, Interactive Brokers API in Trading Resources; Is anyone familiar enough with some of the features of the TWS API from Interactive Brokers ? Here's what I'm ...
Reply
 
LinkBack Thread Tools Display Modes

Interactive Brokers API  

  #1  
Old 03-02-2007, 06:37 PM
syswizard's Avatar
syswizard
 
Join Date: Nov 2006
Location: Media, PA
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Is anyone familiar enough with some of the features of the TWS API from Interactive Brokers ?
Here's what I'm trying to do:
1) From a list of 1100 stocks, at the OPEN at 9:30am EDT, determine which from this group have GAPPED (open > previous high).

It doesn't sound difficult, but it's tough to do with a DDE quote link....too many symbols....it would hang at the open !

2) What I need is a customized SCANNER that runs at 9:30 am and then merges the GAP list in the universe of stocks to those in the group of 1100.
IBI's current scanner does not permit custom scans...only their presets are supported.

I looked at Yahoo's scanner, but it's Java-based. I need the raw API so I can do this within Excel.

I know Tradestation's Radarscreen can do this, but we can't run that platform.

Sheesh....this sounds so SIMPLE....am I missing something ?
Any ideas greatly appreciated !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #2  
Old 03-03-2007, 01:38 AM
Knyyt's Avatar
Knyyt
 
Join Date: Feb 2007
Location: New Jersey
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Seriously suggest you use this Trade-Ideas.com - Real-Time Streaming Stock Alerts Scanner

Heres their help file for what they can do-
Alerts Help

Let me know how things turn out.

Regards, Knyyt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #3  
Old 03-03-2007, 10:26 AM
syswizard's Avatar
syswizard
 
Join Date: Nov 2006
Location: Media, PA
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks much. I sent them a note asking if they have an API available so I can integrate the scanner into Excel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #4  
Old 03-03-2007, 02:16 PM
Knyyt's Avatar
Knyyt
 
Join Date: Feb 2007
Location: New Jersey
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Syswizard-

Think this is what your looking for.


Stock Alerts for Developers and Webmasters
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #5  
Old 03-06-2007, 09:33 AM
syswizard's Avatar
syswizard
 
Join Date: Nov 2006
Location: Media, PA
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for that.....very interesting ActiveX implementation. Strangely, I was able to cobb together a pretty nifty quote tracker in Excel using the Yahoo Finance quote database. I'll post some pix of it when I clean it up.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #6  
Old 09-22-2007, 12:42 AM
fxadvisory
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Could someone advise me how I might create a feature that will close all open orders when a net profit target is hit. I would like to open a small basket of FX cross pairs with Interactive Broker' TSW platform and close all orders when the basket hits a net $ profit. thx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #7  
Old 09-22-2007, 09:50 AM
syswizard's Avatar
syswizard
 
Join Date: Nov 2006
Location: Media, PA
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by fxadisory View Post
Could someone advise me how I might create a feature that will close all open orders when a net profit target is hit. I would like to open a small basket of FX cross pairs with Interactive Broker' TSW platform and close all orders when the basket hits a net $ profit. thx
Very difficult to do with the present version 9.3 because commissions are not available. So best you could do is the basis of GROSS profit. API Version 9.4 will support commissions....but no target date has been set.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #8  
Old 09-22-2007, 10:08 AM
fxadvisory
 
Join Date: Sep 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Originally Posted by syswizard View Post
Very difficult to do with the present version 9.3 because commissions are not available. So best you could do is the basis of GROSS profit. API Version 9.4 will support commissions....but no target date has been set.
Gross profit target sounds fine with me considering I can estimate the commissions up front. I am currently using the MT4 dealer platform for FX and have been able to find programmers to write scripts in C+ for helpful modifications like 'close all' on target profit. But the MT4 'dealer platform' world is getting more unappealing to me and I would like to enter the true interbank setting. I would really like to implement this 'close all on profit' script in a demo Interbank account. (gross profit target, ok) Unfortunately, I do not have any programming contacts for such a modification. thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #9  
Old 09-22-2007, 01:44 PM
syswizard's Avatar
syswizard
 
Join Date: Nov 2006
Location: Media, PA
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
You might want to register and check here:
http://codebase.mql4.com

There appear to be a lot of MQL4 experts there.
For you to pull this off, MQL4 must support one of these Windows communication interfaces:
DLL
DDE
ActiveX
My quick search of the above surfaced nothing, but that doesn't mean MQL4 cannot do these. You'll need to contact their tech support or the experts for a definitive answer to the above.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Interactive Brokers API  

  #10  
Old 12-10-2007, 04:17 PM
jimingrapevine
 
Join Date: Dec 2007
Location: Grapevine
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Telechart's spreadsheet can be set up to follow gaps. I'm not certain how much information you want sent to Excel but the basic )ie: Price Hi LO Close etc can be saved to a file. Telechart has a free trial so it could be tested before making a commitment.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
gap, open



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ninja Trader and Interactive Brokers Freddie Data Feeds 3 02-21-2007 10:30 PM
Newbie. Some advice needed about brokers Connected Beginners Forum 3 08-25-2006 11:46 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


» »

» Invite Friends