All Projects → greatshi → pybtc

greatshi / pybtc

Licence: other
No description or website provided.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pybtc

Zvt
modular quant framework.
Stars: ✭ 1,801 (+11156.25%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
Machine Learning And Ai In Trading
Applying Machine Learning and AI Algorithms applied to Trading for better performance and low Std.
Stars: ✭ 258 (+1512.5%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (+1318.75%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
Quant
Codera Quant is a Java framework for algorithmic trading strategies development, execution and backtesting via Interactive Brokers TWS API or other brokers API
Stars: ✭ 104 (+550%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (+725%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
Quant Trading
Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACD
Stars: ✭ 2,407 (+14943.75%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+51181.25%)
Mutual labels:  trading-bot, quantitative-finance, quantitative-trading
Trading Backtest
A stock backtesting engine written in modern Java. And a pairs trading (cointegration) strategy implementation using a bayesian kalman filter model
Stars: ✭ 247 (+1443.75%)
Mutual labels:  quantitative-finance, quantitative-trading
cira
Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.
Stars: ✭ 21 (+31.25%)
Mutual labels:  trading-bot, quantitative-finance
AltoTrader
Automated crypto currency trading bot
Stars: ✭ 29 (+81.25%)
Mutual labels:  trading-bot, quantitative-finance
Tai
A composable, real time, market data and trade execution toolkit. Built with Elixir, runs on the Erlang virtual machine
Stars: ✭ 264 (+1550%)
Mutual labels:  trading-bot, quantitative-finance
51bitquant
51bitquant Python数字货币量化交易视频 CCXT框架 爬取交易所数据 比特币量化交易 交易机器人51bitquant tradingbot cryptocurrency quantitative trading btc trading
Stars: ✭ 284 (+1675%)
Mutual labels:  trading-bot, quantitative-finance
Awesome Deep Trading
List of awesome resources for machine learning-based algorithmic trading
Stars: ✭ 514 (+3112.5%)
Mutual labels:  trading-bot, quantitative-trading
Quant Notes
Quantitative Interview Preparation Guide, updated version here ==>
Stars: ✭ 180 (+1025%)
Mutual labels:  quantitative-finance, quantitative-trading
Py Quantmod
Powerful financial charting library based on R's Quantmod | http://py-quantmod.readthedocs.io/en/latest/
Stars: ✭ 155 (+868.75%)
Mutual labels:  quantitative-finance, quantitative-trading
Tradingstrategies
Algorithmic trading strategies
Stars: ✭ 120 (+650%)
Mutual labels:  quantitative-finance, quantitative-trading
Elitequant
A list of online resources for quantitative modeling, trading, portfolio management
Stars: ✭ 1,823 (+11293.75%)
Mutual labels:  quantitative-finance, quantitative-trading
Strategems.jl
Quantitative systematic trading strategy development and backtesting in Julia
Stars: ✭ 106 (+562.5%)
Mutual labels:  quantitative-finance, quantitative-trading
Bulbea
🐗 🐻 Deep Learning based Python Library for Stock Market Prediction and Modelling
Stars: ✭ 1,585 (+9806.25%)
Mutual labels:  quantitative-finance, quantitative-trading
Binance grid trader
A grid trading strategy and trading-bot for Binance Exchange. 币安交易所的网格交易
Stars: ✭ 132 (+725%)
Mutual labels:  trading-bot, quantitative-finance

PyBTC: 一个加密货币自动交易系统

架构

在原有基础上更新版本ing Architecture 做成事件驱动版本
使用RabbitMQ传送事件
SQLite存储行情信息
MongoDB存储交易相关信息

功能

可以实现自定义币种、价格、数量的左侧交易或右侧交易
设定买入、卖出价格,自动循环交易
实现了网站 Python 版的 API, 可以自己开发交易策略
exe暂不支持 coinut
目前只能在 coinut 进行交易(strategy_ut.py)
在dist文件夹中双击 strategy.exe 即可运行,支持 Win7-Win10 32bit & 64bit
strategy.exe SHA256:
bd954b185be34a2aca3c31aa988ae3e8100403f072eacfd817a55dca21d91f02
w9xpopen.exe SHA256:
243c34e56805f87f0254d59826fbab1d062da19308644046a3a92997d86d0bdb
使用 py2exe 打包程序

系统需求

Mac、Linux、Win 都可运行
Win需要安装: Python 2.7

运行

btctrade.com申请“获取API认证的公钥和私钥”
coinut.com申请“REST API Key”
在命令行中运行
$python strategy.py
首次运行需要输入申请的公钥和私钥,所有的输入使用空格分隔

交易参数

btctrade
{left, right} {btc, eth, ltc, doge, ybc} {amount} {price} {price}

coinut
{left, right} {BTCUSDT, ETHUSDT, LTCUSDT} {amount_ratio} {price} {price}

例如

  1. 采用左侧交易(left),购买比特币(btc),数量比例(0.7),买入价(19500),卖出价(21000)
    $ python strategy.py
    Ctrl+C to quit!
    side coin amount_ratio buy_price sell_price: left btc 0.7 19500 21000
    $ python strategy.py left btc 0.7 19500 21000

  2. 采用左侧交易(left),购买比特币(btc),数量比例(0.7),浮动比例(0.01),止损比例(0.1)
    $ python 02_strategy.py left btc 0.7 0.01 0.1

  3. 自己调用交易函数如下:

import trade

print trade.get_last_price('btc')
#打印当前比特币的价格

buy_id = trade.trusted_buy('btc', '1', '19500')
#以19500的价格购买一个比特币,buy_id 为单号

sell_id = trade.trusted_sell('btc', '1', '37500')
#以37500的价格出售一个比特币,sell_id 为单号

演进计划

使用神经网络预测价格走势,目前在测试 RNN 代码
集成回测,模拟交易,交易

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].