Code Monkey home page Code Monkey logo

hft's Introduction

Blog

hft is a small project with a big ambition. We aim to build the worlds best algorithmic trading platform using the best off-the-shelf open source technology stack to be found.

hft is created and maintained by Tony Day.

Quick start

There is no quick start for hft. The easiest way to get up to speed is to read the project blog. If you're interested in contributing to development or find a logic bug, then fork me with:

$ git clone https://github.com/tonyday567/hft.git

technology stack

The world of high frequency trading is a broad church of opinion, technology, ideas and motivations. hft is being developed using many different tools:

emacs, org-mode and literate programming###

hft.org is the nerve center of active development and contains just about all the important code, research notes and design tools being used.

The project makes heavy use of babel to pick and mix between coding environments and languages, whilst still remaining literate:

The main idea is to regard a program as a communication to human beings rather than as a set of instructions to a computer. ~ Knuth

Similarly, a project such as hft is as much about communication between human beings as it is about maintenance of source code.

R is a strongly functional but imperative language being used for rapid development and research of hft and algo ideas as they arise. Most everything that you can think of (databases, broker interfaces, statistical analysis, visualization) has an R package ready to get you up and going in 5 minutes.

R can be many things but what it is least set up for is development of asyncronous code. To fill this gap, the project is using haskell to frame the system as and when it develops.

Eventually, hft will be broker independent but during the development phase IB is the test case. Interactive has the most mature API that works out of the box and a demo account so that hft can come pre-plumbed so that (eventually) the project can also run out of the box.

Interactive Brokers consolidates tick data into 0.3 second time slices so it isn't appropriate for low-latency work.

Just because it's open-source doesn't mean that it's cost free. iqfeed has been chosen as an initial data feed to base project R&D efforts on. iqfeed costs dollars but the software can be downloaded for free and a demo version allows live data to flow with a lag.

A useful way to support the hft project is to let DTN know if you decide to purshase iqfeed due to the project.

bug tracker

Have a bug or a feature request? Please open a new issue.

Community

hft is sponsored by Scarce Capital as an adjunct to client advisory services.

Follow @scarcecapital on Twitter.

Read, subscribe (and contribute!) to the The Official hft Blog.

The project is partially due to active discussions on the Open Source HFT Linkedin group

Contributing

Please submit all pull requests against the master branch.

Thanks!

Authors

Tony Day

Copyright and license

Copyright 2013 Scarce Capital.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

hft's People

Contributors

tonyday567 avatar

Watchers

James Cloos avatar  avatar

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.