0%

Introduction to APIs (Application Programming Interfaces)

2022年8月26日 4分读完
新闻文章的横幅图片

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.

热门新闻

How to Set Up and Use Trust Wallet for Binance Smart Chain
#Bitcoin#Bitcoins#Config+2 更多标签

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)

马上免费使用Cryptohopper进行交易!

免费使用——无需信用卡

开始吧
Cryptohopper appCryptohopper app

免责声明:Cryptohopper并非受监管机构。加密货币的机器人交易存在大量风险,过去的业绩表现并不能预示未来的结果。产品截图中展示的利润仅供参考,可能有所夸大。只有在您具备充足的知识或寻求了专业财务顾问的指导后,才应进行机器人交易。在任何情况下,Cryptohopper均不对任何人或实体因使用我们的软件进行交易而产生的全部或部分损失或损害,或任何直接、间接、特殊、后果性或附带的损害承担责任。请注意,Cryptohopper社交交易平台上的内容由Cryptohopper社区成员生成,并不代表Cryptohopper或其代表的建议或推荐。市场上展示的利润并不能预示未来的结果。使用Cryptohopper的服务即表示您承认并接受加密货币交易的固有风险,并同意免除Cryptohopper因您的任何责任或损失的责任。在使用我们的软件或进行任何交易活动之前,务必审阅并理解我们的服务条款和风险披露政策。请根据您的具体情况咨询法律和金融专业人士,获取个性化的建议。

©2017 - 2025 版权归属于Cryptohopper™ -版权所有。