什么是数字货币搬砖?搬砖利润的计算公式介绍

资讯 2024-06-21 阅读:22 评论:0
搬砖这个词如果有在数字货币圈里头应该不难听到,通常会想到的都是交易所间的搬砖。因为各交易所间的价格不一,导致中间有机会进行套利,比方说币安的比特币价格如果高于Bitifi...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

搬砖这个词如果有在数字货币圈里头应该不难听到,通常会想到的都是交易所间的搬砖。因为各交易所间的价格不一,导致中间有机会进行套利,比方说币安的比特币价格如果高于Bitifinex,便可以由Bitifinex购入比特币后再到币安转卖,反之亦然。

If the word bricks were to be heard in a digital currency ring, it was usually thought of as inter-exchange bricks. Because prices varied from exchange to exchange, there was an opportunity for arbitrage in the middle, for example, if Bitfinex’s price was higher than Bitfinex, then Bitfinex could buy it into bitcoins and then resell it, and vice versa.

这种方式其实跟传统低买高卖的贸易方式很像,差别就在搬砖通常全部都由电脑即时达成,而且这种搬砖方式通常有低风险的特性,不管如何经过一轮手上的币都会变多,需要承担的风险就是当币值下跌的时候手上的币可能变得一文不值,另外也有可能因为延迟抢不到其中一边的的单而导致亏损。

This approach is similar to the traditional low-cost and high-sales trade, where the difference is that moving bricks is usually done immediately by computers, and this type of moving bricks usually carries a low-risk feature, regardless of how it goes through a round of currencies, and the risk is that the currency in hand may become worthless when the value of the currency falls, and may also result in losses due to delays that do not capture one side of the list.

值得一提的是,通常因为交易所间的汇款会收取高昂的手续费,也会耗去不少时间,因此如果要进行交易所间的搬砖套利,会同时在两交易所中事先储值好要搬得币种,以利在汇差产生时便即时下单交易。例如如果要在币安与Bitifinex 间进行比特币与USDT 的搬砖,则必须要在两交易所内事先储值好USDT 与BTC,当币安价格高于Bitifinex 时,立刻卖出币安里的BTC,并同时卖出Bitifinex内的USDT。

It is worth noting that, often because of the high transaction fees and the time spent on inter-exchange remittances, if the exchange were to move brick arbitrage, the exchange would have to pre-position the value in both exchanges in order to facilitate a single transaction as soon as the transfer was made. If, for example, Bitfinex and Bitfinex were to move bricks between coins, it would be necessary to pre-position USDT and BTC in both exchanges, and to sell BTC in Bitifinex as soon as the price of the currency was higher than Bitifinex, and to sell USDT in Bitifinex at the same time.

但这里要介绍的是另外一种搬砖方式─交易所之内的搬砖,我们以币安交易所为例,币安交易所上面有四种交易对:BNB/BTC/ETH/USDT,如果交易对间产生价差,便可以透过中间价差来赚取微薄的利润。

But here is another way of moving bricks within the exchange, where, for example, there are four types of transactions: BNB/BTC/ETH/USDT, and where the transaction produces price differentials, we can make small profits through intermediate price differentials.

但实际上还需要扣去交易所交易的手续费,以刚刚提的币安交易所为例,它的手续费约0.1%,以BNB付款的手续费约0.075%,再以注册推荐码反佣20%计算后大约0.06%。(持有500BNB可以反佣40%)。

In practice, however, there is also a need to deduct transaction fees from the exchange, for example, in the case of the currency exchange just mentioned, which costs about 0.1%, in the case of BNB payments about 0.075%, and then in the case of the RIN 20%, in the case of RACs about 0.06%. (with 500 BNBs available 40%.)

交易流程以上图Hello Coin的例子来说,首先以BTC 购入100 Hello,再把手上的100 Hello 转成ETH 卖出,完成一个流程便可以赚到约4% 的价差,而且最后的BTC<-> ETH 交易对在本金足够而且节省手续费的情形下可以不做。以一般人能够取得的币安手续费约0.06%*2=0.12%,只要价差超过0.12%就可以启动自动交易了!

In the case of the transaction flow chart Hello Coin above, first, buy 100 Hello with BTC, then sell 100 Hello with ETH, and complete a process with a price difference of about 4%, and lastly BTC<-> ETH transactions can be avoided if the sum is sufficient and the fee is saved. About 0.06%*2 = 0.12% of the fee is available to ordinary people, and automatic transactions can be started if the price difference exceeds 0.12%!

以上图为例,搬砖利润的计算公式如下

For example, the formula used to calculate the profit from moving bricks is as follows:

ETH Ask/BTC Bid*ETHBTC=0.0026/0.0001*0.04=1.04

能够搬的数量就是

min(BTC Bid Amount,ETH Ask Amount)

实际来看OST曾出现的状况,在这情形下搬一次砖大概有

0.0005341/0.00002175*0.040969=1.006947

0.7%左右的收益!!

About 0.7% of the proceeds!

接着了解基本原理后,便可以把所有的流程都透过程式完成,这里要注意的是,建议使用websocket 而非一般的API来接收数据。websocket 跟一般的API不同的是:一般API需要从本地端发出请求后服务器才会回传资讯,而websocket 就像是订阅制的用户一样,一旦服务器数据有改变,服务器便会自动推播数据到用户端,在时间上自然没有那么即时。

After learning the underlying principles, it is possible to complete all the processes through the program, noting that websocket, rather than the usual API, is proposed to receive data. Unlike the usual API, websocket is that normally APIs need to send requests from local sources before sending information back, and websocket, like subscriber users, automatically transmits data to the user as soon as the server data changes.

来试跑一下程式,你实际上会发现完全抢不到单阿~也可以发现已经有很多组人马在竞标了。因为抢不到单,索性就用市价单去抢看看有没有利润,最后被我顶出这么大一根。

Try running the program, you'll actually find that you can't get a single one. And you'll find that there's already a lot of teams competing. Because you don't get a single one, you use the market price list to find out if there's a profit, and I'll take one of those.

查看了原始数据,因为屡次抢不到,直接用市价单去抢抢看,看能不能加减喝到一点汤,可以发现在23:55:56发生可以套利的价差时,马上有多组机器人进场抢单,很不幸的……..红色框起来的是我,最后一名……

Looked at the original data, because it was impossible to do it again and again, and went straight to the market price list, to see if you could get a little soup on top of it. It was found that, at 23:55:56, when there was a arbitrable price difference, there were several robots coming in, unfortunately & Hellip; & Hellip;..the red frame was me, the last & & Hellip; & Hellip; & Hellip;

为了找寻原因,索性Ping了一下币安的服务器,假设网站跟后台是在同个ip的状况下,延迟大约落在14~57ms中间,似乎有点太高了,或许是这个原因造成的。

In order to find a reason, Soy Ping took a look at the currency server, assuming that the site was in the same position as backstage and that the delay fell between 14 and 57ms, which seemed to be too high, perhaps because of this.

上网查了资料后,可以发现Binance 的主机在洛杉矶,因此在AWS上选了便宜的而且服务器同样在洛杉矶的试用主机,再次Ping了一下币安的主机,延迟降到2.6ms左右。

After checking the data online, it became possible to discover that Binance's mainframe was in Los Angeles, so a cheap pilot mainframe was selected on AWS and the server was also in Los Angeles. Once again, Ping had a currency security mainframe, which was delayed to about 2.6ms.

即使设下了时间差,推播出的时间点跟接受端的时间压到20ms,实际上还是抢不到………任何一笔。

Even if the time difference was set, the timing of the broadcast and the time of the receiving end had run to 20 ms, there was practically no & Hellip; & Hellip; & Hellip; any sum.

仔细想想搬砖这件事情本质上就是Winner takes all.,赢家全拿。只要世界上有任何一个团队在做,而他们拥有相对低的延迟与手续费、甚至是交易所的专有线路,那么所有有利润的套利单通通会被他们垄断掉,一般玩家就跟我一样只能望着市价单兴叹,毕竟在我们看到限价单的时候,往往另一组团队早已完成交易了。

Think about it as Winner takes all. Winner wins all. As long as there is a team in the world that has relatively low delays and fees, and even exclusive lines in the exchange, all profitable arbitrage will be monopolized, and the players, like me, will look to the market, after all the time when we see the price limits, another team has already done the deal.

以上就是什么是数字货币搬砖?搬砖利润的计算公式介绍的详细内容,更多关于数字货币搬砖的资料请关注脚本之家其它相关文章!

What is this? The details of the formula used to calculate the profit of moving the bricks, and more information about moving the bricks in the digital currency, please pay attention to other relevant script house articles!

本站提醒:投资有风险,入市须谨慎,本内容不作为投资理财建议。
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • DDO在新加坡上市真假,欧意交易所能交易数字期权吗?

    DDO在新加坡上市真假,欧意交易所能交易数字期权吗?
    然而,对于DDO在新加坡的列名是否真实存在争议。 据报道,有人质疑DDO的数字选项是否真的上市,其背景是否经过了彻底调查。 首先,有报告说,DDO数字选项清单仅仅是一种宣传手段,没有找到DDO交易的平台,这就对DDO的真正清单提出了疑问。 其次,一些媒体调查了DDO数字选项的背景。 报告显示DDO数字选项发行人声称其数字选项是国家赞助的,但实际上,根据中国人民银行,虚拟货币相关业务是非法金融活动。 此外,DDO数字选项在视频号码等平台上广为传播,吸引了许多信徒的注意,然...
  • Griffin Gaming Partners计划为其第三支基金筹集5亿美元

    Griffin Gaming Partners计划为其第三支基金筹集5亿美元
    Pitchbook引用的6月8日《快链头条新闻》作为监管文件, 指出游戏风险投资公司Griffin赌博伙伴计划为其第三个旗舰基金筹集5亿美元, 比第二个基金少33%。 2021年,格里芬赌博伙伴从Web3游戏开发者Forte获得A回合资金1.85亿美元,并于2022年筹集了第二个旗舰基金,金额达7.5亿美元,此时风险资本家对Web3和加密游戏的热情达到顶峰。...
  • 比过山车还狠!比特币价格再次暴跌

    比过山车还狠!比特币价格再次暴跌
      上周日,比特币的价格创造了3000美元的历史新高,随后就开始各种高台跳水了。Last Sunday, the price of Bitcoin created a record high of $3,000, and then began to dive on all the high platforms.   据外媒报道,本周一,比特币价格一度下跌到2526.4美元,最高跌幅高达14.5%,这创造了2015年1月以来最大跌幅。According to external...
  • 加密货币之王重回王位:比特币飙升至 71,000 美元,还能再涨多少?

    加密货币之王重回王位:比特币飙升至 71,000 美元,还能再涨多少?
    比特币是市场上最大的加密货币,它再次打破了重要的7万美元门槛。 在短短的四舍五入(67,000美元到69,000美元之间)之后,价格在这一水平上遇到了强烈的抵制。 然而,势头的不断增强表明,比特币可能形成一个超过70 000美元的板块,为重新测试下一个抵抗阵地71 300美元和3月份可能攀升到历史最高点73 700美元铺平了道路。 问题仍然是:比特币能否维持预期的上升趋势并继续大幅上升?    分析家预计比特币价格将上升到74,400美元。 加密货币分析师Ali M...
  • 几张图看懂区块链技术到底是什么?https://www.cnblogs.com/behindman/p/8873191.html

    几张图看懂区块链技术到底是什么?https://www.cnblogs.com/behindman/p/8873191.html
    “区块链”的概念可以说是异常火爆,好像互联网金融峰会上没人谈一谈区块链技术就out了,BAT以及各大银行还有什么金融机构都在开始自己的区块链研究工作,就连IBM最近也成立了自己的区块链研究实验室,但其实区块链到底是什么?大家或许并不清楚,停留在雾里看花的状态。从今天开始,就让我们一起走进区块链,揭开区块链的神秘面纱吧!The concept of a block chain can be described as an unusually hot one, as if no...
标签列表