Author

Topic: [BOT] Altcoin Arbitrage Trader [sold out] (Read 1877 times)

newbie
Activity: 42
Merit: 0
August 20, 2014, 05:47:58 AM
#2
Update 08-07-2014

As you see on the live-page, the BTC amount has decreased. The bot has determined which altcoins are profitable and spent the first 0.1 BTC to buy them to allow arbitrage trading. I manually added the Poloniex deposit-addresses as trusted addresses at Cryptsy for these coins now. This allows the bot to transfer funds between wallets.

So you should see the graph to go up from now on. Some of the profits are reinvested in buying more altcoins. But the general direction should be upwards now.

Update 08-09-2014

The live-page shows the overall balance to got up from ~0.1 BTC to ~0.13 BTC. Thats 30% in 48h. The recent dip resulted from a "restock"-event that bought some CNL. CNL had 18 arbitrage opportunities in the last days.

You can also see that the bot sold BTCD, as the exchange rates for this coin is going up. This nearly compensated for the drop.

Unfortunately Cryptsy delivers many "500 Server Errors" at the moment. Let's hope they fix these issues soon. Last night were some hours where no trades were possible due to these errors Sad

Update 08-11-2014

The combined wallet balances are aroung 0.17 BTC now. This means that the bot nearly earned its initial altcoin invest (0.1 BTC) in less than a week. This gives you an estimate how long it takes to gain ROI when buying a bot license.

Three licenses have been sold so far.

At the moment the API access to Cryptsy seems to be blocked by its DDOS protection Incapsula. I have opened a support ticket and the bot will remain offline until the API access is reliable again. I will update the address to the live view then.

Update 08-12-2014

Cryptsy is operational again and the bot has resumed trading.

Five licenses have been sold.

Update 08-15-2014

The bot is still trading (205 arbitrage trades since its launch) and since yesterday there are more coins in the wallet then I transfered to the exchange. The bot keeps buying new altcoins to increase chances for arbitrage trades, so don't expect a too steep raise of BTC.

Taking into account the value of altcoins bought so far, the bot is at 0.30128388 BTC. This is a nice 0.10128388 BTC raise within a litte more than a week.

Update 08-19-2014

The bot is still running and earnings its profits. However, the server is running on a EC2 micro instance and cannot support more than 10 or 15 watchers in parallel. This caused the database to crash.

Update 08-20-2014

Last license sold. Thank you for reading!

Regards,
Sebastian
newbie
Activity: 42
Merit: 0
August 12, 2014, 04:38:08 AM
#1
Hi everyone,

I'm offering a bot to earn some BTC through arbitrage trading between Poloniex and Cryptsy. I've been developing and using this bot since May and I got some decent profits from it.

The bot checks for altcoins, which are traded on both exchanges and compares their prices. If the difference is big enough to earn at least some satoshis (after deducting transfer fees), it enters the trade.

Wow. I could code this within two hours by myself...
Yeah, right. No big deal until here. The difference of this bot compared to a selfmade 2-hour bot is its ability to manage the wallets. This bot is designed to minimize the manual effort you have to invest.

The bot records its activities and exchange rates in a database and uses this information to reinvest a portion of its profits into the most profitable (in terms of arbitragable) altcoin. Additionally, the amount of held altcoins is calculated based on their exchange rate. This allows the bot to profit from hyped (PnD) coins. Managing the flow of BTC and altcoins between the two exchanges (And the profits to a configurable wallet) is an additional feature.

Can I see it in action?
I moved the bot to a Amazon EC2 micro-instance and started it with a fresh account and a fresh balance. You can see its trading activity here: http://54.75.161.34/

IMPORTANT: Please don't keep the page open for too long. As it is an EC2 micro-instance the database fails when more than 10 people are watching. Thanks.

Please note: I started with a fresh database and fresh accounts. I seeded the wallets with 0.1 BTC each (which should arrive within the next hour). The bot needs to learn which altcoins are profitable before it starts to invest in them. It should take around 48h before first profits can be seen.

(All BTC above 0.5 BTC are sent to the "profit wallet" every 6 hours. So don't be confused that the balance doesn't raise above this bar.)


So why are you selling this bot, instead of getting rich from it?
The main reason is the rate-limit for the requests to the exchanges. Due to the amount of traded altcoins and the required pause between requests (to prevent getting blacklisted) it takes several minutes to check every pair. This causes missed opportunities, as these usually only exist for a few seconds. To fix that I would need more instances of the bot on different machines with different IPs, different accounts and API keys. I tried that with three accounts, but it took a reasonable amount of time to manage everything. The earnings were higher but I decided it wasn't worth the time and I began to get confused with the different accounts, 2FA and coin-addresses. Additionally, I didn't want to get banned from the exchanges by using multiple accounts.

Instead I started to change the code in a way that other people could use it (By adding configuration files and stuff).


So it makes more work than it earns?
If you pay someone to manage and maintain the bot - yeah. If you manage it yourself in your free time - no. Typically involved work is to regulary check if there are disappeared altcoin-balances or stuck deposits/withdrawals (Unfortunately I had this happen on both exchanges more than once and a support ticket had to be opened to fix it). You need to enter transfer fees for new traded altcoins into the config file. Cryptsy requires you to approve new withdrawal-addresses with your 2FA. And some more administrative stuff (database backup, etc.).


What is required to operate the bot?
You need a computer that is able to execute PHP-scripts and to host a MySQL database. This could be your home computer, a Raspberry Pi or a VPS. I use a Amazon EC2 micro-instance. For the Web UI you need a webserver (Apache, nginx, ...). I will provide setup instructions and all required configuration files. I will also provide basic support if something doesn't work.


So when 20 people operate this bot the opportunities to do an arbitrage trade are nearly nonexistent?
Correct. However, I will only sell up to 8 licenses for this bot. As I want to continue operating this bot for myself (to generate a steady income stream), I have no interest to destroy the arbitrage opportunities for myself.


How can I am sure that this bot doesn't steal my coins?
It's PHP. You can check for yourself if the code does crazy stuff. Additionally, to prevent interfering with you conventional trading, you should start with a new and fresh account on each exchange and only transfer small amounts of BTC in.


Will this bot make me rich?
No.


Will this bot get me a steady income?
At least for some time. There can always happen unforseeable things in the future, which may prevent the bot from working. The exchange could get hacked. The exchange could close its doors. Someone other builds a better bot and catches all the opportunities.


How much can I expect to earn?
Just to make this absolutely clear: I cannot guarantee that you will earn anything with this bot. For me it generates a steady income (Look at the provided link above for a running live-bot). However, trades may also fail and it cannot be guaranteed that you make a profit every day. As your copy of the bot sees the orderbooks at different times than mine, you cannot expect to see the same results. You may perform better or worse.


How much does it cost?
I think 0.5 BTC is a fair price as there were a few dozen hours of work put into it. This includes the bot with configuration files and setup instructions. Future updates are also included (Exchange API changes or new features/improvements). If you are interested in purchasing the bot, please send me a PM with a (realistic) offer. If you want an escrow, please provide one.


Can I get it cheaper and give you a part of the profit?
The problem is that I cannot check how much profit you made without having access to your exchange account. That would be the only reliable source (as the database-backend with the trade records could be manipulated). Maybe some day in the future I may implement something to provide that way of payment, but not today.


What do all these boxes on the Web UI mean?
The big center box contains the 48h history of the BTC balance in both wallets. On the right side are the wallets at the exchanges (P for Poloniex, C for Cryptsy). The numbers in parantheses are the number of times this coin has been traded, the number of times there was a arbitrage opportunity (which may or may not have been filled due to missing funds, etc) and the amount of coins the bot wants to buy or sell.

The four boxes in the next line contain a list of the recent trades, wallet management activity (Buying / Selling altcoins), coin transfers between wallets and a countdown to some internal events: consolidate (Even out the wallets and sell unneeded coins), take-profit (Move profits to private wallet), balancing (even out the BTC wallet) and restock (Buy new coins).

The last box contains the log messages from the last 30s.

Regards,
Sebastian
Jump to: