Coder Social home page Coder Social logo

kraken-api-client's People

Contributors

ddall avatar globalcitizen avatar intelliot avatar maximevalette avatar timbowhite 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kraken-api-client's Issues

Is this project alive?

Maybe this will be a dead end but I'm wondering if this project is still alive... I have been digging about your API but all that I hear is that your API is returning gateway errors and there is no word from the owner.

Any insights?
Cheers!

EFunding:No funding method

$kraken = new KrakenAPI('MY API KEY', 'MY API SECRET','https://api.kraken.com',0);
    $res = $kraken->QueryPrivate('DepositAddresses', array(
        'asset' => 'XBT',
        'method' => 'Bitcoin',
        'new' => true
    ));
    dump($res);

DepositAddresses throws an error

array:1 [▼
  "error" => array:1 [▼
    0 => "EFunding:No funding method"
  ]
]

i tried manipulate parameters (asset = BTC, method = 'bitcoin', lowercase, uppercase..etc) but i'm receiving the same error always.
How do I should create a deposit address?

invalid ordertype-close coming always

Hi,
I am using close option with parameter
$this->volume = .001;
$price = 1092.09;
$stop_loss = $price+10;
$take_profit = $price-10;
$param = [
'pair'=>$this->pair,
'type'=>'sell',
'ordertype'=>'stop-loss',
'price'=>$price,
'volume'=>$this->volume,
'leverage'=>'2:1',
'take-profit'=>$take_profit
'close' => array(
'ordertype' => 'stop-loss-profit',
'price' => '#.3%', // stop loss price (relative percentage delta)
'price2' => '#10' // take profit price (relative delta)
)
];

    $res = $this->kraken->QueryPrivate('AddOrder', $param);

But always I am getting "invalid ordertype-close" . Can anyone help me where I am doing wrong?

No Longer Usable

As of now, the only way to call on our public endpoints is by using GET.
In the past it was possible to call on public endpoints using POST, however, this has been deprecated as of today.

The following endpoints are affected:

Time, SystemStatus, Assets, AssetPairs , Ticker , OHLC , Depth, Trades, and Spread

New to coding, how would I go about fetching balances for specific currencies?

Hi, I wrote a few pieces of code to first connect to my api and then to display my balance (I've blocked out the password and api keys). I imported the first module and when I ran it, it worked! Here is the code:

Here is the first module named dontshare_config001 https://imgur.com/a/wt9w1JD

Here is the second piece of code: https://imgur.com/wtLJCOb

This works well but it fetches all the currency balances. I'd like to simply fetch the balance for say bitcoin or USD. How would I go about doing this?

Fatal error: Uncaught KrakenAPIException: JSON decode error

I get the JSON decode error pretty consistently with this.

I have a PHP script that does somewhere between 5 and 10 calls to the KrakenAPIClient.php. About half the time the page won't load due to the JSON decode error.

Is this a problem with kraken and not the provided KrakenAPIClient.php?

Thanks for your hard work. Crossing my fingers that 3 years after this was published that there is still someone out there listening!

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.