What goes in the id/BTCUSD field for Mt. Gox “submit an order” API call?


I am trying to place a new order using Mt. Gox's submit an order API call. However I keep on getting the error object

{ result: 'error', error: 'Bad API call' }

I'm fairly certain I'm doing everything right, except I suppose the order Id which is referred to as BTCUSD in the documentation.


It gives no other explanation on what this field is, and I have found other projects calling it ID, so I'm using the node-uuid v1() method to generate a unique ID for the field.

So this is the URL I create:


and the object I send with it

{ type: 'ask', amount_int: '100000.000', price_int: '20000000' }

What am I doing...

0 0

The exact problem you're facing regards the number of acceptable decimal digits in the rate field.

You're trying to submit an order on the BTC/USD pair, which happens to have a max decimal allotment of 3. Meaning, you can submit an order for example 800.123, but NOT 800.1234 Not all pairs are the same. LTC/USD can have 6 digits, most BTC based pairs can accept 5 digits.

To get a list of exact information regarding the individual pairs, use this public endpoint for a JSON object that gives you all the values: https://btc-e.com/api/3/info

As far as I know, all pairs' amount fields can have a max of 8 decimals. You are rounding both the amount and rate to 4 digits. Fix the rate field and it should work.

Please keep in mind when I say "decimal places" I mean actual number of digits after the period in a number. Not the numerical type decimal that you are using. Using a double or float will work as well, provided they are rounded...

0 0

This is closely tied to the transaction-malleability bug, which allowed the re-posting of unconfirmed transactions with an altered transaction id. The issue increased the complexity for bookkeeping for services with a high number of transactions. Especially, some people used it to sneak duplicate withdrawals from Mt.Gox.

The change to the transaction ID was made by pushing additional zeros to the signature's front. I think NTX ID stands for normalized transaction id which will map all duplicate transactions back to the same representation, even when they were altered by exploiting the transaction malleability.

It is an internal blockchain representation used by Mt.Gox and has nothing to do with the service...

0 0

The result when fetching previous trades on Mt Gox api v1 has two unexplained parameters:

"primary" and "properties"

I'm using at this call:


Can anyone explain these two properties in detail for me?

From the docs, I get this:

For multi currency,also returns the primary value,"Y" or "N", the primary currency is always the buyers currency

When primary is "N", what does this mean? For example, in the following data, what does "N" and "Y" mean? (some data removed for clarity)


A trade can appear in more than one currency, to ignore duplicates, use only the trades having primary =Y

What does that mean? Can a trade...

0 0

Note: All API methods require a valid User-Agent header.

HTTP API version 1 methods

Multi Currency Ticker


returns the current ticker for the selected currency :

caching and rate limit :30 seconds

{ "result":"success", "return": { "high": {"value":"5.70653","value_int":"570653","display":"$5.70653","currency":"USD"}, "low": {"value":"5.4145","value_int":"541450","display":"$5.41450","currency":"USD"}, "avg": {"value":"5.561119626","value_int":"556112","display":"$5.56112","currency":"USD"}, "vwap": {"value":"5.610480461","value_int":"561048","display":"$5.61048","currency":"USD"}, "vol": { "value":"55829.58960346", "value_int":"5582958960346", "display":"55,829.58960346\u00a0BTC", "currency":"BTC" }, "last_all":{"value":"5.5594","value_int":"555940","display":"$5.55940","currency":"USD"}, "last_local":{"value":"5.5594","value_int":"555940","display":"$5.55940","currency":"USD"},...
0 0
0 0

Mt. Gox has about 400 million dollars worth of clients' questions to answer, and it will attempt to do so by opening a call center.

The company said the call center would open Monday at 10 a.m. Japan time (Sunday at 8 p.m. ET) in an update posted its website Sunday morning. Once the world's premier Bitcoin exchange, Mt. Gox closed its digital doors last week and later filed for bankruptcy after information leaked that it had lost about 750,000 bitcoins — worth about $420 million by current exchange rates — belonging to customers and another 100,000 of its own bitcoins.

In addition to announcing the call center, Mt. Gox promised an update on its attempt to file for bankruptcy under Japan's Civil Rehabilitation Law, which allows a company to restructure in attempt to rebuild similarly to U.S. chapter 11 bankruptcy.

It's not clear what, if any, answers Mt. Gox will be able to provide regarding the lost bitcoins. The company blamed a vulnerability to the Bitcoin...

0 0

Informational & Statistical Server (ISS) is the Web service that provides access to market data from all the Moscow Exchange markets over the Internet.

The following data are available: static market data (boards, securities and their description), numbers to generate candlestick charts, trades, best quotes, general market data, historical trade results and chart data.

Alike the MICEX Trade Info (which is based on the same ISS technology) it is possible to get delayed market data for free or subscribe for real-time.

Developer manual

Sample code
On Python and Visual Basic .NET

For technical questions, please call +7 (495) 733-9507, e-mail:...

0 0


Your feedback is important to us!

We invite all our readers to share with us their views and comments about this article.

Disclaimer: Comments submitted by third parties on this site are the sole responsibility of the individual(s) whose content is submitted. The Daily Star accepts no responsibility for the content of comment(s), including, without limitation, any error, omission or inaccuracy therein. Please note that your email address will NOT appear on the site.

Alert: If you are facing problems with posting comments, please note that you must verify your email with Disqus prior to posting a comment. follow this link to make sure your account meets the requirements....

0 0

ValueTrack parameters are URL parameters you can add to your ads' landing page URLs. They collect information about the source of your ad clicks, and are best used when you want to customize your landing page based on these parameters. For reporting use cases, it's best to use the Click Performance Report or other aggregated reports below. Enabling auto-tagging automatically adds a GCLID to every URL and later can be used to map an ad click to a row in Click Performance Report.

Many of the ValueTrack parameters map to fields in AdWords reports, however not necessarily with identical text value. For example, when {matchType} equals "e" (which is short for exact match) a corresponding report field, such as KeywordMatchType, will show "Exact".

Another option for gathering metrics on clicks is through Google Analytics and its associated API.

ValueTrack Parameter Field(s) in Click Performance Report Other Report Fields ...
0 0
0 0


Versioning in the API is supported by so-called TL layers.

The need to add a new object constructor or to add/remove a field in a constructor creates a backwards compatibility problem for previous versions of API clients. After all, simply changing a constructor in a schema also changes its number. To address this problem, each schema update is separated into a layer.
A layer is a collection of updated methods or constructors in a TL schema. Each layer is numbered with sequentially increasing numbers starting with 2. The first layer is the base layer — the TL schema without any changes.

There are helper methods to let the API know that a client supports Layer N:
invokeWithLayerN {X:Type} query:!X = X;

If a client supports Layer 2, then the following constructor must be used:

invokeWithLayer2#289dd1f6 {X:Type} query:!X = X;

In practice, this means that before every API call, an int with the value 0x289dd1f6 must be added before the...

0 0

This week, thousands of people lost 850,000 bitcoins — worth approximately 473 million US dollars — when Bitcoin exchange company Mt. Gox first shut down and then declared bankruptcy.

Who is to blame for the collapse, and is the lost cryptocurrency recoverable? What should Bitcoin users do now? Here's what you need to know.

MORE: 7 Cyberthreats of 2014

What is bitcoin?

Bitcoin is a decentralized, digital-only currency. It has no central monetary authority. Instead, a peer-to-peer computer network maintains transactions and "creates" bitcoins through a process called mining.

Users can acquire bitcoins by mining them, which can take a long time and a lot of computer resources, or by purchasing them from other users, either through private transactions or through exchange services such as Mt. Gox.

What is Mt. Gox?

Created in 2009 as a trading-card exchange site, the Tokyo-based company's name was originally an acronym for...

0 0

According to a recent study by researchers from the University of Tulsa and Tel Aviv University, the massive increase in the bitcoin price in late 2013 was caused by suspicious trading activity on the now-defunct Mt. Gox Bitcoin exchange. The study, which is titled "Price Manipulation in the Bitcoin Ecosystem," indicates that 600,000 bitcoins were acquired by agents who did not pay for them, and the bitcoin price rose by an average of $20 on days when the suspicious trading activity took place.

"Based on rigorous analysis with extensive robustness checks, we conclude that the suspicious trading activity caused the unprecedented spike in the USD-BTC exchange rate in late 2013, when the rate jumped from around $150 to more than $1,000 in two months," the study states.

At the center of the study is the infamous Willy bot that was first publicized on a Wordpress blog back in May of 2014.

The paper details the data...

0 0

MtGox BTCUSD dropped below the psychologically significant $100 mark. Continuing our blow-by-blow coverage of the spectacular MtGox crash, we’ll be keeping users updated with the latest news and price analysis going into the weekend.

Al Swearengen has only the choicest words for Mt.Gox (photo courtesy HBO)


Leading up to an eagerly anticipated Mt.Gox announcement yesterday, the exchange’s BTCUSD price crashed through $200 until settling on $110 prior to the open of the Asian trading session today. MtGox customers expected the exchange to provide details about re-enabling of fiat and BTC withdrawals. Instead the announcement left the Bitcoin community gob-smacked by simply informing of an operational need for additional staff. Price is being subjected to strong selling pressure and additional lows today are inevitable.

The fact that CEO, Kerpeles refused to give any assurances regarding customer funds during an interview with the Wall Street...

0 0

For Bitcoin skeptics, Mt. Gox is a great piece of evidence to cite in an argument against cryptocurrencies. The early Bitcoin exchange suffered substantially when a large trove of Bitcoins, now worth hundreds of millions of dollars thanks to the cryptocurrency's recent price spike, vanished without a trace several years ago. The exchange collapsed, with most users of the service not receiving adequate compensation for their losses. Now, years after the fact and in the midst of an incredible boom among Bitcin and other digital currencies, the former CEO of Mt. Gox is going on trial in Japan because of the exchange's losses. (Related: Bitcoin Mass Hysteria: The Disaster that Brought Down Mt. Gox)

Embezzlement and Data Manipulation Charges

Mark Karpeles, a French citizen and the former CEO of Mt. Gox, is currently facing charges of embezzlement and data manipulation over the collapse of Mt. Gox. His exchange was, for a time, the busiest trading platform for Bitcoin in...

0 0
0 0

Could Bitfinex, the world's largest, Hong-Kong based cryptocurrency exchange, be headed for a Mt. Gox-style collapse? It's starting to look that way.

When Mt. Gox first halted customer withdrawals in February 2014, it waited more than two weeks to admit the truth to its customers: that hackers had stolen more than $450 million of their assets, leaving the exchange bankrupt and them holding the bag. That hack effectively crippled the entire digital currency ecosystem, ushering in a two-year bear market that at one point carried the bitcoin price below $200, from what was then a record high north of $1,200 reached in November 2013.

So when another exchange engages in similarly shady behavior - withholding critical information about customer funds, or failing to produce audited financials despite promising to do so - it should prompt crypto traders to ask themselves why, with dozens, if not hundreds, of cryptocurrency exchanges operating around the world, they're...

0 0
Mt.Gox Taken Offline Abruptly; Virtual Currency Concerns Grow (gen_sec) • February 25, 2014

Bitcoin-trading website Mt.Gox was taken offline abruptly as of late Monday, Feb. 24, and the news raises concerns about the viability of the online virtual currency.

See Also: Moving from Vulnerability Management to Effective Vulnerability Response

The Mt.Gox shutdown has caused the price of Bitcoin to drop 3 percent to $490, the lowest level since November, according to CNN.

Mt.Gox's tweets have been deleted, and CEO Mark Karpeles also resigned from the Bitcoin Foundation's board of directors on Sunday, CNN says.

A message on the Mt.Gox website reads: "In light of recent news reports and the potential repercussions on Mt.Gox's operations and the market, a decision was taken to close all transactions for the time being in order to protect the site and our users. We will be...

0 0