Thread: ECN Trading
View Single Post
  #26 (permalink)  
Old 04-22-2007, 12:32 AM
daraknor's Avatar
daraknor daraknor is offline
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
Here is the current plan:
Write an implementation of the FIX protocol in Python, with MySQL storing the data as if it were a charting application. I'm working on this with one other programmer, we won't release anything until we have some code. A few programmers have offered to help, we will be doing everything in Python and MySQL.
Quote Protocol
Login
Interpreted data
Writes to MySQL Database

Order Protocol
FIX 4.4 base
Proprietary Extensions
Generics for handling order types
Can fetch data on position sizes, balance, etc.

Indicators
Written in MySQL (SQL, possibly some Transactional SQL, Possibly stored procedures)
Python Indicator Interface (PyIndicator)
Indicators can also be written in Python
Can be time sensitive and historically time sensitive. (In the past X weeks of data, how many Tuesdays at 8am NY time did the price go up if 8am London time went up?)

Automated Trading
Uses Indicators and Quotes to place orders
Written in Python, makes PyIndicator calls
Sends orders to OrderProtocol
Has internal data structures, objects

Account Information
Fetches information from OrderProtocol
Used to pick lot sizes
Historical performance records
Historical record of trades
Reply With Quote