Poloniex api documentation


One of the great things about crypto is that almost all the exchanges have APIs of some sort. Most of these are to get traffic from bots but they're still very useful for us humans that want to analyze the poloniex api documentation and work with it. For this tutorial, I'm going to demonstrate a simple way of pulling prices from Poloniex.

The extended API poloniex api documentation can be found here. A sample API call looks something like this https: You can paste it into your browser and you can see for yourself how it looks. First of all, this tutorial relies on a bit of functional programming. Lastly, you'll need a package called tomkit which is a series of helpful functions I've written through my short data science career. If you have devtoolsyou can install it from Github directly with devtools:: All the work is done in one function, grabPoloData.

The function accepts a valid trading pair ex: You can easily modify the function to accept an end-time but that's for another tutorial. It formats the date column to character, then returns the columns date, weightedAverage, high, low, and quoteVolume.

Again, feel free to edit to play with columns available. I can go on and on about working with time series data as many books have been written about it. Please comment if you'd like another tutorial! Poloniex api documentation this tutorial is simply about pulling down the data and doing something with it. Obviously, this looks pretty hideous and not useful.

So with a few simple options in R-base, you can get something much better looking like this:. This tutorial was adapted from some code I poloniex api documentation a month ago to play with the prices. The original repository can be found on my Github poloniex api documentation.

This post has been upvoted from the communal account, minnowsupportby gimperion from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, and someguy The goal is to help Steemit grow by supporting Minnows and creating a poloniex api documentation network.

It's a completely public and open space to all members of the Steemit community who voluntarily choose to be poloniex api documentation. If you like what we're doing please upvote this comment so we can continue to build the community account that's supporting all members. I have looked into some R training for finance, but this poloniex api documentation the first I've seen for crypto!

I'll be updating this as a part of a series with time-series analysis and deep learning. Now let's break down that API call a bit. URL Chunk Explanation https: Pulling it into R First of all, this tutorial relies on a bit of functional programming. You can invoke the function like such: Very Basic Visualization I can go on and on about working with time series data as many books have been written about it. So with a few simple options in R-base, you can poloniex api documentation something much better looking like this: Link All comments welcome and appreciated.

Authors get paid when people like you upvote their post. Keep up the good work.

The best API for getting free cryptocurrency live pricing data, OHLC historical data, volume data, tick data or block explorer data from multiple exchanges and blockchains. We have integrated with over 90 exchanges, coins and have over 22, trading pairs listed. Please make sure you credit us with a link if you use our data on your website or app.

Some of the great services poloniex api documentation our pricing API: Sign up for API updates here. Most poloniex api documentation the requests that are poloniex api documentation to pricing data are public at the moment and generally available via GET functions.

Please do not abuse them, a request every 10 sec should be more than enough. There is also a streaming api based on socket. At the moment the public rest api poloniex api documentation streaming apis are not delayed.

You can see the limits here: CryptoCompare uses session cookies to allow access to private data. You can obtain the cookie by logging in. A session key is only valid for 30 days and it has a sliding window period, so each time you use it, it will get extended by 30 days.

Type less than will mean there was an error. This section deals with all the requests for price data, social data and historical data. Most of it is used for dealing with subscription, top list, historical and snapshot data. Get the latest price for a list of one or more currencies. Really fast, ms. Cached each 10 seconds. Get all the current trading info price, vol, open, high, low etc of any list of cryptocurrencies in any other currency that you need.

If the crypto does not trade directly into the toSymbol requested, BTC will be used for conversion. This API also returns Display values for all the fields. If the opposite pair trades we invert it eg.: Compute the current trading info price, vol, open, high, low etc of the requested pair as a volume weighted average based on poloniex api documentation markets requested.

Get day average price. The values are based on hourly vwap data and the average can be calculated in different waysIt uses BTC conversion if data is not poloniex api documentation because the coin is not trading in the specified currency. If tryConversion is set to false it will give you the direct data. If no toTS is given it will automatically do the current poloniex api documentation.

Get the price of any cryptocurrency in any other currency that you need at a given timestamp. The price comes from the daily info - so it would be the price at the end of the day GMT based on the requested TS.

Tries to get poloniex api documentation trading pair data, if there is none or it poloniex api documentation more than 30 days before the ts requested, it uses BTC poloniex api documentation. Get data for a currency pair. It returns general block explorer information, aggregated data and individual data for each exchange available. Poloniex api documentation api is getting abused and will be moved to a min-api path in the near future.

Please try not to use it. Get the general, subs used to connect to the streamer and to figure out what exchanges we have data for and what are the exact coin pairs of the coin and the aggregated prices for all pairs available. Poloniex api documentation Array[] yes Snapshot data about the coin volume, price, open, high, low close etc. If called with the id of a cryptopian you just get data from our website that is available to the public. UrlstringnoThe relative path without https: Get open, high, low, close, volumefrom and volumeto from the each minute historical data.

This data is only stored for 7 days, if you need more,use the hourly or daily path. It uses BTC conversion if data is not available because the coin is not trading in the specified currency. The values are based on Used to get all the mining equipment available on the website. It returns an array of mining equipment objects.

Get top pairs by volume for a currency always uses our aggregated data. The number of pairs poloniex api documentation get is the minimum of the limit you set default 5 and the total number of pairs available. Get real-time market data updates by connecting to our web socket ' wss: We are using socket. For more poloniex api documentation code click here. Subscribe to market data by emitting 'SubAdd' including a list of items you want to get updates on.

After the first response, only updates will be sent. The MaskInt parameter maps the response to the properties. Use our utility functions to map the response, you can find the code here. Introduction The best API for getting free cryptocurrency live pricing data, OHLC historical data, volume data, tick data or block explorer data from multiple exchanges and blockchains. Requests Most of the requests that are related to pricing data are public at the moment poloniex api documentation generally available via GET functions.

Sessions A session key is only valid for 30 days and it has a sliding window period, so each time you use it, it will get extended by 30 days. Note that the responses poloniex api documentation all requests, both public and private, are sent as the response body.

Data This section deals with all poloniex api documentation requests for price data, social data and historical data. Data Object yes Empty if there is no data to return or there is an error Data [Symbol]: Id int yes The internal id, this is used in other calls Data [Symbol]: ImageUrl string yes The logo image of the coin Data [Symbol]: CoinName string yes The name Data [Symbol]: FullName string yes A combination of the name and the symbol Data [Symbol]: Algorithm string yes The algorithm of the cryptocurrency Data [Symbol]: ProofType string yes The proof type of the cryptocurrency Data [Symbol]: Invalid Market ", "Data": For PST you would pass -8 for example.

URL Parameters Parameter Type Mandatory Description fsym string yes The symbol of the currency you want to get that for tsym string yes The symbol of the currency that data will be in. Return data Parameter Type Always returned Description Response string yes The type of the response Success or Error Message string yes The message for the response Type integer yes Integer representing the type of response.

Data object yes Empty if there is no data to return or there is an error Data: Algorithm string yes The algorithm of the from currency Data: BlockNumber integer yes The current block number delayed by 1 hour max Data: BlockReward integer yes The current block reward delayed by 1 hour max Data: AggregatedData object yes See success request example Data: What are you trying to do? AggregatedPrices Array[] yes Snapshot data about the coin volume, price, open, high, low close etc Parameter Type Always returned Description Response string yes The type of the response Success or Error Message string yes The message for the response BaseImageUrl string yes The base url for all the images from the ImageUrl field BaseLinkUrl string yes The base url for all the links from the Url field Type int yes Integer representing the type of response.

General object yes The general data available for this coin Data: H1Text string yes The title used on our website a combination of the coin name and the symbol Data: ImageUrl string yes The relative poloniex api documentation to the logo of the coin, prefix this value with the BaseImageUrl to get poloniex api documentation absolute path Data: DangerTop string yes The text displayed in red on poloniex api documentation website at the top, generally a poloniex api documentation issue with the coin Data: WarningTop string yes The text displayed in yellow on the website at the top, generally an issue with the coin Data: InfoTop string yes The text displayed in green on the website at the top, generally an announcement or extra info that is important Data: Symbol string yes The symbol of the coin Data: Url string yes The relative path to the coin, prefix this value with the BaseLinkUrl to get the absolute path Data: Name string yes The name of the coin Data: Description string yes The description poloniex api documentation the coin, this is returned as html Data: Features string yes The features of the coin, this is returned as html Data: Poloniex api documentation string yes The technology of the coin, this is returned as html Data: TotalCoinSupply int yes The maximum number of coins Data: StartDate string yes The day the first block was mined, so the day the coin actually came into existance Data: Twitter string yes The twitter address of the coin Data: TwitterWidgetId string yes The cryptocompare twitter widget id for this coin Data: Website string yes The coin official website Data: DifficultyAdjustment string yes The difficulty adjustment Data: BlockRewardReduction string yes The value by which the block reward is reduced when there is a block reward reduction Data: BlockNumber int yes The current block number delayed by 1 hour max Data: BlockTime int yes The estimated time it takes to mine a block Data: TotalCoinsMined int yes The current poloniex api documentation coins mined delayed by 1 hour max Data:

Looking to trade the cryptocurrency market. News Over the past few months of flying under the radar thereв s a new charity aimed at feeding Venezuelan citizens their. All you need to receive Bitcoin payments is to display poloniex api documentation QR code in your Bitcoin wallet app and let your friend scan your mobile, or touch the two phones together (using NFC radio technology).

BitcoinPlus can be traded on poloniex api documentation Worlds most popular Cryptocurrency Exchange Poloniex.