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
0
votes
1 answer

How can I build a WAMP protocol client to subscibe in Python2?

I want to build a WAMP(the Web Application Messaging Protocol) client to subscribe ticker of poloniex. There are some useful infomation in poloniex's API document like following: The best way to get public data updates on markets is via the push…
Archer Hu
  • 37
  • 11
0
votes
1 answer

Error using poloniex-api-node into Node-Red

This is my first question here on Stack so maybe I'll miss something since I'm not used to ask these kind of stuff. I'm trying to implement poloniex-api-node into Node-Red. However everytime I run my code I get "TypeError: Poloniex is not a…
jmduarte
  • 3
  • 1
0
votes
1 answer

Poloniex's API - Returned JSON contains more buy's than sell's

I recently discovered Poloniex's API and am a big fan. I am puzzled about the following thing though: I query one Poloniex's BTC-ETH trade history for a 24h trading period. E.g.,…
dotwin
  • 1,302
  • 2
  • 11
  • 31
0
votes
2 answers

Calculating RSI from Poloniex PHP

I'm trying to calculate the RSI using the Poloniex API and PHP Trader EXtension. Here is what i have so far. date_default_timezone_set( 'UTC' ); $api = new poloniex( 'xxxxxxx', 'xxxxx' ); $data = $api->getChartValues( 'BTC_LTC', strtotime( "-21…
user3393046
  • 163
  • 1
  • 7
  • 15
0
votes
2 answers

Iterating through a list of CryptoCurrencies on Poloniex using a FOR Loop and saving data on each Crypto token in its separate Variable

This question is related to a trading exchange known as Poloniex.com where I m using their public api- https://poloniex.com/support/api/ especially the function of returnChartData using Python Wrapper. I have a list with me and this list includes…
0
votes
2 answers

How to up to date poloniex orderbook via push api (WAMP protocol)

I making software for scalping on poloniex.com To do this, I need to have fresh information about order book. API DOCUMENTATION said about push api. As i understand right it work like that: Use returnOrderBook (public method API) for getting…
0
votes
1 answer

Poloniex Api Trouble

So I'm accessing the poloniex API with python and this is my code: from poloniex import Poloniex import krakenex import threading import pprint import urllib.request import json ####POLONIEX#### #FUNCTIONS polo = Poloniex() def…
Jimbo
  • 331
  • 1
  • 13
0
votes
1 answer

Google script POST method not matching JAVA for poloniex api call

I've spent many hours trying to figure out how to solve this problem but no success. I believe this will be a candy for this community. The problem: I'm trying to call poloniex.com private API functions. I managed to do this in JAVA net beans. This…
tego1
  • 1
  • 1
0
votes
2 answers

Why am I getting 'invalid command' from Poloniex API with Python 3?

I'm trying to use my Poloniex API secret and key to check balances on my account. However, I keep getting "invalid command" returned as a response. Below is my code in Python3: command = 'returnBalances' req['command'] = command …
Olgo
  • 35
  • 1
  • 6
0
votes
2 answers

PHP: json_decode - reading category names

I am trying to read JSON formatted prices from: https://poloniex.com/public?command=returnTicker what I need are two things: symbol names (like BTC_BBR, BTC_BCN, etc) and "highestBid" price for them. To read the ladder I use something like…
angreeee
  • 3
  • 1
0
votes
1 answer

Poloniex returns sometimes null values on public api methods

There are a few public methods on Poloniex, all of which take HTTP GET requests and return output in JSON format. I am using Python to asking the chart data of the most current 5-min-periods. I get the response and can work with it, but sometimes it…
sunwarr10r
  • 4,420
  • 8
  • 54
  • 109
0
votes
0 answers

Swift 3, Alamofire json get "error = "Invalid API key/secret pair.""

I get - error = "Invalid API key/secret pair."; When I try a POST request in REST client in chrome: I get the correct json information: But in Swift with Alamofire I try to do the same request and get an error... My code: func getRawJSON(method:…
VladyslavPG
  • 557
  • 1
  • 8
  • 19
0
votes
2 answers

Swift 3, in Poloniex trade Api get - "error": Invalid command

My code: func testApi() { Alamofire.request("https://www.poloniex.com/tradingApi", withMethod: .post, parameters: ["command":"returnDepositAddresses","nonce":nonce()], encoding: .json, headers: ["Key":apiKey,"Sign":newSecret]).responseJSON()…
VladyslavPG
  • 557
  • 1
  • 8
  • 19
-1
votes
2 answers

Extract JSONArray from JSONObject which does not contain double quote

I want to extract JSONArray from JSONObject which does not contain double quote. HTTP response entity as follows. {"asks":[["107.47649000",25.3039]],"bids":[["107.06385000",64.9317]],"isFrozen":"0","seq":298458396} In specific I need to extract both…
user1349407
  • 612
  • 3
  • 13
  • 28
-1
votes
1 answer

How can I limit python script to 1 API trade per day?

I'm putting together a python script to make trades on poloniex with the API, and so far I've got it to make trades when certain conditions are met, but I still need it to NOT place anymore trades for the rest of that day (I have the entire script…