Questions tagged [poloniex]

Poloniex is a US exchange trading in numerous virtual currencies, including Bitcoin, Ethereum, Litecoin and Dogecoin. The tag should be used when referring to Poloniex API, independently of the implementation.

Poloniex is a US exchange trading in numerous virtual currencies, including Bitcoin, Ethereum, Litecoin and Dogecoin. The tag should be used when referring to Poloniex API - https://poloniex.com/support/api/, independently of the implementation.

93 questions
1
vote
1 answer

Poloniex api 'Total must be at least 0.0001' error

I am writing python bot for poloniex. polo = poloniex.Poloniex('key', 'secret') polo.sell('BTC_ETH', 0.043, 0.01) polo.buy('BTC_ETH', 0.043, 0.01) Buy and sell functions raises error 'Total must be at least 0.0001.' Why poloniex return this error?…
user1941407
  • 2,722
  • 4
  • 27
  • 39
1
vote
2 answers

Poloniex api sell/buy immediatelly

how to buy or sell immediatelly with poloniex api . i am using nickelbot and its always put for order function api_buy() { global $Adapters; $exchange = isset( $_GET['exchange'] ) ? $_GET['exchange'] : "error"; if( $exchange == "error"…
Deran Toli
  • 47
  • 1
  • 7
1
vote
1 answer

Poloniex push api

I am interested in writing some basic php to interface with the Poloniex push api. Their website provides the following info: https://poloniex.com/support/api/ A php wrapper can be found here: http://pastebin.com/iuezwGRZ From what i can determine…
Dercni
  • 1,216
  • 3
  • 18
  • 38
0
votes
1 answer

Is it possible to print a poloniex error message?

I try to withdraw crypto currencies from my Poloniex wallet to external wallets in python with the Poloniex module, which works pretty good with the following code: from poloniex import Poloniex from poloniex import PoloniexCommandException polo =…
Phil
  • 65
  • 8
0
votes
2 answers

Function returning different result despite the same inputs in Python

Here is my function that uses the Poloniex Exchange API. It gets a dict of asks (tuples of price and amount) and then calculates the total amount of BTC that would be obtained using a given spend. But running the function several times returns…
user14009897
0
votes
1 answer

Invalid command error on poloniex using laravel Http facade

Switching from curl implementation to using laravel Http facade to access poloniex private api. But I am having issues with it. I get an invalid command response from poloniex, yet all my parameters seem to work alright. Sample code below, this is…
Johhn
  • 979
  • 17
  • 24
0
votes
1 answer

Poloniex API "Invalid command" c++ libcurl

I'm trying to solve it for many hours but nothing going better... int main() { CURL *curl_handle = curl_easy_init(); if(curl_handle) { string post_data=""; struct curl_slist *headers=NULL; string command =…
0
votes
1 answer

post poloniex request always returns error

I'm trying to write a simple POST request (returnBalances), but it always returns error message. Can't figure out what I'm doing wrong. Solved the problem. The code is fixed to work now. Here is the code: public String checkBalancesRequest() …
Der Der
  • 1
  • 2
0
votes
1 answer

Poloniex New Websocket API

I am trying to use the new websocket API with Poloniex. Wamp is now deprecated and there is very little information around how to do a simple call for real time public data such as volume etc. I have found this code which seems to implement this…
Jo3Dirt
  • 109
  • 1
  • 9
0
votes
1 answer

How do I get all the tickers from poloniex

I am using the function: polo.returnTicker()['BTC_ETH'] that I got from this python package https://github.com/s4w3d0ff/python-poloniex to get the current ticker from Poloniex. The function returns a json object that looks like this: {u'last':…
Hugo
  • 1
  • 1
0
votes
1 answer

Python Poloniex API returns error 422

I have method, that should returns balance from Poloniex via their API. Code below. def getBalance(self): polo_data = {"command": "returnBalances", "nonce": int(time.time() * 1000)} post_data =…
Alex
  • 685
  • 3
  • 9
  • 20
0
votes
1 answer

Poloniex API Request Gives 404 Error

I am writing a custom Python class to encapsulate the Poloniex trading API. However, I am running in to a problem with the request returning a "404 Error". I have been over and over the documentation and am quite sure that I am utilizing the right…
0
votes
3 answers

Getting 403 error using Python3

I'm new to Python and to coding in general. I'm trying to request poloniex public API using this simple code but keep getting 403 Error. Does anyone have any idea what can cause it and how to fix it? Link to Poloniex API Doc Thanks import…
artur
  • 1
0
votes
0 answers

Poloniex API Fetch with Highcharts in React

I'm successfully fetching data from the Poloniex API but I'm having issues generating the actual chart in my React Component (I'm using highcharts--more specifically the React JSX Highstock node package). I've console logged all the returned data…
John Rogerson
  • 1,153
  • 2
  • 19
  • 51
0
votes
1 answer

Poloniex push api: Stop sending data of channel 1002

I use python to get the real time data from wss://api2.poloniex.com:443 and it's work. But sometime server will stop sending the data of the channel 1002 (tick real time information) but there is still heartbeat [1010] and here is my code from…
Ming Chu
  • 93
  • 7