Bitcoin Forum
May 12, 2024, 08:14:09 AM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
27.0
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Economy
>
Trading Discussion
>
MtGox API version 2: Unofficial Documentation
Pages:
«
1
2
3
4
[
5
]
6
7
8
9
10
11
»
All
« previous topic
next topic »
Print
Author
Topic: MtGox API version 2: Unofficial Documentation (Read 62428 times)
TimJBenham
Sr. Member
Offline
Activity: 280
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 18, 2013, 12:32:09 PM
#81
Quote from: nitrous on April 09, 2013, 05:24:58 PM
Quote from: MikeH on April 09, 2013, 04:53:10 PM
all I want right now is to monitor and issue a sell order in case of a large drop
kinda weird that isn't a standard feature yet through the web interface.
Yeah, it's weird that the big exchanges don't support standard exchange features such as order limits, short selling and margin trading.
In most markets those are broker features, not exchange features.
You are a warlord in the outskirts of the known world struggling to establish a kingdom in the wild lands.
1715501649
Hero Member
Offline
Posts: 1715501649
Ignore
1715501649
1715501649
#2
1715501649
Report to moderator
1715501649
Hero Member
Offline
Posts: 1715501649
Ignore
1715501649
1715501649
#2
1715501649
Report to moderator
1715501649
Hero Member
Offline
Posts: 1715501649
Ignore
1715501649
1715501649
#2
1715501649
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715501649
Hero Member
Offline
Posts: 1715501649
Ignore
1715501649
1715501649
#2
1715501649
Report to moderator
brox
Member
Offline
Activity: 71
Merit: 10
Re: MtGox API version 2: Unofficial Documentation
April 18, 2013, 01:19:59 PM
Last edit: April 18, 2013, 01:54:05 PM by brox
#82
Typo:
comprised <- compromised
completed useless, currently <- completely useless, currently
Save dolphins! Donate to 1BTC4brox2pd14QubXGsXwarp9zV9tc8CZ
Mine Bitcoins in the cloud at cex.io
MikeH
Sr. Member
Offline
Activity: 406
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 18, 2013, 03:37:09 PM
#83
Quote from: brox on April 18, 2013, 01:19:59 PM
Typo:
comprised <- compromised
completed useless, currently <- completely useless, currently
got the right thread?
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 18, 2013, 04:40:13 PM
#84
Quote from: brox on April 18, 2013, 01:19:59 PM
Typo:
comprised <- compromised
completed useless, currently <- completely useless, currently
Thanks, fixed
Quote from: MikeH on April 18, 2013, 03:37:09 PM
got the right thread?
He was pointing out typos in the documentation
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
Viceroy
Hero Member
Offline
Activity: 924
Merit: 501
Re: MtGox API version 2: Unofficial Documentation
April 18, 2013, 05:03:47 PM
#85
Quote from: TimJBenham on April 18, 2013, 12:32:09 PM
Quote from: nitrous on April 09, 2013, 05:24:58 PM
Quote from: MikeH on April 09, 2013, 04:53:10 PM
all I want right now is to monitor and issue a sell order in case of a large drop
kinda weird that isn't a standard feature yet through the web interface.
Yeah, it's weird that the big exchanges don't support standard exchange features such as order limits, short selling and margin trading.
In most markets those are broker features, not exchange features.
Please consider contributing such ideas to this post:
https://bitcointalk.org/index.php?topic=179147.0
baracuda
Newbie
Offline
Activity: 43
Merit: 0
Re: MtGox API version 2: Unofficial Documentation
April 19, 2013, 09:06:10 AM
#86
At the end of the document, money/wallet/history has an optional parameter of page (in addition to the required currency parameter already listed.)
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 19, 2013, 09:55:20 PM
#87
Quote from: baracuda on April 19, 2013, 09:06:10 AM
At the end of the document, money/wallet/history has an optional parameter of page (in addition to the required currency parameter already listed.)
Thanks, the ones at the bottom I haven't got around to investigating yet so the only information is what I found on the official documentation, so any information is very helpful
I've published what I could find out for the method. Have you confirmed this parameter works? I don't have more than 50 transactions in any of my wallets so I can't test it myself.
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 23, 2013, 09:35:50 PM
#88
Just added some brief information about streaming here -
https://bitbucket.org/nitrous/mtgox-api/src/master/socket
, including a basic websocket client for quick testing. Also documented the `stream/list_public method`. Note that I have not actually documented any of the actual streaming API, as the bitcoin wiki has a very good page on it themselves -
https://en.bitcoin.it/wiki/MtGox/API/Streaming
.
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
advanced
Sr. Member
Offline
Activity: 267
Merit: 250
Woodwallets.io
Re: MtGox API version 2: Unofficial Documentation
April 24, 2013, 07:36:40 AM
#89
thanks!
Bitmessage : BM-NAx31aEiqeq5zKUtxhKscXQ7Dwn1jJfR
advanced
Sr. Member
Offline
Activity: 267
Merit: 250
Woodwallets.io
Re: MtGox API version 2: Unofficial Documentation
April 26, 2013, 11:11:33 AM
#90
I finally got some spare time to put together a small repo for documenting the Java Client.
Hope it helps. Thank you guys.
https://github.com/adv0r/mtgox-api-v2-java
Bitmessage : BM-NAx31aEiqeq5zKUtxhKscXQ7Dwn1jJfR
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 26, 2013, 01:48:22 PM
#91
Quote from: advanced on April 26, 2013, 11:11:33 AM
I finally got some spare time to put together a small repo for documenting the Java Client.
Hope it helps. Thank you guys.
https://github.com/adv0r/mtgox-api-v2-java
Thanks, that's great work, I linked it in my API examples section
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
advanced
Sr. Member
Offline
Activity: 267
Merit: 250
Woodwallets.io
Re: MtGox API version 2: Unofficial Documentation
April 26, 2013, 02:45:06 PM
#92
You are welcome, thanks for the good words you used
PS: Today I observed another unexpected behaviour of the APIs. You cannot access the method
MONEY/BITCOIN/SEND_SIMPLE
if you are using an yubikey. Not even if you gave permissions to the API keys. This is weird : i mean, i need the yubikey to login into my account, but this is not stopping me to be able to place orders via API. I opened a ticket on mtg.
Bitmessage : BM-NAx31aEiqeq5zKUtxhKscXQ7Dwn1jJfR
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 26, 2013, 07:56:35 PM
#93
Quote from: advanced on April 26, 2013, 02:45:06 PM
You are welcome, thanks for the good words you used
PS: Today I observed another unexpected behaviour of the APIs. You cannot access the method
MONEY/BITCOIN/SEND_SIMPLE
if you are using an yubikey. Not even if you gave permissions to the API keys. This is weird : i mean, i need the yubikey to login into my account, but this is not stopping me to be able to place orders via API. I opened a ticket on mtg.
No problem, it's important to add a spectrum of examples, from quite simple to more sophisticated, to help people get started and then improve their projects, as well as having multiple languages
Thanks, I've updated the docs to note this. Update me if you get an official response, as it does make sense for it to be denied with yubikey enabled, but it is indeed inconsistent.
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
IIzzII
Newbie
Offline
Activity: 14
Merit: 0
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 02:46:14 AM
#94
Can someone help me out, I feel like I'm going crazy here. I've been reading your documentation (which is great, by the way) and I can't seem to make even the basic calls work predictably. I'm trying to get some historical data. For testing reasons, I've started at 'since=0'. This url:
https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=0
properly returns trades. The timestamp of the first trade is "1279408157" which is a date of 07/17/10 @ 6:09:17pm. The timestamp of the last trade is "1282128968" which is a date of 08/18/10 @ 5:56:08am EST. Now if I take that last timestamp and attach that to the url:
https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=1282128968
the first timestamp of the first trade is "1309108565" which is a date of 06/26/11 @ 12:16:05pm EST. I've also tried using microseconds as suggested by the api but that returns the same thing. The url:
https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=1282128968000000
returns the same thing as above. I've tried other timestamps from the first response and the all point to this 06/25/11 set of trades.
Any idea what I'm doing wrong?
TimJBenham
Sr. Member
Offline
Activity: 280
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 05:50:33 AM
#95
Not exactly a V2 issue but
https://data.mtgox.com/api/1/BTCUSD/ticker_fast
just started failing for me with the error "This query needs to be done via data.mtgox.com". It gives an endless redirect loop. Is it still working in V2?
You are a warlord in the outskirts of the known world struggling to establish a kingdom in the wild lands.
TimJBenham
Sr. Member
Offline
Activity: 280
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 06:26:26 AM
#96
Looks like it's working again. Possible Cloudfare false positive?
You are a warlord in the outskirts of the known world struggling to establish a kingdom in the wild lands.
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 10:28:12 AM
#97
Quote from: IIzzII on April 27, 2013, 02:46:14 AM
Can someone help me out, I feel like I'm going crazy here. I've been reading your documentation (which is great, by the way) and I can't seem to make even the basic calls work predictably. I'm trying to get some historical data. For testing reasons, I've started at 'since=0'. This url:
https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=0
properly returns trades. The timestamp of the first trade is "1279408157" which is a date of 07/17/10 @ 6:09:17pm. The timestamp of the last trade is "1282128968" which is a date of 08/18/10 @ 5:56:08am EST. Now if I take that last timestamp and attach that to the url:
https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=1282128968
the first timestamp of the first trade is "1309108565" which is a date of 06/26/11 @ 12:16:05pm EST. I've also tried using microseconds as suggested by the api but that returns the same thing. The url:
https://data.mtgox.com/api/2/BTCUSD/money/trades/fetch?since=1282128968000000
returns the same thing as above. I've tried other timestamps from the first response and the all point to this 06/25/11 set of trades.
Any idea what I'm doing wrong?
Hmm, that's very strange, it seems to work for dates after 1309108565, but not for the data gap between. I'll have to have another look later when I have some more time, but for now maybe just try from 1309108565 instead. Sorry about that, I may need to contact mtgox and see if they can help.
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
nitrous
(OP)
Sr. Member
Offline
Activity: 246
Merit: 250
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 10:29:50 AM
#98
Quote from: TimJBenham on April 27, 2013, 06:26:26 AM
Looks like it's working again. Possible Cloudfare false positive?
Could be. At times of high lag/DDoS, the API can stop working properly, and it can result in undefined behaviour.
Donations: 1Q2EN7TzJ6z82xvmQrRoQoMf3Tf4rMCyvL
MtGox API v2 Unofficial Documentation:
https://bitbucket.org/nitrous/mtgox-api/overview
MtGox API v2 Unofficial Documentation Forum Thread:
https://bitcointalk.org/index.php?topic=164404.0
advanced
Sr. Member
Offline
Activity: 267
Merit: 250
Woodwallets.io
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 10:55:30 AM
#99
currently you can get the last price of 1 BTC from 4 sources. might be worth comparing them and plot them for a testing period.this way we could check inconsistencies . Someone up for this?
Bitmessage : BM-NAx31aEiqeq5zKUtxhKscXQ7Dwn1jJfR
IIzzII
Newbie
Offline
Activity: 14
Merit: 0
Re: MtGox API version 2: Unofficial Documentation
April 27, 2013, 01:37:16 PM
Last edit: April 27, 2013, 10:21:18 PM by IIzzII
#100
Quote from: nitrous on April 27, 2013, 10:28:12 AM
Sorry about that, I may need to contact mtgox and see if they can help.
You don't need to apologize! I'll see if I can get it to work from that date on. Thanks so much.
UPDATE: It seems to be working fine as long as you don't provide a timestamp before 1309108565.
Pages:
«
1
2
3
4
[
5
]
6
7
8
9
10
11
»
All
Print
Bitcoin Forum
>
Economy
>
Trading Discussion
>
MtGox API version 2: Unofficial Documentation
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...