1. Home
  2. Docs
  3. Knowledge Base
  4. MT Analytics API
  5. news_toplist

news_toplist

MachinaTrader Analytics API (MTAA) Documentation

Endpoint: /news_toplist

The /news_toplist endpoint of the MachinaTrader Analytics API (MTAA) allows you to query and retrieve data related to news sentiment analysis and statistics toplists. This powerful tool provides valuable insights for optimizing your cryptocurrency trading strategies.

Parameters:

  • period (string): Specify the time period for the analysis. Valid options include “5m,” “15m,” “1h,” “2h,” “4h,” “8h,” “12h,” “24h,” “7d,” and “30d.”
  • query_field (string): Choose the field for your query. Available fields include:
    • “news_sentiment”
    • “news_author”
    • “news_source”
    • “news_geography”
    • “news_countries”
    • “news_category”
    • “news_subcategory”
    • “news_securities”
    • “news_companies”
    • “news_people”
    • “news_currencies”

Usage Example:

To retrieve the sentiment analysis data for the last 24 hours related to cryptocurrency news sources, you can make the following API request:

GET /news_toplist?period=24h&query_field=news_sentiment&query_field=news_source
            

This request will return a statistics toplist for the specified period and query fields, allowing you to gain valuable insights into the sentiment of cryptocurrency news sources over the last 24 hours.

Response Format:

The API response will include data relevant to your query, providing you with the information you need to make data-driven trading decisions.

Get Started with MTAA:

Integrating the MachinaTrader Analytics API (MTAA) into your trading strategies is easy. Simply use the /news_toplist endpoint with the desired parameters to retrieve the data you need for your analysis.

Stay ahead of the cryptocurrency market trends and optimize your trading strategies with the power of MTAA. Start using the API today to gain a competitive edge in your trading endeavors.

How can we help?