0%

Introduction to APIs (Application Programming Interfaces)

26. 8. 2022 4 min. čtení
Bannerový obrázek novinového článku

For developers, an API provides a way to interact with another application’s existing functionality, rather than a dev having to code that functionality themselves. Developers use APIs because they make developing an app easier.

When talking about trading on an exchange like Poloniex, an API allows traders to access market data and set up an automated trading strategy with a trading bot.

Crypto glossary entry for the term “API”. Gives 3 bullets on its definition and one example sentence.
Crypto glossary entry for the term “API”. Gives 3 bullets on its definition and one example sentence.
From the Poloniex Crypto Glossary

How does an API work?

An API facilitates communication between an application and a server by defining a set of rules on how to send and receive information.

How it works is that an application makes a request to receive information from a web server, which the API processes. After receiving this request, the API in turn communicates with the web server for the requested information. The web server then sends the requested information back to the API, which finally communicates with the requesting application. We can see here that the API’s role is to connect. And APIs are able to facilitate communication between applications no matter who owns the application or web server, or what programming language they might use.

What does an API let a crypto trader do?

Simply put, you can access market data to make trade decisions. With a faster, more efficient API comes a faster updating and more accurate trade display.

By using an API to plug directly into an exchange’s backend and access market data, a savvy trader can automate their entry and exit positions and easily construct a trading strategy that doesn’t require manual intervention.

By subscribing to a trading bot, a user can program parameters and rules by which the bot abides and makes trades accordingly. More than this, because bots can respond to market conditions and execute so quickly, they’re a preferred way to get better returns than the industry standard.

What’s in Poloniex’s new API

In order to facilitate the success of our users, we’ve retooled Poloniex’s APIs. What this means is that users can trade 24/7 in a more responsive, lower latency and higher bandwidth environment.

Our new RESTful API allows for high-performing communication between external programs and our back end in a way that scales very smoothly. Talking more about scalability, we’ve also adopted what’s called a microservices architecture. This splits our trading application into smaller components, making it easier to test and scale our exchange.

The WebSocket API, which updates in real-time, aids our market makers, institutional traders, and professional traders in reacting more aptly to market conditions not only because of its speed but also because it allows for users to receive push notifications about public market data. And because of the NTS’s lowered latency, trading bots can grab information more quickly and have the most accurate and up-to-date market info.

The new APIs are designed for better communication between applications regardless of their size or capabilities, meaning they can respond to professionals’ requests more quickly to provide more up-to-date market data.

We’ve also designed our API to be more user-friendly. Every user will notice the added functionalities of market and stop-market orders, as well as an optimized price chart via the third-party plugin TradingView.

The new API’s enhanced usability delivers a more comprehensive trading experience with an optimized matching service, more order types, faster market data, and a better user experience on the web and the app.

You can find more info on our APIs here.

was originally published in The Poloniex blog on Medium, where people are continuing the conversation by highlighting and responding to this story.

Populární novinky

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 více tagů

How to Set Up and Use Trust Wallet for Binance Smart Chain

Your Essential Guide To Binance Leveraged Tokens

Your Essential Guide To Binance Leveraged Tokens

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)
#Subscriptions

How to Sell Your Bitcoin Into Cash on Binance (2021 Update)

What is Grid Trading? (A Crypto-Futures Guide)

What is Grid Trading? (A Crypto-Futures Guide)

Začněte obchodovat se službou Cryptohopper zdarma!

Bezplatné použití - není vyžadována kreditní karta

Začněme
Cryptohopper appCryptohopper app

Odmítnutí odpovědnosti: Cryptohopper není regulovaným subjektem. Obchodování s kryptoměnovými boty s sebou nese značná rizika a minulá výkonnost není indikátorem budoucích výsledků. Zisky uvedené na snímcích obrazovky produktu jsou ilustrativní a mohou být přehnané. Do obchodování s boty se zapojte pouze v případě, že máte dostatečné znalosti, nebo požádejte o radu kvalifikovaného finančního poradce. Společnost Cryptohopper za žádných okolností nepřebírá žádnou odpovědnost vůči jakékoli osobě nebo subjektu za (a) jakoukoli ztrátu nebo škodu, zcela nebo zčásti, způsobenou transakcemi s naším softwarem, vzniklou v důsledku těchto transakcí nebo v souvislosti s nimi, nebo (b) jakékoli přímé, nepřímé, zvláštní, následné nebo náhodné škody. Upozorňujeme, že obsah dostupný na sociální obchodní platformě Cryptohopper je vytvářen členy komunity Cryptohopper a nepředstavuje radu ani doporučení od společnosti Cryptohopper nebo jejím jménem. Zisky uvedené na Markteplace nejsou indikátorem budoucích výsledků. Používáním služeb Cryptohopper berete na vědomí a přijímáte rizika spojená s obchodováním s kryptoměnami a souhlasíte s tím, že Cryptohopper zbavíte jakýchkoli závazků nebo ztrát. Před použitím našeho softwaru nebo zapojením se do jakýchkoli obchodních aktivit je nezbytné prostudovat a pochopit naše Podmínky poskytování služeb a Zásady zveřejňování rizik. Obraťte se prosím na právní a finanční odborníky, kteří vám poskytnou individuální poradenství na základě vašich konkrétních okolností.

©2017 - 2025 Copyright by Cryptohopper™ - Všechna práva vyhrazena.