Hot answers tagged

10

Building trading bots that interact with the exchanges is very similar to interacting with other RESTful APIs. Basically, you make query objects to whichever exchange you like to use. Here is a simple example: https://github.com/AdamCox9/nickelbot/blob/master/adapters/poloniex/poloniex_lib.php Nickelbot is development platform written in PHP that has all ...


6

That's exactly the service https://www.bitinstant.com/ provide, it should be fairly simple and I think they and mtgox have the API necessary to do this by a bot.


6

Since you originally stated that you wanted to write a trading bot, perhaps you will find the following library useful: "XChange is a Java library providing a simple and consistent API for interacting with over a dozen Bitcoin exchanges providing a consistent interface for trading and accessing market data" (according to their GitHub page) Unfortunately, ...


6

Problem solved. The error is caused by too many decimal places in the rate parameter. It would be good if the API returned a more informative error message though. There is an API call to find the correct maximum number of places, as well as the minimum order for each currency pair. https://btc-e.com/api/3/info returns a list of currencies and information. ...


5

ga bitbot from the project page: ga-bitbot is a distributed genetic algorithm tuned automated mtgox trading system for Bitcoin which includes market data collection, gene client/server, reporting tools, and automated trading. The intention of this project is to create a high frequency capable trade platform for the bitcoin p2p currency. bitcoin ...


4

Each site has its own set of apis and documentation, I don't think it's likely that you'll find a single site with a complete set of APIs. Here are some links to get you started: coinbase.com/api/doc


4

Yes the BTC Robot is a scam. I bought 10 bitcoins when the price was $140 a coin. I used the robot and it brought my bitcoin number down to 2.774 as it made more losing trades than winning trades. I turned it off when I realized what was happening. Despite of this I didn't lose money as the bitcoin price kept rising. If I had simply held my coins and not ...


4

You can write your own bot in any modern programming language using the BTC-e API. Also MtGox, Bitstamp, Bitcoin-24 and probably more popular exchanges support this. These API's mostly give you the possibility to track the price, the market depth and place orders, making easy for you to implement your own trading bot.


4

Mtgox uses a multi currency trading engine that matches trades between the different currency pairs. All trades are drawn from the one pool. Trades in one currency are matched against trades in another currency using ECB exchange rates, and tacking on a 2.5% fee. See Mtgox FAQ for further info: https://support.mtgox.com/entries/20800336-Multi-Currency-...


4

I wrote a simple market maker bot in Python: https://github.com/chrisacheson/liquidbot This software allows you to place orders on MtGox market. Liquidbot uses ezl's wrapper code to interface with MtGox: https://github.com/ezl/mtgox Aricie runs a hosted market maker bot platform: https://dnnbitcoin.aricie.com/default.aspx


4

Transferring bitcoins is usually free. You just need to wait around 1 hour for confirmations from the network. Transferring USD is fairly easy if the exchanges support Bitinstant (currently it is only available at MtGox, TradeHill and CryptoXchange). Bitinstant transfers usually takes less than a minute and cost around 1%. If the exchange doesn't support ...


4

Finally, after 7 days of waiting, I got this answer from Bittrex: Your account has been re-enabled. "Your account was disabled for API-ABUSE. Please refrain from making more than 1 request per second or you can expect your account will be disabled again" Now you now it too, fellow bot-users: no more than 1 request per second ! HTH


4

promising 13k a day It is almost certainly a scam. Stay well away from this. I need to play it safe ... I simply cant afford Don't invest in volatile high-risk products such as crypto-currencies.


3

This is why there are some juicy arbitrage opportunities between the exchanges when the prices are volatile -- few traders keep much cash idle in different exchanges so when the price rises as the result of a whale at Mt. Gox, exchange rates at the other exchanges might lag until either new funds are transferred or the sellers wake up and readjust their ...


3

So you want to limit your bot strictly to gdax? There are some libs providing abstraction layers from a specific exchange. One example is https://github.com/timmolter/XChange This becomes very helpful once you want to make trades on more than 1 exchange.


2

The force keeping the exchange rates of various currencies in balance is the same force keeping the exchange rates the same across multiple exchanges: Arbitrage. When the value of Bitcoin is different enough that one could buy cheaply for one currency then sell for a profit in another, or in the same currency across multiple exchanges, people will do just ...


2

You can try this one also https://github.com/rokj/bitcoin_dealer. From the README file on the repo: Bitcoin dealer is simple Django program (trading bot) for trading bitcoins currently only on MtGox exchange. Bitcoin dealer supports MtGox API version 1 with following currencies: USD, EUR, GBP, PLN, CAD, AUD, CHF, CNY, NZD, RUB, DKK, HKD, SGD, THB, JPY and ...


2

It doesn't look like he ever released any code. I think StorJ was more a concept than anything else. The whole autonomous self-replication thing is probably a long ways off, but it's a neat idea.


2

The key steps you outlined for creating a cryptocurrency trading bot are correct. As for the daunting tasks you can also take a look at my ccxt library from GitHub. It allows to skip steps 1-3 and proceed directly to step 4 (creating your algorithmic trading strategy). But that depends on your development environment and your technical requirements. The ...


2

I would not say it's a scam because it does actively trade bitcoins, however the claims are not substantiated and in fact it has performed very poorly. I had a $500 account at approximately $100 per bit coin and now the current portfolio value: is 949.02 USD with bitcoins trading at $940.79 on MtGox, $838.24 on BTC-e, $838.88 on Bitstamp. I'll do the math -...


2

Isn't the purpose of the blockchain to avoid issues with transaction integrity, such as duplicate transactions? Trades on an exchange do not happen on the blockchain. Those transactions are not Bitcoin transactions; they are internal to the exchange and are just updates to the exchange's internal database. Because of this, duplicate transactions could ...


2

Ehthereum Code is definitely get rich quick crypto scheme. They are now using fake news to promote this system. There is no technology just random variables that pop up. A quick search for Ethereum Code Scam Gal Gadot reveals how they operate and bait victims.


1

Check the Bittrex api page. The buyLimit endpoint says that the rate must be the rate at which to place the order. In order to get the current ask price, use the getticker api which will return something like: { "success" : true, "message" : "", "result" : { "Bid" : 2.05670368, "Ask" : 3.35579531, "Last" : 3.35579531 ...


1

I've just found the concept for this practice and wanted to share: https://en.wikipedia.org/wiki/Arbitrage In economics and finance, arbitrage is the practice of taking advantage of a price difference between two or more markets: striking a combination of matching deals that capitalize upon the imbalance, the profit being the difference between the market ...


1

Nobody knows whether Bitfinex is insolvent or not. As a result, dollars at Bitfinex are worth less than dollars at other exchanges. This accounts for the price difference you see. To exploit this difference, you would have to send dollars to Bitfinex and command them to make what appear to be fraudulent transfers on your behalf. See this article for more ...


1

You have the basic steps down. You can cut out #1 since your wallet will likely be the on the exchange you are trading on. #4 is the hardest part, at least if you are trying to make money! Overall your question is pretty broad, but I did do a walk-through video on creating a simple trading bot earlier this year on youtube. https://youtu.be/rky1EnDqmhI?t=...


1

In a normal exchange, you have an order book of buys and sells. Usually, they don't cross over, that is, if the highest buy is 219, the lowest sell will be higher than that. What you're doing is buying at market (aka market order) so any buys you do simply match the lowest sell and any sells you do simply match the highest buy. Whenever the two cross, they ...


1

Unless we can see exactly where the bots are operating and exactly how the propagate their transactions, we'll never know exactly how one bot wins over another on addresses where the private key is known. However, we can guess on how they win: These bots are run by miners. As soon as they get a transaction that outputs to a known address, they immediately ...


1

I'm going to give a general answer here and say any off the shelf BTC trading software is not going to be profitable. Why? Because there's absolutely no reason a functional trading bot would be sold when it could be used to generate income. Profitable bots would be custom made and not advertised. Any claims made are dubious at best on these websites.


1

The normal approach is as you suggest, to update the average regularly - that's pretty much the definition of a moving average. For example Bollinger Bands are a similar metric and use a moving average which is continually updated. A true moving average would be updated with every trade made but it makes sense to break it down into periods of 30 seconds or a ...


Only top voted, non community-wiki answers of a minimum length are eligible