Questions tagged [mtgox]

Mt.Gox is an established Bitcoin exchange. The MtGox API provides methods to access information from the market, place orders, and more.

Mt.Gox is an established Bitcoin exchange. You can quickly and securely trade bitcoins with other people around the world with your local currency

The MtGox API provides methods to access information from the market, place orders, and more. Two APIs are currently available:

  1. HTTP API

  2. Streaming websocket API

20 questions
31
votes
5 answers

HttpWebRequest.GetResponse() keeps getting timed out

i wrote a simple C# function to retrieve trade history from MtGox with following API call: https://data.mtgox.com/api/1/BTCUSD/trades?since= documented here: https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1#Multi_currency_trades here's the…
symbiont
  • 1,428
  • 3
  • 21
  • 27
2
votes
1 answer

Are there ready made Java classes for the MtGox/PubNub JSON API?

I'm using the Pubnub API with Java for pulling data from MtGox. I would like to do the following, where Message is the 3rd party class that I'm looking for: public void successCallback(String channel, Object message) { JSONObject messageJson =…
Daniel S.
  • 6,458
  • 4
  • 35
  • 78
2
votes
0 answers

MtGox socket.io streaming

MtGox Streaming API is down or is something wrong with the code? I used this example https:// bitbucket.org/nitrous/mtgox-api/src/004c254993963baeb239ac7ac7f676b5024fc93f/socket/ws.client.html?at=master You can test here…
VladMarius
  • 23
  • 1
  • 6
2
votes
2 answers

Authenticated Commands With MtGox's Streaming API

I am using nodejs with socket.io-client to connect to the MtGox Streaming API described here: https://en.bitcoin.it/wiki/MtGox/API/Streaming#Authenticated_commands The examples are written in php and I tried my best to convert them to JS but I keep…
Daniel
  • 149
  • 2
  • 7
2
votes
2 answers

Problems Connecting to MtGox API 2 with Python

I am writing a trading program that I need to connect to MtGox (a bitcoin exchange) through the API v2. But I keep getting the following error: URL: 1 https://data.mtgox.com/api/2/BTCUSD/money/bitcoin/address HTTP Error 403: Forbidden. Most of my…
user522048
  • 61
  • 1
  • 3
2
votes
2 answers

Accessing Mt Gox API via http-conduit-0.1.9.3: query string causes timeout

I'm trying to access the Mt Gox REST API using http-conduit. Queries that just have a path (e.g. https://data.mtgox.com/api/2/BTCUSD/money/ticker) work fine, but when I add a queryString to the request it times out. So this works: mtGoxRequest ::…
Paul Johnson
  • 17,438
  • 3
  • 42
  • 59
1
vote
0 answers

Invalid values from Mt. Gox websockets API

I'm trying to use websockets Mt. Gox API to get the recent quotes for the USD currency. So, i write the following code that connects to "ws://websocket.mtgox.com:80/mtgox" and listens for the messages. #include…
FrozenHeart
  • 19,844
  • 33
  • 126
  • 242
1
vote
0 answers

Websocket - Connecting to a stream in Visual Basic

I'm working on a project that will need real-time data from a website called MtGox.com. It is a market place for bitcoins. It has two options for obtaining current markets data, including buy/sell orders active for the virtual currency (Bitcoins -…
Andy Visser
  • 95
  • 1
  • 11
1
vote
1 answer

Authenticated call to MtGox WebSocket API in Python 3

I'm trying to authenticate with the MtGox.com WebSocket API and after a long while managed to complete the required "call" attribute of the JSON data. However, I realized that I was using Python 2 to run my codesample and the application the API is…
erb
  • 14,503
  • 5
  • 30
  • 38
1
vote
0 answers

403 response when trying to post request to MtGox api

I am getting a 403 error so I know it probably has to do with authentication, but I just can't seem to figure it out. I've been pretty much following the directions on the website https://bitbucket.org/nitrous/mtgox-api/overview, but to no avail. As…
Paul
  • 1,106
  • 1
  • 16
  • 39
1
vote
2 answers

How to add headers when connecting to a websocket in Haskell

I'm trying to create a WebSocket client to connect to an existing server (mtgox api). As a starting point, to figure out connecting to WebSockets, I found this example code https://github.com/jaspervdj/websockets/blob/master/example/client.hs The…
Peter Hall
  • 53,120
  • 14
  • 139
  • 204
1
vote
2 answers

Getting date/time from Mt. Gox's "now" value using socket.io?

I connected to https://socketio.mtgox.com/mtgox using socket.io (https://socketio.mtgox.com/socket.io/socket.io.js), and it returned an object that looks like this: { exchange: 'mtgox', buy: 106.54693, sell: 106.99653, last:…
Tylor
  • 13
  • 2
1
vote
1 answer

Highcharts will not display data

I am pulling data from the mtgox api, I can see in my console that all the data is reaching my chart correctly. However, I cannot get the data to display on my chart. Any help is appreciated thanks. var now = new Date(); …
evann
  • 93
  • 1
  • 13
0
votes
1 answer

How to tie a coinbase callback back to the customer on your site?

Both MtGox and Coinbase offer these extremely easy to copy/paste JavaScript buttons to accept bitcoin payments. And they both offer callback mechanisms where they 'push' completed orders back to your site. But both services seem to omit any…
Andrew Arnott
  • 80,040
  • 26
  • 132
  • 171
0
votes
1 answer

What is the PubNub channel name for MtGox BTCUSD trade?

I'm looking at this: https://mtgox.com/api/2/stream/list_public?pretty And I only see one: "trade.BTC": "dbf1dee9-4f2e-4a08-8cb7-748919a71b21" When trying to connect to it, I'm getting very odd trade data, which, when compared to what I see on…
orion3
  • 9,797
  • 14
  • 67
  • 93
1
2