Bitcoin trading by using bots(译文 转载)
只谈交易策略、思路,不谈标的物 !
Bitcoin trading by using bots
使用机器人交易比特币
Making money by trading Bitcoins, Litecoins, Darkcoins and other virtual currencies is a profitable business. But it has a high risk for people who have no strategy and just randomly trade. In the long run they will surely lose their investment. But I managed to double my Bitcoins in 3 month with a trading strategy that I am about to share with you!
交易比特币、莱特币、暗黑币 和其它虚拟币 赚钱 是一个有利可图的生意,但是这个对于没有交易策略和随机交易的人来说有很高的风险。时间一长无疑他们会损失完投资。但是我使用一个交易策略使我的比特币翻倍用了三个月时间,现在我分享给你。
I made up a rather complex but very effective trading strategy that will always work, if applied correctly. You will be able to trade virtual currencies with (almost) no risk and you will know how much exactly you will earn every time. I have programmed a trading bot in PHP for the Bitcoin Exchange, Trading BTC USD, BTC EUR - CEX.IO market that does this automatically and I will publish the source code for free download!
我组合了一个 复杂的 但是总是非常有效的交易策略。如果应用正确,你将可以无风险的交易虚拟币并且随时清楚的知道赚多少钱。我有一个PHP机器人交易程序在 /Bitcoin Exchange, Trading BTC USD, BTC EUR - CEX.IO/ 这个市场 自动的执行。我将会公布开源这个源代码。
The basic concept behind the virtual currencies trading strategy is quite simple:
You calculate how much you can earn from a trade.
这个虚拟币交易策略背后的基础概念是那么简单:
计算你交易能赚取多少。
If the profit is more than 0, and if it is enough for you – then you trade. If the profit is not enough, you skip.
如果收益是 大于0 的,并且如果 对你来说是 足够的收益,可以进行交易。如果收益不足,你可以等待。
You wait a few minutes and start from point 1.
I am lazy and I don’t like to calculate at Step 1, and I don’t like to repeat thing over and over. The bitcoin trading strategy requires some simple math every time you trade and that is why I use a bot to automate the process.
你可以等待几分钟并且从第一点开始。
我比较懒并且我不喜欢计算第一步,我不喜欢重复的事情一遍一遍的做。 比特币交易策略需要一些简单的方法随时交易,这就是为什么 我使用 机器人去自动化处理。
The idea behind the bitcoin trading strategy
To explain how my strategy works I will build up the idea in steps – starting from the basics
这个比特币交易策略背后的思路
我将会从最基本逐步建立思路流程来解释我的策略是如何工作的。
Step 1
Imagine that you have 1 Bitcoin. You sell your Bitcoin to buy Litecoins. You sell the Litecoins to buy Darkcoins. You sell the Darkcoins to buy Bitcoins. If you pay no transaction fees and taxes, at the end you will have 1 Bitcoin again.
第一步
想象一下 你有一个比特币,你卖出你的比特币 去买入莱特币,你卖出得到的莱特币去买入暗黑币。你卖出暗黑币再买入比特币。如果你交易没有 费用和税 在最后你还是持有一个比特币。
So basically you trade:
1 BTC → LTC → DRK → 1 BTC
所以基本上说你的交易是:
1 比特币 -》 莱特币 -》 暗黑币 -》 1 比特币
Step 2
The statement in Step 1 would be correct in a perfectly balanced, high demand market with no taxes. But the real market is not like that. Imagine that the market has no taxes but the supply and demand on the market will change over time and this will cause a dis-balance in the prices at certain moments. So at the end of the trade you will not get exactly 1 Bitcoin. You will get a little more or a little less. For example:
第二步
第一步的正确是在一种完美的平衡场景中。高需求的市场没有税,但是真正的市场不像那样。想象那样的市场没有税但是供给和需求在市场上将随着时间推移改变并且在一定时间产生价格的不平衡。所以在最后你交易时你不会获取到恰好一个比特币。你将会获取多一点 或者 少一点。举个例子:
1 BTC → LTC → DRK → 0.998 BTC (in this case you lose a little)
1 比特币 -》 莱特币 -》 暗黑币 -》 0.998 比特币 (在这个例子中你 损失了一点儿比特币)
But you can trade the currencies in another sequence and earn a little bitcoins
但是你可以按另外一种路径交易并且赚取一点比特币。
1 BTC → DRK → LTC → 1.002 BTC (in this case you earn a little)
1 比特币 -》 暗黑币 -》 莱特币 -》 1.002比特币 (在此例子中你赚取一点儿比特币)
So there are 2 ways to trade your Bitcoins and in the first case you lose a little and in the second you earn a little. You can check the prices on the market and calculate in which case you will earn, and how much exactly. If the profit is enough for you – then you can trade. Then you can repeat many times to earn more Bitcoins!
所以这里有2条路径去交易你的比特币并且第一条你亏损一点,第二条你赚一点。你可以检查市场上的价格并且计算哪条路径你可以赚钱,赚多少钱。如果收益对你来说足够,你可以去交易。
然后你可以重复多次去赚取更多的比特币。
Step 3
The statement in Step 2 would be correct in a high demand market with no taxes. But the real market has some trading fees.
But you can still make profit. Lets assume that you choose to trade:
第三步
在第二步在一个没有税的高需求的市场是正确的。 但是在实际市场中是有一些费用的。
但是你仍然可以产生利润。让我们假定你选择交易:
1 BTC → DRK → LTC → 1.002 BTC
In this case your earn 0.002 BTC, before trading fees
You can calculate how much are the trading fees:
For example the fee could be: 0.01% for transaction, and you have 3 transaction.
Fees = 3 x (0.01% * 1 BTC) = 0.0003 BTC
You subtract the fees from the earnings and in this case your earn 0.002 – 0.0003 = 0.0017 BTC.
1比特币 -》 暗黑币 -》 莱特币 -》 1.002比特币
除去交易费用之前,在这个例子你赚取0.002比特币。
你可以计算出来交易费用是多少:
举个例子 交易费率是 0.01% ,你有三次交易。
费用 等于 3 乘以 0.01% 乘以 1比特币 等于 0.0003 比特币
在这个例子中,你从赚取的比特币中减去费用,你仍然可以赚取 0.002-0.0003 = 0.0017比特币
Step 4
The statement in Step 3 would be correct in a high demand market, which changes slowly. But the real market changes fast! What you want to trade is:
第四步
在第三步如果是在一个高需求变化慢的市场中是正确的。但是实际市场变化很快!你想进行的交易:
1 BTC → DRK → LTC → 1.002 BTC
1比特币 -》 暗黑币 -》 莱特币-》 1.002比特币
But while you trade the Bitcoins to Darkcoins, the price of the Litecoins has changed and has ruined your strategy. What you actually get could be:
但是当你交易比特币兑换暗黑币的时候,莱特币的价格发生了改变并且破坏了你的策略。事实上你可以这么做:
1 BTC → DRK → LTC → 0.995 BTC
But there is a simple workaround. You need to have 3 BTC:
1 BTC + Darkcoins of value 1 BTC + Litecoins of value 1 BTC = 3 BTC
This way to can make 3 transactions at once, without waiting:
1 BTC → DRK
Darkcoins of value 1 BTC → LTC
Litecoins of value 1 BTC → 1.002 BTC
1比特币 -》 暗黑币 -》 莱特币 -》 0.995比特币
简单的解决办法是你需要有3个比特币:
1比特币 + 1个比特币价值的暗黑币 + 1比特币价值的莱特币 = 3比特币
这个办法可以使三次交易同时进行,不用等待。
1比特币 -》 暗黑币
1比特币价值的暗黑币 -》 莱特币
1比特币价值的莱特币 -》 1.002比特币
These 3 transactions will be practically an equivalent of the initial idea, but you run them simultaneously. The combination of these transaction will give you the profit in Bitcoins.
这三笔交易实际上将会等价我们最初的想法。但是你是同时运作他们,这些组合交易将会给你赚取比特币。
Final notes on the trading strategy:
Lack of supply and demand can ruin your strategy. If there is nobody to buy your Darkcoins in the next 15 minutes, the price may change and ruin the deal. Choose currencies that have a stable supply and demand.
最后 在交易策略上注明
缺乏供给和需求会破坏你的策略,如果接下来15分钟没有人去买你的暗黑币。价格可能改变并且破坏这次交易,选择具有稳定供给和需求的币种。
You have to act fast because if you calculate your profit for 2 minutes, the market may change! Make use of a trading bot.
I have programmed a trading bot in PHP for the Bitcoin Exchange, Trading BTC USD, BTC EUR - CEX.IO market that does this automatically and I have publish the source code for free download.
You can use this strategy with any currency. Good luck!
你不得不行动迅速因为如果你计算你的盈利后2分钟市场可能发生变化,创造并使用一个交易机器人吧。
我有一个 PHP程序化交易机器人 用于 Bitcoin Exchange, Trading BTC USD, BTC EUR - CEX.IO 这个交易所自动执行。并且 我公布开源。
你可以用这个策略在任何 虚拟货币交易上,好运!
译者:
第一次翻译,很渣 >_<
说下思路:
这个交易思路实际就是 币币对冲,可以扩展成三角、四角、N角对冲,原文作者用很通俗的语言一步一步讲出了这个策略的思路,让我们看到复杂的 多币种对冲原来是这么个套路。
看到这,我在想,直接在BotVS上实践出这个策略,直接写交易逻辑就OK了。自己维护模拟账号来实盘跟测一下,想赚钱,需要克服的还有滑点问题。
转载自 CreditStocks