#17 Automation of for one of C2 system.

Next Release
closed
C2ATI (3)
5
2007-11-06
2007-08-28
Anonymous
No

I'd like to automate one of C2 systems without usage of TB.
The requirements are very simple:
There are three parts:
1. Load orders from a file. Transmit the orders by user request with notification of any errors.
2. Check account margin status. If the margin is less/equal specified level cancel all pending orders with DAY execution period that were previously transmitted by the app as fast as possible.
3. Configuration: TWS port/level or margin/time when the app should check the margin.

#1 and #2 are different in time execution and app might shutdown. It'll be great if transmitted orders ids will be safe in file for using in back up system.

-----
Desirable, but not necessary interaction with C2 and notifications about fills of the system to C2
-----

Input file is:
type of execution: BTO -buy,STC - sell, STO - short, BTC - cover
Type of order: LMT - limit, MKT - market
Duration: DAY - regular hours, GTC - good till canceled.
Symbol: Stock symbol.
Size of order:
Price:

I.e.
BTO,LMT,DAY,ACF,1100,14.83
STC,LMT,GTC,MRVL,1000,15.68
STC,MKT,GTC,NTRI,200,0

Discussion

  • Pranas

    Pranas - 2007-08-28
    • labels: 994739 --> C2ATI
    • milestone: --> Next Release
    • assigned_to: r_pankevicius --> pranas_baliuka
     
  • Pranas

    Pranas - 2007-09-12
    • assigned_to: pranas_baliuka --> jbaliuka
     
  • Pranas

    Pranas - 2007-11-06

    Logged In: YES
    user_id=630863
    Originator: NO

    moved to algotrade project

     
  • Pranas

    Pranas - 2007-11-06
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks