Skip to main content

3 posts tagged with "financial"

View All Tags

AI Makler — Intelligent Financial Agent With Memory and Multi-Workflow Orchestration

· 5 min read
ApudFlow OS
Platform Updates

Markets move fast, and making sense of them requires not just data but context — what happened yesterday, what decisions you made, how conditions have changed. The AI Makler worker brings that context to life: an intelligent financial agent that remembers past sessions, makes decisions, manages positions, and can even trigger other workflows.

Think of it as a tireless trading assistant that keeps notes on every session and gets smarter the more you use it.

What Is AI Makler?

AI Makler (Polish for "broker") is an AI-powered financial agent that lives in the AI category of the left sidebar. Unlike stateless AI workers that process one request at a time, AI Makler remembers its past analyses, decisions, and market observations across multiple runs within the same workflow.

This makes it ideal for:

  • Continuous market monitoring — the agent knows what it saw yesterday
  • Trading signal generation — it tracks its own accuracy over time
  • Portfolio management — it remembers open positions and reviews them
  • Multi-step workflows — it can trigger other workflows based on analysis

Key Features

🧠 Persistent Memory

  • One MongoDB document per workflow — all runs share the same memory
  • Remembers: market state, analysis, orders, triggered workflows
  • Configurable history (1–100 iterations, default 20)
  • No raw prompts saved — just the meaningful context and decisions

📊 Two Processing Modes

ModePurpose
AnalysisExamine market data and news, identify trends, assess risk
DecisionMake concrete trading calls: buy, sell, close, or hold

📈 Structured Orders

When the agent decides to trade, it returns proper order objects:

{
"action": "buy",
"symbol": "BTCUSD",
"entry_price": 86500.00,
"target_price": 92000.00,
"stop_loss": 84000.00,
"position_size": 0.5,
"order_type": "market",
"reason": "Bullish flag breakout on above-average volume",
"certainty_pct": 82
}

The agent only generates orders when certainty > 60%. If it's not confident, it just returns analysis — no false signals.

🔗 Workflow Orchestration

AI Makler can trigger other workflows to perform complex tasks. List the allowed workflow IDs in the configuration, and the agent will decide when to run them, passing data along. Triggered runs are fire-and-forget via the same Redis queue as manual runs.

💼 Position Management

Pass your current open positions as a JSON array, and the agent will review each one — deciding whether to close, hold, or modify based on current market conditions.

How to Use It

Adding the Worker

  1. Drag AI Makler from the AI category onto your canvas
  2. Connect it after your data sources (or trigger it on a schedule)
  3. Configure the parameters

Configuration

ParameterTypeDescription
modeselectanalysis (default) or decision
datamarkdownMarket data — prices, indicators, volumes
newsmarkdownNews and events
allowedWorkflowstextWorkflow IDs the agent may trigger (one per line)
investorTypeselectaggressive, moderate (default), conservative
instrumentTypesselectall, crypto, forex, stocks, commodities
orderTypesselectmarket, limit, stop-loss, take-profit
currentPositionshiddenJSON array of open positions
maxHistoryIterationsnumber1–100, default 20

Output Fields

FieldTypeWhat it contains
resultsstringFull analysis or decision reasoning
marketStatestringBrief market summary
ordersarrayTrading orders (empty if no decisions)
ordersCountnumberNumber of orders
triggeredWorkflowsarrayWorkflows that were triggered
triggeredCountnumberNumber of workflows triggered
memorySizenumberCurrent history depth
latestActionstringLast order's action (buy/sell/close/hold)
latestSymbolstringLast order's symbol
latestCertaintynumberLast order's confidence

Use Cases

1. Market Monitor With Memory

[Schedule Trigger] → [Fetch Market Data] → [AI Makler: analysis] → [Condition: alert?] → [Telegram Notify]

AI Makler runs every hour, sees how conditions evolved, and sends alerts when patterns change.

2. Signal Generator With Position Tracking

[Schedule] → [Fetch Data + News] → [AI Makler: decision] → [Save Orders to User List]

Agent analyses market data and news, returns buy/sell signals with targets and stop-losses.

3. Portfolio Manager

[Trigger] → [Fetch Positions + Market Data] → [AI Makler: decision] → [Run Workflow "Execute Orders"]

Agent receives current open positions, reviews each one, and decides what to do. The execution workflow handles the actual order placement.

4. Multi-Strategy Coordinator

[Trigger] → [AI Makler: analysis]
→ [Trigger: Run Backtest Workflow]
→ [Trigger: Run Risk Analysis Workflow]

Agent decides which analysis workflows to run based on market conditions, passing relevant data to each.

Memory in Action

When AI Makler runs for the first time, it has clean memory. After each session, it saves:

  • What the market looked like
  • What analysis it produced
  • What orders it generated
  • What workflows it triggered

On the next run, it gets a summary of previous sessions:

PREVIOUS SESSIONS (most recent first):
[1] 2026-06-21T08:00:00 | BTCUSD: Bullish, ETHUSD: Neutral | Orders: 2
[2] 2026-06-20T20:00:00 | BTCUSD: Ranging, high volume | Orders: 1 | Triggered: 1
[3] 2026-06-20T12:00:00 | BTCUSD: Bearish rejection at 88k

This context lets the agent spot trends in its own decision-making and adapt.

This is not financial advice. Trading involves substantial risk of financial loss. The AI Makler worker is a tool for analysis and automation — all trading decisions should be reviewed by a qualified professional. Past performance in memory does not guarantee future results.

Fetch Data with Prices - Access Comprehensive Financial Market Data

· 5 min read
ApudFlow OS
Platform Updates

In the world of financial analysis and algorithmic trading, access to reliable, comprehensive price data is the foundation of successful strategies. Introducing the Fetch Data with Prices worker - your gateway to historical and real-time market data across stocks, cryptocurrencies, currencies, and commodities on the ApudFlow platform.

What is Fetch Data with Prices?

The Fetch Data with Prices worker provides seamless access to OHLC (Open, High, Low, Close) price data and volume information for a wide range of financial instruments. Whether you're building trading algorithms, conducting technical analysis, or creating market research reports, this worker delivers the data you need in the format you want.

Key Advantages

  • Universal Market Coverage: Access data for stocks, cryptocurrencies, forex pairs, and commodities
  • Flexible Time Intervals: From 1-minute intraday data to monthly aggregations
  • Global Timezone Support: Convert timestamps to any major timezone for accurate analysis
  • High-Performance Queries: Optimized data retrieval for fast, reliable results
  • Workflow Integration: Seamlessly combine with analysis and visualization tools
  • Comprehensive Data: OHLC prices plus volume data for complete market analysis

Perfect for Multiple Use Cases

For Traders

  • Build automated trading strategies with historical data
  • Backtest trading algorithms across different timeframes
  • Monitor price movements in real-time for live trading decisions
  • Analyze volume patterns to understand market participation

For Analysts

  • Conduct technical analysis with multiple timeframe data
  • Create custom indicators and statistical models
  • Study price correlations across different asset classes
  • Generate comprehensive market reports and visualizations

For Developers

  • Feed price data into machine learning models
  • Build custom trading bots and automated systems
  • Create real-time dashboards and monitoring tools
  • Develop algorithmic trading strategies

How It Works in Your Workflow

The Fetch Data with Prices worker integrates effortlessly into your ApudFlow workflows, serving as the data foundation for your analytical processes.

1. Select Your Instruments

Choose from thousands of available symbols using the intelligent autocomplete search. The worker supports:

  • Stocks: Major exchanges worldwide (AAPL, TSLA, GOOGL, etc.)
  • Cryptocurrencies: BTC, ETH, and other digital assets
  • Forex: Major currency pairs (EUR/USD, GBP/USD, etc.)
  • Commodities: Gold, oil, and other physical assets

2. Define Your Time Parameters

Set precise date ranges and intervals to match your analysis needs:

  • Intraday: 1m, 5m, 15m, 30m, 1h, 2h, 4h for detailed analysis
  • Daily/Monthly: 1d, 5d, 7d, 1w, 1M, 3M for longer-term studies
  • Custom Ranges: Any start/end date combination

3. Choose Your Timezone

Select from major global timezones to ensure your data aligns with market hours and your local time preferences.

4. Combine with Analysis Tools

The real power emerges when you connect Fetch Data with Prices to other workers:

With Technical Analysis Workers:

  • Calculate moving averages, RSI, MACD, and other indicators
  • Generate buy/sell signals based on technical patterns
  • Create automated trading strategies

With AI Analyzers (like AI Data Analyzer):

  • Apply machine learning to price patterns
  • Predict future price movements
  • Identify market anomalies and opportunities

With Visualization Workers:

  • Create interactive charts and graphs
  • Build real-time dashboards
  • Generate performance reports

With Notification Workers (like Telegram Notify):

  • Receive alerts on price movements
  • Get notified of significant market events
  • Share price updates with your team

Real-World Examples

Example 1: Technical Analysis Dashboard

Create a comprehensive analysis workflow:

  1. Fetch daily price data for S&P 500 stocks
  2. Calculate technical indicators (RSI, MACD, Bollinger Bands)
  3. Generate buy/sell signals based on indicator combinations
  4. Display results in interactive charts on your dashboard
  5. Send alerts when signals trigger

Example 2: Crypto Trading Bot

Build an automated cryptocurrency trading system:

  1. Fetch 5-minute price data for BTC/USD
  2. Apply momentum and trend-following algorithms
  3. Execute trades based on predefined criteria
  4. Track performance and generate reports
  5. Adjust strategies based on backtesting results

Example 3: Multi-Asset Portfolio Analysis

Monitor a diversified investment portfolio:

  1. Fetch price data for stocks, bonds, and commodities
  2. Calculate portfolio returns and risk metrics
  3. Generate correlation analysis across assets
  4. Create performance visualizations
  5. Send weekly portfolio summaries

Available Integration Options

Your Fetch Data with Prices worker can connect with many other platform workers, including:

  • Analysis Tools: Technical Analysis Calculator, AI Data Analyzer, VectorAnalyzer
  • Data Processing: Python Code, TimescaleDB SQL, MergeData
  • Visualization: Chart widgets, dashboard components
  • Communication: Telegram Notify, email notifications
  • Storage: MongoDB, Redis for caching and persistence
  • Workflow Control: Schedule Trigger, Loop for automated processing

Getting Started

  1. Add to Workflow: Drag the Fetch Data with Prices worker into your workflow canvas
  2. Select Symbol: Use autocomplete to find your desired instrument
  3. Set Parameters: Choose date range, interval, and timezone
  4. Connect Outputs: Link to analysis or visualization workers
  5. Test and Run: Execute your workflow to see price data in action

Why Choose Fetch Data with Prices?

  • Comprehensive Coverage: Access data across all major asset classes
  • Flexible Configuration: Customize timeframes and parameters for any use case
  • High Performance: Optimized queries ensure fast data retrieval
  • Global Timezone Support: Accurate timestamp conversion for international markets
  • Workflow Ready: Designed for seamless integration with analytical tools
  • Production Reliable: Built for both backtesting and live trading applications

Whether you're building sophisticated trading algorithms, conducting market research, or creating financial dashboards, the Fetch Data with Prices worker provides the reliable data foundation you need for successful financial analysis.

Start accessing comprehensive market data today and elevate your financial workflows to the next level!

FRED Economic Data Connector - Access Federal Reserve Economic Database

· 6 min read
ApudFlow OS
Platform Updates

In the world of financial analysis and economic research, access to reliable economic data is crucial. Introducing the FRED Economic Data Connector - a powerful new addition to the ApudFlow platform that provides seamless access to the Federal Reserve Economic Data (FRED) database, the premier source for US economic time series data.

What is FRED Economic Data Connector?

The FRED Economic Data Connector leverages the comprehensive FRED API maintained by the Federal Reserve Bank of St. Louis. FRED contains over 816,000 economic time series from 108 sources, making it the most comprehensive freely available database of US economic data.

Unlike traditional data providers that require expensive subscriptions, FRED provides free access to critical economic indicators, making sophisticated economic analysis accessible to everyone.

Key Features

  • Comprehensive Data Access: Connect to over 816,000 economic time series
  • Smart Autocomplete: Intelligent series ID suggestions as you type
  • Three Core Operations: Series observations, metadata, and releases
  • Flexible Data Retrieval: Custom date ranges, frequencies, and transformations
  • Federal Reserve Quality: Official data from the Federal Reserve Bank of St. Louis
  • Free API Access: No subscription costs for basic usage
  • Real-time Updates: Access to the latest economic data releases

Core Operations

1. Series Observations - Get Economic Data

Operation: series_observations Purpose: Retrieve actual economic data points for any series

Key Parameters:

  • series_id: The FRED series identifier (with autocomplete)
  • start_date: Start date (optional, format: YYYY-MM-DD)
  • end_date: End date (optional, format: YYYY-MM-DD)
  • frequency: Data frequency - d/daily, w/weekly, m/monthly, q/quarterly, a/annual
  • units: Data transformation - lin/levels, chg/change, pch/percent change

Example - GDP Data:

{
"series_id": "GDPC1",
"start_date": "2020-01-01",
"end_date": "2024-12-31",
"frequency": "q",
"units": "lin"
}

Output:

{
"series_id": "GDPC1",
"count": 20,
"observations": [
{"date": "2024-07-01", "value": "22679.3"},
{"date": "2024-04-01", "value": "22605.4"},
{"date": "2024-01-01", "value": "22496.7"}
]
}

2. Series Information - Metadata & Details

Operation: series_info Purpose: Get detailed information about a data series

Key Parameters:

  • series_id: The FRED series identifier (with autocomplete)

Example - Get GDP Metadata:

{
"series_id": "GDPC1"
}

Output:

{
"series_id": "GDPC1",
"title": "Real Gross Domestic Product",
"units": "Billions of Chained 2012 Dollars",
"frequency": "Quarterly",
"seasonal_adjustment": "Seasonally Adjusted Annual Rate",
"last_updated": "2024-10-30 07:53:02-05",
"observation_start": "1947-01-01",
"observation_end": "2024-07-01"
}

3. Economic Releases - Latest Data Updates

Operation: releases Purpose: Get information about recent economic data releases

Key Parameters:

  • limit: Number of releases to return (default: 25, max: 1000)

Example - Recent Releases:

{
"limit": 10
}

Output:

{
"count": 10,
"releases": [
{
"id": "53",
"name": "Gross Domestic Product",
"press_release": true,
"link": "https://www.federalreserve.gov/releases/gdp/",
"notes": "The Gross Domestic Product (GDP) is the market value of goods and services produced by labor and property in the United States."
}
]
}

Smart Autocomplete for Series Discovery

The FRED connector features intelligent autocomplete that helps you discover series IDs as you type. Simply start typing keywords like "GDP", "unemployment", "inflation", or "treasury" and get instant suggestions.

Popular Series Examples:

  • GDPC1 - Real Gross Domestic Product
  • UNRATE - Unemployment Rate
  • CPIAUCSL - Consumer Price Index
  • DGS10 - 10-Year Treasury Rate
  • MORTGAGE30US - 30-Year Mortgage Rate
  • DEXUSEU - US/Euro Exchange Rate
  • FEDFUNDS - Federal Funds Rate
  • HOUST - Housing Starts
  • INDPRO - Industrial Production Index

Data Transformation Options

FRED connector supports various data transformations:

  • Units: lin (levels), chg (change), pch (percent change)
  • Frequency: d (daily), w (weekly), m (monthly), q (quarterly), a (annual)
  • Date Ranges: Custom start/end dates for historical analysis

Practical Implementation Examples

Automated Economic Dashboard

Create a workflow that:

  1. Fetches latest GDP data using series_observations
  2. Retrieves unemployment rates with series_info for metadata
  3. Monitors inflation metrics with custom date ranges
  4. Generates economic health score
  5. Sends alerts on significant changes

Trading Strategy Integration

Build algorithmic trading strategies based on:

  • Federal Funds Rate changes (FEDFUNDS)
  • Employment data releases (PAYEMS)
  • GDP growth indicators (GDPC1)
  • Inflation metrics (CPIAUCSL)

Risk Management System

Monitor economic indicators for:

  • Recession signals using GDP data
  • Inflation pressure with CPI series
  • Labor market health via unemployment data
  • Currency stability with exchange rates

Getting Started

Ready to harness the power of economic data?

  1. Access FRED Connector in your ApudFlow workspace
  2. Start typing series IDs - use autocomplete to discover economic indicators
  3. Try popular series like GDPC1 (GDP), UNRATE (unemployment), or CPIAUCSL (inflation)
  4. Experiment with parameters - add date ranges, change frequencies, apply transformations
  5. Get series metadata using series_info to understand your data
  6. Monitor releases with the releases operation for latest updates
  7. Build automated workflows for economic analysis and alerts
Series IDDescriptionFrequencyUnits
GDPC1Real Gross Domestic ProductQuarterlyBillions of Chained 2012 Dollars
UNRATEUnemployment RateMonthlyPercent
CPIAUCSLConsumer Price IndexMonthlyIndex 1982-84=100
FEDFUNDSFederal Funds RateMonthlyPercent
DGS1010-Year Treasury RateDailyPercent
MORTGAGE30US30-Year Mortgage RateWeeklyPercent
DEXUSEUUS/Euro Exchange RateDailyUS Dollars per Euro
HOUSTHousing StartsMonthlyThousands of Units
INDPROIndustrial Production IndexMonthlyIndex 2017=100
PAYEMSAll Employees, Total NonfarmMonthlyThousands of Persons

API Limits and Best Practices

  • Without API Key: 2,000 requests per hour
  • With API Key: 120,000 requests per hour (optional)
  • Data Freshness: Most series update within 1-2 business days
  • Caching: Consider caching frequently used data
  • Rate Limiting: Built-in delays prevent API limit violations

Future Enhancements

We're continuously expanding FRED connector capabilities with:

  • Real-time data streaming for live economic indicators
  • Bulk data operations for large historical datasets
  • Advanced analytics integration with economic models
  • Multi-series correlation analysis tools
  • Automated report generation from economic data

Important Disclaimer: FRED Economic Data Connector provides access to economic and financial data for informational purposes. The data and analysis generated by this tool should not be considered as professional financial, investment, or trading advice. All investment decisions should be made based on your own research, risk tolerance, and consultation with qualified financial professionals. Economic data may be revised historically. Use this tool at your own risk and responsibility.

Federal Reserve Economic Data (FRED) is the premier source for US economic time series data. Whether you're building economic models, monitoring market conditions, or conducting financial research, FRED connector provides the economic intelligence you need to make informed decisions.

Questions about implementing FRED connector? Our support team is here to help you integrate economic data into your workflows! 📊💹📈