example-hftish - Example Order Book Imbalance Algorithm

  •        6

The aim of this algorithm is to capture slight moves in the bid/ask spread as they happen. It is only intended to work for high-volume stocks where there are frequent moves of 1 cent exactly. It is one of the trading strategies based on order book imbalance. For more details about it, please refer to Darryl Shen, 2015 or other online articles. This algorithm will make many trades on the same security each day, so any account running it will quickly encounter PDT rules. Please make sure your account balance is well above $25,000 before running this script in a live environment.

https://github.com/alpacahq/example-hftish

Tags
Implementation
License
Platform

   




Related Projects

StockSharp - Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, bitcoins and options)

  •    CSharp

StockSharp (shortly S#) – are free set of programs for trading at any markets of the world (American, European, Asian, Russian, stocks, futures, options, Bitcoins, forex, etc.). You will be able to trade manually or automated trading (algorithmic trading robots, conventional or HFT).Available connections: FIX/FAST, LMAX, Rithmic, Fusion/Blackwood, Interactive Brokers, OpenECry, Sterling, IQFeed, ITCH, FXCM, QuantHouse, E*Trade, BTCE, BitStamp and many other. Any broker or partner broker (benefits).

tribeca - A high frequency, market making cryptocurrency trading platform in node.js

  •    TypeScript

tribeca is a very low latency cryptocurrency market making trading bot with a full featured web client, backtester, and supports direct connectivity to several cryptocoin exchanges. On modern hardware, it can react to market data by placing and canceling orders in under a millisecond. Runs on the latest node.js (v7.8 or greater). Persistence is acheived using mongodb. Installation is recommended via Docker, but manual installation is also supported.

Lean - Lean Algorithmic Trading Engine by QuantConnect (C#, Python, F#)

  •    CSharp

Lean Engine is an open-source fully managed C# algorithmic trading engine built for desktop and cloud usage. It was designed in Mono and operates in Windows, Linux and Mac platforms. Lean drives the web based algorithmic trading platform QuantConnect.Handle all messages from the algorithmic trading engine. Decide what should be sent, and where the messages should go. The result processing system can send messages to a local GUI, or the web interface.

StockSharp

  •    CSharp

????????? ??? ???????? ??????? - http://stocksharp.com/

cointrol - ฿ Bitcoin trading bot with a real-time dashboard for Bitstamp.

  •    Python

Cointrol is a Bitcoin trading bot and real-time dashboard for Bitstamp created by @jakubroztocil.Cointrol was created to automate Bitcoin speculation. Besides automated trading based on price change triggers and various trading strategies, it also provides a real-time updated dashboard for your Bitstamp account where you can see all your orders and transactions real-time updated (something Bitstamp lacks). The dashboard for a real-time updated overview can also be used standalone without letting Cointrol make any transactions.


catalyst - An Algorithmic Trading Library for Crypto-Assets in Python

  •    Python

Catalyst is an algorithmic trading library for crypto-assets written in Python. It allows trading strategies to be easily expressed and backtested against historical data (with daily and minute resolution), providing analytics and insights regarding a particular strategy's performance. Catalyst also supports live-trading of crypto-assets starting with four exchanges (Binance, Bitfinex, Bittrex, and Poloniex) with more being added over time. Catalyst empowers users to share and curate data and build profitable, data-driven investment strategies. Please visit catalystcrypto.io to learn more about Catalyst. Catalyst builds on top of the well-established Zipline project. We did our best to minimize structural changes to the general API to maximize compatibility with existing trading algorithms, developer knowledge, and tutorials. Join us on the Catalyst Forum for questions around Catalyst, algorithmic trading and technical support. We also have a Discord group with the #catalyst_dev and #catalyst_setup dedicated channels.

gdax-node - The official Node.js library for the GDAX API

  •    Javascript

The official Node.js library for Coinbase's GDAX API.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

ccxt - A JavaScript / Python / PHP cryptocurrency trading library with support for more than 100 bitcoin/altcoin exchanges

  •    Javascript

A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs. The CCXT library is used to connect and trade with cryptocurrency / altcoin exchanges and payment processing services worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, webshop integration and related software engineering.

Gekko-Strategies - Strategies to Gekko trading bot with backtests results and some useful tools.

  •    Javascript

Gekko Trading Bot. Repository of strategies which I found at Git and Google, orginal source is in README or .js file. Strategies was backtested, results are in backtest_database.csv file. I used ForksScraper and Gekko BacktestTool to create content of this repository.

Deep-Trading - Algorithmic trading with deep learning experiments

  •    OpenEdge

Algorithmic trading with deep learning experiments. Now released part one - simple time series forecasting. I plan to implement more sophisticated algorithms and their ensembles with different features, check their performance, train a trading strategy and go live.

gekko - A bitcoin trading bot written in node - https://gekko.wizb.it/

  •    Javascript

The most valuable commodity I know of is information.Gekko is a Bitcoin TA trading and backtesting platform that connects to popular Bitcoin exchanges. It is written in javascript and runs on nodejs.

Zipline - A Pythonic Algorithmic Trading Library

  •    Python

Zipline is a Pythonic algorithmic trading library. It is an event-driven system that supports both backtesting and live-trading. Zipline is currently used in production as the backtesting and live-trading engine powering Quantopian -- a free, community-centered, hosted platform for building and executing trading strategies.Note: Installing Zipline via pip is slightly more involved than the average Python package. Simply running pip install zipline will likely fail if you've never installed any scientific Python packages before.

algo-coin - Algorithmic trading cryptocurrencies across multiple exchanges

  •    Javascript

Algorithmic Trading Bitcoin. Lightweight, extensible program for algorithmically trading cryptocurrencies and derivatives across multiple exchanges.

Watch-Me-Build-a-Trading-Bot - This is the code for "Watch Me Build a Trading Bot" by Siraj Raval on Youtube

  •    Javascript

This is the code for this video on Youtube by Siraj Raval called Watch me Build a Trading Bot. Credits go to AskMike for the starter code.

gdax-tt - The GDAX trading toolkit

  •    TypeScript

Provide all the tools traders need, both professional and hobbyist alike, to create automated trading bots on the GDAX and supported digital asset exchanges. Note: Node 7.6 or above is required.The src/samples folder contains many working demo scripts showcasing different aspects of the toolkit, while the tutorials folder contains running demo programs to accompany the GTT documentation.

quantmod - Quantitative Financial Modelling Framework

  •    R

quantmod is an R package that provides a framework for quantitative financial modeling and trading. It provides a rapid prototyping environment that makes modeling easier by removing the repetitive workflow issues surrounding data management and visualization. Ask your question on Stack Overflow or the R-SIG-Finance mailing list (you must subscribe to post).

ReactiveTrader - Sample reactive UIs in WPF and HTML5, using RxNet/RxJS and SignalR

  •    CSharp

Reactive Trader is a client-server application demonstrating some of the problems needing to be dealt with when building reactive, or event driven, user interfaces. It was initially built as a demonstration application for a presentation we gave at ReactConf 2014. We have decided to open source it so the community can benefit from our contribution.Reactive Trader was written by the team at Adaptive, a consultancy that specialises in building real time trading systems. We have many years of experience in building trading systems for clients with highly demanding latency and reliability requirements. Over the years we have learnt quite a few lessons, and wanted to talk about and point to examples of how we solve technical problems related to real time delivery of messages.

ReactiveTraderCloud - Real-time trading platform demo showcasing reactive programming principles applied across the full application stack

  •    CSharp

Reactive Trader Cloud is a real-time FX trading platform demo showcasing reactive programming principles applied across the full application stack.Since Reactive Trader v1 we've improved the platform across the board, eg we've revamped the UI with a modern JavaScript framework (React) and increased data resiliency by using an event-sourcing approach for the backend services.

viabtc_exchange_server - A trading engine with high-speed performance and real-time notification

  •    C

ViaBTC Exchange Server is a trading backend with high-speed performance, designed for cryptocurrency exchanges. It can support up to 10000 trades every second and real-time user/market data notification through websocket. For this project, it is marked as Server in this picture.