Get in Touch
 Duration 21 hours

Course Outline

Day 1 – Python Foundations for Financial Data

1.1 Python Essentials with Financial Data

  • Core data types
  • Lists
  • Dictionaries
  • Loops
  • List comprehensions
  • Functions
  • Practical examples: Tickers, positions, trades, and cash flows

1.2 Files, Reports, and APIs

  • Financial data formats
  • REST APIs
  • Error handling
  • CSV files
  • JSON
  • Excel
  • Regular expressions
  • Retries and timeouts
  • Secrets management

1.3 Data Analysis and Time Series with pandas

  • Returns calculation
  • Resampling data
  • Rolling windows
  • Group-by operations
  • Joins
  • Data visualization/Plotting
  • Working with pandas
  • Using matplotlib
  • Historical Value at Risk (VaR)
  • Maximum drawdown

1.4 Classes, Type Hints, Decorators, and Pydantic

  • Object-oriented classes
  • Type hints
  • Decorators
  • Pydantic models
  • Structured output generation
  • Managing agent state
  • Defining validation rules

1.5 Clean Code, Testing, and the Finance Toolkit

  • Modules
  • Packages
  • Logging practices
  • Unit testing
  • Git version control
  • Using pytest
  • Developing the Finance Toolkit

Day 2 – Building AI Agents

2.1 LLMs, Agents, and the LLM API

  • Capabilities and limitations of LLMs
  • Concepts of AI agents
  • Understanding models, tools, loops, and memory
  • Plain scripts versus single LLM calls
  • Prompt engineering
  • Generating structured output
  • Managing tokens
  • Optimizing cost and latency
  • System prompts
  • Few-shot prompting

2.2 Tool Calling and the Agent Loop by Hand

  • Implementing the agent loop
  • Using Python functions as tools
  • Integrating Finance Toolkit functions
  • The Reason–Act–Observe cycle
  • Mitigating prompt injection
  • Security considerations

2.3 Building Agents with LangChain and LangGraph

  • Utilizing LangChain
  • Utilizing LangGraph
  • Using framework tools
  • Managing conversation memory
  • Implementing tracing
  • Handling multi-step behaviors
  • Debugging agent decisions

2.4 RAG over Policies, Mandates, and Regulations

  • Processing internal and regulatory documents
  • Reviewing risk policies
  • Analyzing investment mandates
  • Understanding credit procedures
  • Compliance with IFRS 9
  • Basel requirements
  • MiFID II regulations
  • Analyzing annual reports
  • Document chunking and embeddings
  • Keyword and semantic search techniques
  • Applying metadata filters
  • Generating source citations
  • Evaluating retrieval quality

2.5 Data Analysis Agents

  • Automated code generation
  • Working with SQL
  • Utilizing pandas
  • Analyzing portfolio holdings and transactions
  • Conducting financial data analysis
  • Assessing exposure by sector, currency, or counterparty
  • Evaluating performance against benchmarks
  • Creating charts
  • Implementing sandboxed execution
  • Ensuring read-only data access
  • Validating results

Day 3 – Advanced Agents, Production, and Capstone

3.1 Controlled Workflows and Human-in-the-Loop

  • Designing controlled workflows
  • Creating auditable workflows
  • Implementing stateful LangGraph workflows
  • Managing risk-limit breaches
  • Portfolio rebalancing
  • Hedging strategies
  • Integrating human approval
  • Setting checkpoints
  • Maintaining audit trails

3.2 Multi-Agent Systems

  • Supervisor and worker patterns
  • Managing hand-offs
  • Sharing state between agents
  • Developing market agents
  • Developing risk agents
  • Developing reporting agents
  • Ensuring accuracy
  • Balancing cost and latency trade-offs
  • Comparing single-agent vs. multi-agent systems

3.3 Serving and Connecting Agents: FastAPI and MCP

  • Building with FastAPI
  • Creating REST APIs
  • Understanding MCP
  • Setting up MCP servers
  • Integrating with the Finance Toolkit
  • Establishing agent-to-agent connections
  • Using MCP-capable clients

3.4 Evaluation, Observability, Guardrails, and Governance

  • Evaluating agent performance
  • Creating evaluation sets
  • Monitoring accuracy, cost, and latency
  • Implementing tracing
  • Setting input/output guardrails
  • Conducting red teaming exercises
  • Complying with GDPR
  • Adhering to the EU AI Act
  • Meeting DORA requirements
  • Managing model risk
  • Implementing internal AI governance
  • Obtaining human sign-off

Requirements

  • Practical experience with Python (including variables, conditions, loops, functions, modules, and notebooks)
  • Familiarity with leveraging LLMs for daily tasks
  • (Ideal) A basic understanding of fundamental machine learning and AI concepts

Testimonials (1)

Upcoming Courses

Related Categories