Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new round and behavior with API integration #5

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

PriyanshuVijay-S
Copy link

Overview

This pull request introduces a new EvaluationRound designed to enhance the market trend analysis capabilities of our learning ABCI agents. By comparing current and historical prices, the agents can make more informed decisions based on market trends. The implementation extends across multiple components of the agent framework and introduces a new API integration.

Changes

The changes include modifications to several files across different folders to integrate the new business logic effectively:

Modified Files

  • skill/learning_abci/:

    • fsm_specification.yaml
    • round.py
    • behaviours.py
    • module.py
    • payload.py
    • skill.yaml
  • agents/:

    • aea-config.yaml
  • services/:

    • service.yaml
  • skills/learning_chained_abci/:

    • fsm_specification.yaml
    • module.py
    • skill.yaml

API Integration

Implemented a new API call coingecko_pricehistorydata_specs using ApiSpecs to fetch market data from CoinGecko (https://api.coingecko.com/api/v3/coins/autonolas/market_chart). This integration helps in fetching historical price data essential for the evaluation round.

New Classes

  • EvaluationBehaviour in behaviours.py
  • EvaluationRound in round.py
  • EvaluationPayload in payload.py
  • Coingeckopricehistorydataspecs in module.py

Impact

The introduction of EvaluationRound allows agents to assess market conditions more accurately by reaching a consensus on the current price and comparing it with historical data. This strategic enhancement supports better decision-making processes in market-sensitive environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant