Code Monkey home page Code Monkey logo

rorysroes / sgx-full-orderbook-tick-data-trading-strategy Goto Github PK

View Code? Open in Web Editor NEW
1.8K 96.0 631.0 85.6 MB

Providing the solutions for high-frequency trading (HFT) strategies using data science approaches (Machine Learning) on Full Orderbook Tick Data.

Jupyter Notebook 100.00%
high-frequency-trading limit-order-book python machine-learning feature-selection feature-engineering backtesting-trading-strategies model-selection trading-strategies quantitative-trading

sgx-full-orderbook-tick-data-trading-strategy's People

Contributors

rorysroes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sgx-full-orderbook-tick-data-trading-strategy's Issues

Data_Transformation - message_data

Hi,
I am trying to reproduce your model but I am having difficulty understanding the meaning in the columns in the CN_Futures_2014.01.02 file.

As I understand this file is the Extraction from the Limited Order Book, but I couldn't understand the QuantityDifference columns (would it be the difference between the limited ask quantity minus the limited bid quantity?) and the BestQuantity column.

I also noticed that in the file there are many repeated OrderNumber for different timestamps.

Thank's for your time.

What are you predicting?

I am curious what you are prediciting. I can see that you are extracting a lot of features, but what exactly you are predicting? It seems like you have a label named traded? What is “traded”?

Strategy Questions

Great project, thanks! My projects in the past were at higher timeframes (hourly, 4hourly, etc).
A few quick questions for clarification given this:

  1. you list best accuracy mean of around 96%. Is this the directional accuracy, ie: you predict the market goes the correct way 96% of the time and this is at the 10second market after you do the prediction?
  2. which market are your results page from? Interested to know if you've applied this to FX - EURUSD etc,
  3. you mention placing limit orders. You graph of profits (in ticks) and cumulative profit is showing on very small scalping trades. Interested to know what the trading strategy is. I'm assuming you place a buy limit order at the ask price if you predict the market to be long. you only get in the trade if you are filled at your price. this way you are NOT dealing with any spread. is this correct?
  4. You then just always exit 10 seconds later for a profit/loss. What's the exit method - market order? you will get hit with spread. interested to know how you've set up the trading eval here.

thanks again,
Daniel

What features do you extract?

I am very interested in the feature extraction part.I can see the plot of ask/bid price and their volume.But I just wonder what kind of feature you finally get? Or you just draw the plot to see the relationship of them?Can you give a simple explanation of this part?

Thanks a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.