Automatic Trading

This is a discussion on Automatic Trading within the Techies Corner forums, part of the Trading Career category; Hi, I've written my own system in c# for trading stocks on the US markets. It currently takes data from ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Dec 4, 2010, 10:42pm   #1
 
Marek_$'s Avatar
Joined Dec 2006
Automatic Trading

Hi,

I've written my own system in c# for trading stocks on the US markets. It currently takes data from Telechart and gives me buy signals.

I would like to tie this up to a brokerage account so that I can make trades automatically. Does anyone know of a way of doing this?

Thanks,

Marek.
Marek_$ is offline   Reply With Quote
Old Dec 5, 2010, 12:19am   #2
 
HowardCohodas's Avatar
Joined Sep 2010
Re: Automatic Trading

I am a retired software engineer and have written plenty of strategies in several different languages.

However, if I were inclined to develop and automate a new one, I would not write it is the traditional way. I would use Prodigio, a ThinkOrSwim application, to create my strategy in the GUI interface they use. It has backtesting capability, signal notification capability or total automation if that's your thing. As for myself, I know my record of producing bug free code, so I always like my brain and finger between the signal and the trade execution.

Since you have already done it the hard way, redoing it with the GUI should be quite easy.
HowardCohodas is offline Other (Please email T2W with details)   Reply With Quote
Old Dec 5, 2010, 12:44am   #3
 
Marek_$'s Avatar
Joined Dec 2006
Re: Automatic Trading

Marek_$ started this thread Hello Howard,

thanks for your reply. I'm not certain, but the system I have implemented wouldn't be so easy to re-implement with, for example, Think or Swim as I have developed my own indicators within my system.

However, my system automatically produces a text file with buy signals, stop loss points and profit targets, so all I really need to do is find a trading platform that can be made to read my daily text files.

Do you know of anything that could be made to read my test files and make the trades?


For interest, this is a typical output from my system:

=============================================
Ticker: BID

Buy To Open: 230
Target1 Sell To Close: 115 shares
Target2 Sell To Close: 58 shares
Target3 Sell To Close: 57 shares

Limit: 42.67
Buy To Open: 42.57

Target1: 45.12
Target2: 48.47
Target3: 50.54
StopLoss (initial): 39.99
=============================================

Thanks,

Marek.
Marek_$ is offline   Reply With Quote
Old Dec 5, 2010, 12:52am   #4
 
HowardCohodas's Avatar
Joined Sep 2010
Re: Automatic Trading

No I don't.

However some brokers have an API that is FIX (Financial EXchange) compliant. I did an internet search several months back so my info is dated. If you can find one and they will give you a FIX account, then there are some FIX implementations freely available in SourceForge.

ThinkOrSwim used to offer this capability to retail traders but have suspended these accounts until the merger with TD Ameritrade is complete. Furthermore, my source told me that I shouldn't waste any programming effort as they were likely to cancel the program when the smoke cleared. I am bummed.
HowardCohodas is offline Other (Please email T2W with details)   Reply With Quote
Old Dec 5, 2010, 1:02am   #5
 
Marek_$'s Avatar
Joined Dec 2006
Re: Automatic Trading

Marek_$ started this thread Think or Swim are not even an option for me as they currently don't allow UK residents to open an account - since the merger.

Its really strange. Anyone have any ideas why this is?

Marek.
Marek_$ is offline   Reply With Quote
Old Dec 5, 2010, 9:59am   #6
 
Charlton's Avatar
Joined Nov 2003
Re: Automatic Trading

Quote:
Originally Posted by Marek_$ View Post
Hi,

I've written my own system in c# for trading stocks on the US markets. It currently takes data from Telechart and gives me buy signals.

I would like to tie this up to a brokerage account so that I can make trades automatically. Does anyone know of a way of doing this?

Thanks,

Marek.
Try Interactive Brokers

http://www.interactivebrokers.com/en...e&ib_entity=uk

Charlton
__________________
Onwards and Upwards
Charlton is offline   Reply With Quote
Old Dec 5, 2010, 10:36am   #7
 
Marek_$'s Avatar
Joined Dec 2006
Re: Automatic Trading

Marek_$ started this thread
Quote:
Originally Posted by Charlton View Post
Hi Charlton,

this looks like its exactly what I need. Have you used it yourself?

Could be a nice little project for The Christmas holidays!

Thanks,

Marek.
Marek_$ is offline   Reply With Quote
Old Dec 5, 2010, 11:45am   #8
Joined Jun 2009
Re: Automatic Trading

IB API reads excel files. If you output that way you can use IB and it will cost you much less.
bashatrader is offline   Reply With Quote
Old Dec 5, 2010, 12:10pm   #9
 
Marek_$'s Avatar
Joined Dec 2006
Re: Automatic Trading

Marek_$ started this thread
Quote:
Originally Posted by bashatrader View Post
IB API reads excel files. If you output that way you can use IB and it will cost you much less.
Hello Bashatrader,

Thanks, I'll keep that in mind. Sounds like the way to go.

Do you know if you can set up a paper trading account for testing prior to funding an account.

Marek.
Marek_$ is offline   Reply With Quote
Old Dec 5, 2010, 4:54pm   #10
 
Charlton's Avatar
Joined Nov 2003
Re: Automatic Trading

Quote:
Originally Posted by Marek_$ View Post
Hi Charlton,

this looks like its exactly what I need. Have you used it yourself?

Could be a nice little project for The Christmas holidays!

Thanks,

Marek.
I have an account with IB but I do not use the API. Instead I use Tradestation and its own language Easylanguage. The new version 9.0 is an Object Oriented Language based on C#. However I know that many people use the API to IB. For example some people do not use Tradestation 9 but use a standalone version called Tradestation 2000i and interface to/from IB.

In your situation I don't think Tradestation would be the appropriate tool because you have already developed your system in C# and just need a broker with which you can interface. TS is more appropriate for those who want to code in Easylanguage and also the platform fees are $200 per month if you do not trade in sufficient volume.

IB will probably work out cheaper for you. By the way you might also like to consider using their datafeed instead of Telechart. There's lots of info and manuals on their site if you look around and they also have a London office.
__________________
Onwards and Upwards
Charlton is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic trading swoop07 First Steps 2 Sep 30, 2008 9:32pm
Automatic Trading - Is There anything like that ? trady1 Technical Analysis 16 Sep 25, 2006 12:52pm
automatic trading signals traderjuk Trading Software 4 Oct 18, 2005 9:37pm
Automatic Trading System ilia king Trading Systems 39 Mar 8, 2004 1:56pm
Automatic Trading ilia king Trading Software 1 Mar 6, 2004 6:51pm

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