Skip to content

Get portfolio timeseries#161

Merged
8ball030 merged 3 commits intomainfrom
feat/get_portfolio_timeseries
Jan 20, 2026
Merged

Get portfolio timeseries#161
8ball030 merged 3 commits intomainfrom
feat/get_portfolio_timeseries

Conversation

@Karrenbelt
Copy link
Collaborator

@Karrenbelt Karrenbelt commented Jan 20, 2026

  • Add back-reference to the AgentState to access the ArbitrageStrategy
  • In AgentState.to_json(), dump the last 7 days of PortfolioDatabase USDC value timeseries
  • Obtainable via a GET request to the trading_state skill HttpHandler
    • test locally using curl -X GET http://localhost:8889

@8ball030 8ball030 marked this pull request as ready for review January 20, 2026 16:02
@8ball030 8ball030 merged commit bb54431 into main Jan 20, 2026
1 check passed
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.

2 participants