BitShares Forum

Main => General Discussion => Topic started by: monsterer on July 18, 2015, 09:19:36 pm

Title: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 18, 2015, 09:19:36 pm
I don't have time to code this myself, so I'm gonna make a 40k 80k 160k  BTS bounty for a metaexchange->shapeshift->blocktrades arbitrage bot.

It should automatically work out if there is a profit to be made through arbitrage between each of the instant exchanges and then actually be able to make the trade (by sending funds from the relevant wallet) and record the actual results (by monitoring wallets and exchanges) along with the expected result in a mysql database.

Blocktrades.io doesn't have an official API, so the author will need to use cunning to get this to work :)

edit: oh, and this should be made open source as well, github
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: Riverhead on July 18, 2015, 10:16:38 pm

It's in the works if I ever get time to work on it  :'( Well, not the MySQL tracking but...it's a good idea.
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: GChicken on July 19, 2015, 02:36:49 am
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: openledger on July 19, 2015, 07:29:00 am
I don't have time to code this myself, so I'm gonna make a 40k BTS bounty for a metaexchange->shapeshift->blocktrades arbitrage bot.

It should automatically work out if there is a profit to be made through arbitrage between each of the instant exchanges and then actually be able to make the trade (by sending funds from the relevant wallet) and record the actual results (by monitoring wallets and exchanges) along with the expected result in a mysql database.

Blocktrades.io doesn't have an official API, so the author will need to use cunning to get this to work :)

edit: oh, and this should be made open source as well, github

For now we have the instant order trdaing option installed on btc pairs, and our next step is adding instant order funktion for bitusd and bts, this infor just to let you know that there are alternatives in the works, and they will of course be an active asset in the future ccedk wallet version.
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 19, 2015, 11:15:46 am
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

Try sending  dannotestein a PM :)
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: xeroc on July 19, 2015, 04:41:10 pm
This project may be work a look and upgrade:
https://github.com/jkbrzt/cointrol
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: cylonmaker2053 on July 19, 2015, 05:02:31 pm
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

whoa, this is worrisome...anyone have an idea why??? i'm going to reach out to their customer support. has anyone already done that?
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: dannotestein on July 19, 2015, 05:14:26 pm
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

whoa, this is worrisome...anyone have an idea why??? i'm going to reach out to their customer support. has anyone already done that?
Don't let it bother you too much. We've been handing out the API to anyone who wants it, we just don't have it officially published on the site because of upcoming minor changes to it. Once we've released those changes (should be in the next few days), we'll publish an extremely well-documented system for the API (better than the one's we've had to wade thru for the exchanges we're hooked up to).
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: Riverhead on July 19, 2015, 05:21:32 pm
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

whoa, this is worrisome...anyone have an idea why??? i'm going to reach out to their customer support. has anyone already done that?

ShapeShift will go offline if liquidity is too low. Since they are a reseller they can only sell what they can buy at the time of purchase. Wouldn't lose any sleep over it.
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: dannotestein on July 19, 2015, 05:42:24 pm
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

whoa, this is worrisome...anyone have an idea why??? i'm going to reach out to their customer support. has anyone already done that?

ShapeShift will go offline if liquidity is too low. Since they are a reseller they can only sell what they can buy at the time of purchase. Wouldn't lose any sleep over it.
Heh, I think I misinterpreted gchicken's post, guess I need some more sleep :-)
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: cylonmaker2053 on July 20, 2015, 02:22:18 am
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

whoa, this is worrisome...anyone have an idea why??? i'm going to reach out to their customer support. has anyone already done that?

ShapeShift will go offline if liquidity is too low. Since they are a reseller they can only sell what they can buy at the time of purchase. Wouldn't lose any sleep over it.

oh wow, ok...didn't realize our volume was that pitiful these days.
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: sudo on July 20, 2015, 06:58:46 am
 instant order trdaing option is awesome
Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: cylonmaker2053 on July 20, 2015, 01:14:51 pm
instant order trdaing option is awesome

esp if no account needed
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 22, 2015, 06:57:56 pm
Upped the bounty to 80k BTS
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: mindphlux on July 22, 2015, 08:17:14 pm
I wrote an arbitrage bot (in PHP) couple of years ago to trade between various bitcoin/altcoin exchanges.. it may be adapted, but I lack the time for this..
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: xeroc on July 23, 2015, 08:12:11 am
I would recommend writing a plugin for MetaExchange, CCEDK, and BitShares for Xchange
https://github.com/timmolter/XChange
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 23, 2015, 08:47:14 am
I would recommend writing a plugin for MetaExchange, CCEDK, and BitShares for Xchange
https://github.com/timmolter/XChange

I'm not sure it will be possible to integrate with that library, as it's for authenticated type exchanges. Also, we need something which can connect to local wallets and send funds.
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: GChicken on July 23, 2015, 09:37:06 am
Hi Guys,

Just revisiting this and found that SS is still offline :(, has anyone contacted their support?

Liquidity doesn't look too bad from what i see on the centralized exchanges
http://imgur.com/gj2j9D1

*Poloniex is only feeding me 10% worth of buy/sell data (that's why sell volume looks a bit flat from 10-30%) but that also mean that between bter and bittrex (which provide there whole order book) that there is 9BTC worth of buy pressure  between 10-30% and barely any sell pressure
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: GChicken on July 23, 2015, 09:37:48 am
btw, when do i become a Jr member??
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 23, 2015, 10:34:30 am
Please note: this bounty is not for a general arbitrage bot, but a specific one which works with instant exchanges: shapeshift, metaexchange and blocktrades.

shapeshift and metaexchange both support NXT as well as BTS.
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: lakerta06 on July 23, 2015, 11:32:26 am
btw, when do i become a Jr member??

After some number of posts I guess. But dont spam, spams are deleted :)
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: GChicken on July 24, 2015, 12:39:15 am

updated the api call to Poloniex to take in more data, so now the pic below has full orderbook data from Poloniex, bter and bittrex combined.

http://imgur.com/tnDeoZa

Title: Re: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 30, 2015, 07:09:13 am
Bounty increased to 160k BTS
Title: Re: [Bounty] 80,000 BTS for an instant exchange arbitrage bot
Post by: EstefanTT on July 30, 2015, 01:46:30 pm
btw, when do i become a Jr member??

At 50 there is a change but I don't remember which.
Title: Re: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: GChicken on July 31, 2015, 05:41:02 pm
@monsterer - with ME api is there a method to lock in an exchange rate other than buying off the order book? are order prices locked in once a pending TX has been seen or order price calculated once the TX has been accepted into a block and processed?
also is there an ability to create a withdraw with a memo e.g BTS deposits go to an account with a memo so if i wanted to go BTC-BTS(ME) -> BTS-BTC (SS) it would require me to create a withdraw on ME including a memo provided by SS.. or am i missing the point and we are actually trying to go the other way BTS(wallet) -> BTS-BTC(ME) -> BTC-BTS(SS) ->Wallet.

also I noticed you were selling BitUSD for .55 cents per BitUSD :) good price although was only for ~30 seconds... BTC-BitUSD exchange did not process at that price - but would be interested to know what made the price display so low(API and Website displayed the same price) (Screenshot - http://imgur.com/09OomRI)

I would like to build this but cant get my head around all the order types and processes. e.g SS will only give you a good price if you fix the amount to be deposited otherwise the rate is pretty bad. on that note you seems to have very competitive price every time i update so kudos for that!
Price Comparison: http://imgur.com/z42sgGm

Title: Re: [Bounty] 40,000 BTS for an instant exchange arbitrage bot
Post by: GChicken on July 31, 2015, 05:44:07 pm
BitShares and BitUSD are currently offline at shapeshift.io :(

any hints as to if blocktrades.us has an unofficial API?

whoa, this is worrisome...anyone have an idea why??? i'm going to reach out to their customer support. has anyone already done that?
Don't let it bother you too much. We've been handing out the API to anyone who wants it, we just don't have it officially published on the site because of upcoming minor changes to it. Once we've released those changes (should be in the next few days), we'll publish an extremely well-documented system for the API (better than the one's we've had to wade thru for the exchanges we're hooked up to).

Agreed sometimes people dont make it easy :) - could you point me in the right direction for the api docs if they are available, or send me a PM with where i might find them. - Thank you
Title: Re: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on July 31, 2015, 07:39:09 pm
@monsterer - with ME api is there a method to lock in an exchange rate other than buying off the order book? are order prices locked in once a pending TX has been seen or order price calculated once the TX has been accepted into a block and processed?
also is there an ability to create a withdraw with a memo e.g BTS deposits go to an account with a memo so if i wanted to go BTC-BTS(ME) -> BTS-BTC (SS) it would require me to create a withdraw on ME including a memo provided by SS.. or am i missing the point and we are actually trying to go the other way BTS(wallet) -> BTS-BTC(ME) -> BTC-BTS(SS) ->Wallet.

There isn't a way to lock in the rates - you just have to hope the price doesn't move so fast in 7 mins for a buy order - sells are generally much faster. Sell orders go to a BTC address, so no memo is possible. Buy orders have to use our memo, obviously. Not sure you actually need what you are asking for?
Title: Re: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: xiahui135 on August 01, 2015, 02:55:05 am
there are several instant exchange bot in Nxt forum.  they can do arbitrage between different exchanges.
why not talk to them, and do something together?
Title: Re: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: lastagile on August 02, 2015, 03:02:53 am
What is the CC? is it a open source project ? seems interesting
Title: Re: [Bounty] 160,000 BTS for an instant exchange arbitrage bot
Post by: monsterer on August 02, 2015, 10:25:29 am
What is the CC? is it a open source project ? seems interesting

CC?

The bounty is for this to be open-source - the idea being anyone can and should use it.