tf-redfree / php-btce-api Goto Github PK
View Code? Open in Web Editor NEWBTC-e API Class
License: MIT License
BTC-e API Class
License: MIT License
BTC-E not have a getNewAddress or something like that?
PHP Notice: Nonce we sent (1440851355) is invalid, retrying request with server returned nonce: (9)! in /home/xaionaro/PHP-btce-api/btce-api.php on line 100
PHP Fatal error: Uncaught exception 'BTCeAPIErrorException' with message 'API Error Message: invalid nonce parameter; on key:3461320759, you sent:'10', you should send:3461320760. Response: Array
(
[success] => 0
[error] => invalid nonce parameter; on key:3461320759, you sent:'10', you should send:3461320760
)
' in /home/xaionaro/PHP-btce-api/btce-api.php:104
Stack trace:
#0 /home/xaionaro/PHP-btce-api/btce-api.php(102): BTCeAPI->apiQuery('getInfo', Array)
#1 /home/xaionaro/PHP-btce-api/trader.php(8): BTCeAPI->apiQuery('getInfo')
#2 {main}
thrown in /home/xaionaro/PHP-btce-api/btce-api.php on line 104
Copied the scripts into my html folder and entered in the api keys. Went to the Example.php but nothing happens,
...
Dear Tony,
Why you does not answer and closed my thread?
I keep getting the following message (or something very similar)
API Error Message: invalid nonce parameter; on key:1499873709, you sent:'1499873709', you should send:1499873710. Response: Array ( [success] => 0 [error] => invalid nonce parameter; on key:1499873709, you sent:'1499873709', you should send:1499873710 )
Is this a known issue? and is there a simple fix?
Thanks
Hi! In your btce-api.php file, is there a way to grab private data (such as account balances)?
i want to try your code but i see tah you use
$btc_usd['fee'] = $BTCeAPI->getPairFee('btc_usd');
then i get a arry back but is this the same on a buy/sell
$BTCeAPI->makeOrder(1, 'btc_usd', BTCeAPI::DIRECTION_BUY, 100);
so i know that it whas buyed/selled?
Can you help me.
Thanks
When I run your code I got this:
Array ( [success] => 1 [return] => Array ( [funds] => Array ( [usd] => 0
... etc.
But how I can get only that "[usd]" parameter, as value ($usdbalance) , like
<? somecode Array ( [usd] etc. -> echo $usdbalance; ?>
how?
Thank you so much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.