【深入研究】比特币高频交易策略(项目+代码)

您所在的位置:网站首页 高频交易策略源码 【深入研究】比特币高频交易策略(项目+代码)

【深入研究】比特币高频交易策略(项目+代码)

2024-07-15 01:17:36| 来源: 网络整理| 查看: 265

今天为大家分享一篇比特币高频交易的文章,以项目形展示,附有代码,大家可以从文末进行下载。

在这篇文章中,分析了比特币交易所中高频交易一些问题。 由于迄今为止这个市场极不受管制,因此这种行为几乎没有任何限制。 文章展示了超过99%的订单是如何填补的,而不是扭曲市场的看法。 此外,文章还尝试发现常见的HFT策略,例如 Quote Spoofing, Layering 和 Momentum ignition。 鉴于这些交换的匿名性质,最后的这些结果在某种程度上都是主观的。

This analysis has been carried out with order data from the Websocket stream from GDAX, a US based digital asset exchange owned by Coinbase. It is one of the largest markets (over 42 MM USD/day) and it exposes a high performance socket where all orders are broadcasted. In addition, it offers some interesting features for data analysis:

1、Orders are timestamped (as opposed to Bitfinex, for example) 2、It has millisecond granularity (again, as opposed to Bitfinex) 3、It says whether an order has been matched or canceled -one could argue that disappearing orders far from the bid/ask spread must have been canceled (and it's true), but for orders inside the spread, this information is necessary.

While data has been captured for several days (at the time of this post I'm still capturing data), for the following analysis only data from July 21, 2017has been taken. Mind you, there are still over 2 Million datapoints.

Since the GDAX feed does not explicitly keep information of the current best bid/ask, a little preprocessing is needed. The best bid is the highestprice for currently open BUY orders, while the best ask is the lowest price for open SELL orders. Although this calculation is not complicated nor particularly slow, it's better to append the current best bid/ask as additional columns. No further preprocessing has been carried out.

代码实现部分

[1]https://en.wikipedia.org/wiki/Bitfinex

[2] https://www.gdax.com/

[3] Source: https://coinmarketcap.com

[4] http://parasec.net/blog/order-book-visualisation/

[5] http://www.bsic.it/marketmanipulation/

[6] https://www.theatlantic.com/technology/archive/2010/08/explaining-bizarre-robot-stock-trader-behavior/61028/

[7] https://docs.gdax.com/

来源:https://nbviewer.jupyter.org/github/ghgr/HFT_Bitcoin/blob/master/hftbitcoin.ipynb

知识在于分享

在量化投资的道路上

你不是一个人在战斗



【本文地址】

公司简介

联系我们

今日新闻


点击排行

实验室常用的仪器、试剂和
说到实验室常用到的东西,主要就分为仪器、试剂和耗
不用再找了,全球10大实验
01、赛默飞世尔科技(热电)Thermo Fisher Scientif
三代水柜的量产巅峰T-72坦
作者:寞寒最近,西边闹腾挺大,本来小寞以为忙完这
通风柜跟实验室通风系统有
说到通风柜跟实验室通风,不少人都纠结二者到底是不
集消毒杀菌、烘干收纳为一
厨房是家里细菌较多的地方,潮湿的环境、没有完全密
实验室设备之全钢实验台如
全钢实验台是实验室家具中较为重要的家具之一,很多

推荐新闻


图片新闻

实验室药品柜的特性有哪些
实验室药品柜是实验室家具的重要组成部分之一,主要
小学科学实验中有哪些教学
计算机 计算器 一般 打孔器 打气筒 仪器车 显微镜
实验室各种仪器原理动图讲
1.紫外分光光谱UV分析原理:吸收紫外光能量,引起分
高中化学常见仪器及实验装
1、可加热仪器:2、计量仪器:(1)仪器A的名称:量
微生物操作主要设备和器具
今天盘点一下微生物操作主要设备和器具,别嫌我啰嗦
浅谈通风柜使用基本常识
 众所周知,通风柜功能中最主要的就是排气功能。在

专题文章

    CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭