NexusFi: Find Your Edge


Home Menu

 





Building a custom platform for automated trading with Louise!


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one littlecompscigirl with 3 posts (2 thanks)
    2. looks_two iantg with 1 posts (0 thanks)
    3. looks_3 alfedo with 1 posts (0 thanks)
    4. looks_4 Remorhub with 1 posts (0 thanks)
    1. trending_up 1,535 views
    2. thumb_up 2 thanks given
    3. group 7 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Building a custom platform for automated trading with Louise!

  #1 (permalink)
littlecompscigirl
Amsterdam, Netherlands
 
Posts: 9 since Feb 2015
Thanks Given: 0
Thanks Received: 7

I'm starting this thread to discuss ideas and challenges around building a custom platform for automated trading on CME. Ask me any questions and feel free to critique!

About me: I started an account with $25,000 today. My goal is to trade a max position of 50 contracts of ES within 3 months using my own platform. I'm a junior mathematics and CS major in college on an exchange program in Europe right now.

My first project is to build a data feed for CME.

~~Louise

Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
REcommedations for programming help
Sierra Chart
 
  #3 (permalink)
littlecompscigirl
Amsterdam, Netherlands
 
Posts: 9 since Feb 2015
Thanks Given: 0
Thanks Received: 7


I established a 10G connection to CME and started storing data. The data comes via UDP streams and looks like this when parsed.

 
Code
        NoMDEntries (268): 1
        NoOrderIDEntries (37705): 1
        Entry 1
            OrderID (37): 8016711247293
            MDDisplayQty (37706): 10
            ReferenceID (9633): 1
            OrderUpdateAction (37708): Update

        NoMDEntries (268): 1
        NoOrderIDEntries (37705): 1
        Entry 1
            OrderID (37): 844980153910
            MDDisplayQty (37706): 1
            ReferenceID (9633): 1
            OrderUpdateAction (37708): Delete
If built correctly, my data feed should work on historical data and expose the same API as live trading, this way I can do both backtesting and live trading with the same data feed.

Reply With Quote
  #4 (permalink)
littlecompscigirl
Amsterdam, Netherlands
 
Posts: 9 since Feb 2015
Thanks Given: 0
Thanks Received: 7

My data feed needs to sit on top of a data stream, in live trading I need to decode the ethernet packets that arrive on my server, as follows:

 
Code
    match msg {
        Ok((header, msg)) => {
            msg_count += 1;
            let eth = ethernet_parse(&msg);
            if let ProtocolType::IPv4 = eth.type {
                // decode IP from payload
                // decode UDP from payload
        },
       Err(e) => println!("{:?}", e),
    }

Reply With Quote
  #5 (permalink)
 iantg 
charlotte nc
 
Experience: Advanced
Platform: My Own System
Broker: Optimus
Trading: Emini (ES, YM, NQ, ect.)
Posts: 408 since Jan 2015
Thanks Given: 90
Thanks Received: 1,148

Hi littlecompscigirl,

This sounds like an interesting undertaking. I have a few questions.

1. What API, Platform, and programming language are you working with?

2. What data provider are you working with to get your data?

3. What made you want to pursue a custom route like this vs. just using an existing retail system?

4. How do you plan to handle back testing? Accessing a data stream is one thing, but building a simulation engine is no small undertaking. Is this something that you are actively planning on?

5. If and when you complete this, what are your goals. Do you plan to trade with this, sell or license it others, etc?


Thanks for taking the time to share this with us!

Ian

In the analytical world there is no such thing as art, there is only the science you know and the science you don't know. Characterizing the science you don't know as "art" is a fools game.
Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
reallypo
Colorado Springs Colo/USA
 
Posts: 8 since Dec 2017
Thanks Given: 0
Thanks Received: 3

Hello,
I am a prop trader using Lightspeed. Lightspeed does not allow automated trading so my prop firm says I need to switch to sterling pro. Does anyone know where I can obtain coding for Sterling Pro? Sterling uses a Visual Basic Development Environment and also allows use of C#, C++ or JAVA
Thank you

Reply With Quote




Last Updated on August 26, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts