All Projects → flouthoc → aku

flouthoc / aku

Licence: MIT License
Aku - Toy Backtesting/Trading Engine

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to aku

binance-downloader
Python tool to download Binance Candlestick (k-line) data from REST API
Stars: ✭ 44 (+62.96%)
Mutual labels:  trading, trading-bot, backtesting-trading-strategies, backtesting
TradeBot
Crypto trading bot using Binance API (Java)
Stars: ✭ 292 (+981.48%)
Mutual labels:  trading, trading-bot, backtesting-trading-strategies, backtesting
TraderCore
Core module for the StockML crypto trading application.
Stars: ✭ 41 (+51.85%)
Mutual labels:  trading-bot, backtesting-trading-strategies, backtesting
backtrader template
Basic template for managing Backtrader backtests.
Stars: ✭ 131 (+385.19%)
Mutual labels:  trading, trading-bot, backtesting
roq-samples
How to use the Roq C++20 API for Live Cryptocurrency Algorithmic and High-Frequency Trading as well as for Back-Testing and Historical Simulation
Stars: ✭ 119 (+340.74%)
Mutual labels:  trading, trading-bot, backtesting
trading sim
📈📆 Backtest trading strategies concurrently using historical chart data from various financial exchanges.
Stars: ✭ 21 (-22.22%)
Mutual labels:  trading, trading-bot, trading-simulator
quick trade
convenient script for trading with python.
Stars: ✭ 63 (+133.33%)
Mutual labels:  trading, trading-bot, trading-simulator
TAcharts
Apply popular TA tools and charts to candlestick data with NumPy.
Stars: ✭ 131 (+385.19%)
Mutual labels:  trading, trading-bot, backtesting
PancakeSwapBot
PancakeSwap prediction bot
Stars: ✭ 38 (+40.74%)
Mutual labels:  trading, trading-bot
coinmarketcap-new-listings-sniper-bot
Sniper bot to buy new tokens listed on Coinmarketcap.
Stars: ✭ 55 (+103.7%)
Mutual labels:  trading, trading-bot
moon-doge
Buy DogeCoin automatically when Elon Musk tweet about it, and sell after profit
Stars: ✭ 20 (-25.93%)
Mutual labels:  trading, trading-bot
gekko-batcher
Batch backtest tool for Gekko.
Stars: ✭ 34 (+25.93%)
Mutual labels:  trading, backtesting
CryptoStupidity
Проект по обучению ручной и автоматической торговли криптовалютами.
Stars: ✭ 22 (-18.52%)
Mutual labels:  trading, trading-bot
AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (+740.74%)
Mutual labels:  trading, trading-bot
gdax-ohlc-import
Import historical OHLC data from GDAX
Stars: ✭ 26 (-3.7%)
Mutual labels:  trading, backtesting
gdax bot
gdax_bot - Micro dollar cost averaging for crypto
Stars: ✭ 57 (+111.11%)
Mutual labels:  trading, trading-bot
jesse strategies
Jesse ai strategies
Stars: ✭ 42 (+55.56%)
Mutual labels:  trading, trading-bot
bybit-api
Node.js connector for the Bybit APIs and WebSockets, with TypeScript & browser support.
Stars: ✭ 69 (+155.56%)
Mutual labels:  trading, trading-bot
rockfish
Rockfish is an arbitrage bot for the Stellar Decentralized Exchange (SDEX)
Stars: ✭ 58 (+114.81%)
Mutual labels:  trading, trading-bot
AI-for-Trading
📈This repo contains detailed notes and multiple projects implemented in Python related to AI and Finance. Follow the blog here: https://purvasingh.medium.com
Stars: ✭ 59 (+118.52%)
Mutual labels:  trading, backtesting

aku

Aku - Toy Backtesting/Trading Engine

Aku is a toy backtesting/trading engine with some very basic interfaces. Its easy to extend aku by providing custom implementation of interfaces.

Usage:
  Aku v0.0.1 [OPTION...]

  -i, --input arg   Input csv file, will read ticks from here
  -o, --output arg  Output csv file, will output trade / results here
                    (default: output.csv)
  -d, --debug       Enable debugging
  -h, --help        Print usage

Build

make

Key Terms

- Tick: A standard stock candle.
- TickManager: Responsible for Fetching Ticks from any source e.g Web/Database
- TradeManager: Implements Basic operations for your trading exchange/portal.
- Strategy: Implements processTick()

Your standard Implementation or refer main.cpp.

	/* Initialise tick manager*/
   	TickManager * tick_manager;
   	tick_manager = new YourTickManager(input_file);

   	/* Initialise strategy */
   	Strategy * strategy;
   	strategy = new YourCustomStrategy();

   	/* Initialise trade manager */
   	TradeManager * trade_manager;
   	trade_manager = new YourTradeManager(virtual_bank);
   	Tick last_traded_tick;
   	
   	/* Start the core event-loop */
   	while(tick_manager->hasNextTick()){
   		Tick t = tick_manager->getNextTick();
   		last_traded_tick = t;
   		Trade tr = strategy->processTick(t);
   		trade_manager->performTrade(tr);
   	}

Todos

  • Write MORE Tests
  • Clean the code ( as always)
  • Implement more strats

License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].