Yeah, I tried selling so many times on BTCChina without success that it locked my account. No trading / withdrawal / anything for 8 hours until support wakes up.
Woo.
Hm. Interesting.
I have contacted BTC China developer and he said:
Hello July,
Thank you for pointing out the error. The new getMarketDepth2 method allows you to request a arbitrary number of bid and ask orders from the complete order book. Let's say you only need to get the 15 highest buyers and 15 lowest sellers then it's possible to get that from getMarketDepth2.
Currently there is no request limitation for API requests, however that could be changed in future.
Regards,
Tony Leng
BTC China
https://www.btcchina.comI'll contact him again and I'll make optimal requests interval.
Thanks, I'm sure you're aware of the symptoms. Selling BTC is only to the 3rd decimal, the field rounds up and you attempt to sell more than you actually have. I had done that a few times (place -> confirm -> nothing shows up in open orders) before realizing it. Afterwards even placing a standard amount did not work / show up in open orders.
Eventually I logged onto the site manually and my account is locked for security. Be careful until this is fixed.