0%

Introduction to APIs (Application Programming Interfaces)

26 août 2022 4 min de lecture
Image bannière article de presse

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.

Actualités populaires

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 plus de tags

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)

Commencez à trader gratuitement avec Cryptohopper !

Utilisation gratuite - pas de carte de crédit requise

Commençons
Cryptohopper appCryptohopper app

Clause de non-responsabilité : Cryptohopper n'est pas une entité réglementée. Le trading de crypto-monnaies avec des bots implique des risques substantiels, et les performances passées ne sont pas indicatives des résultats futurs. Les gains indiqués dans les captures d'écran des produits sont à titre d'illustration et peuvent être exagérés. Ne vous engagez dans le bot trading que si vous possédez des connaissances suffisantes ou si vous demandez l'avis d'un conseiller financier qualifié. En aucun cas Cryptohopper n'acceptera de responsabilité envers une personne ou une entité pour (a) toute perte ou dommage, en tout ou en partie, causé par, découlant de, ou en relation avec des transactions impliquant notre logiciel ou (b) tout dommage direct, indirect, spécial, consécutif, ou accessoire. Veuillez noter que le contenu disponible sur la plateforme de trading social de Cryptohopper est généré par les membres de la communauté Cryptohopper et ne constitue pas un conseil ou une recommandation de la part de Cryptohopper ou en son nom. Les profits affichés sur le marketplace ne sont pas indicatifs des résultats futurs. En utilisant les services de Cryptohopper, vous reconnaissez et acceptez les risques inhérents à l'exchange de crypto-monnaies et acceptez de dégager Cryptohopper de toute responsabilité ou perte encourue. Il est essentiel d'examiner et de comprendre nos conditions de service et notre politique de divulgation des risques avant d'utiliser notre logiciel ou de s'engager dans des activités de trading. Veuillez consulter des professionnels juridiques et financiers pour obtenir des conseils personnalisés en fonction de votre situation particulière.

©2017 - 2025 Droits d'auteurs Cryptohopper™ - Tous droits réservés.