GithubHelp home page GithubHelp logo

php-btce-api's People

Contributors

eugnis avatar tf-redfree avatar xaionaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-btce-api's Issues

invalid nonce parameter; on key:3461320759, you sent:'10', you should send:3461320760

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

Will not display

Copied the scripts into my html folder and entered in the api keys. Went to the Example.php but nothing happens,

invalid nonce parameter;

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

Ways to get private info

Hi! In your btce-api.php file, is there a way to grab private data (such as account balances)?

What is the bets way to get the respons of a buy/sell

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

Simple balance request?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.