Even though it's raw, this quant assistant agent I built can be compared to current agents like Claude (Anthropic), Cursor, and Windsurf. High-level summary Your agent is a focused, developer-controlled ReAct loop with MCP tooling and a local code-exec sandbox. It’s closer to a programmable research/analysis assistant than a full IDE agent. Compared to Claude/Cursor/Windsurf, … Continue reading Quant Assistant Agent Comparison to Robust Agents in Market
Uncategorized
How to Make Money by a Country and an Individual
Money, wealth, and prosperity—whether for a person or a nation—are not tangible assets in the way we often imagine. They're fundamentally created from "thin air," or more accurately, from credit and debt. The core principle is simple: money is a promise of future value. When a bank grants a loan, it's not simply handing you … Continue reading How to Make Money by a Country and an Individual
U.S. vs. China Debt and How Fed and Central Bank Play the Role
The U.S. national debt is the cumulative total of the federal government's annual budget deficits. It's a direct result of the government consistently spending more than it collects in taxes. This debt, in the form of Treasury securities, finances a wide range of government functions and programs, including social security, Medicare, defense, and infrastructure. During … Continue reading U.S. vs. China Debt and How Fed and Central Bank Play the Role
Quant Assistant Agent First Version Summary
The current setup uses the Model Context Protocol (MCP) which is: Request-Response based: Each tool call is a single request that returns a complete response JSON-based messaging: Structured but not optimized for streaming Stdio transport: Communication over stdin/stdout pipes Synchronous by nature: Even with async Python, the protocol itself expects complete responses Worth noting the system prompt … Continue reading Quant Assistant Agent First Version Summary
API Design Principles & Best Practices
Good API design is about creating a predictable, secure, well-documented interface that developers can easily understand and use reliably. Focus on consistency, clear error handling, proper status codes, and comprehensive documentation Restful Design Request/response Design HTTP Status Code API Versioning Input Validation/Sanitation Error Handling Documentation Design Security Design Performance Design Testing Design
Idea of Transforming MCP Agent to a Quant Assistant!
My current mcp server equipped agent can do # Current: Natural Language → Tool Selection → Results DisplayUser: "analyze my portfolio against S&P 500"Agent: [Calls pa_analyze_portfolio] → "Analysis complete! Results saved to Excel." After transformation, it will # Enhanced: Natural Language → Tool Execution → Code Generation → Advanced Analysis User: "analyze my portfolio against … Continue reading Idea of Transforming MCP Agent to a Quant Assistant!
Pytest and Unittest
pytest and unittest are both powerful and popular testing frameworks for Python, but they have different philosophies and approaches. Choosing between them often comes down to personal preference, project needs, and a trade-off between simplicity and built-in availability. unittest is Python's built-in testing framework, inspired by Java's JUnit. It's part of the standard library, meaning … Continue reading Pytest and Unittest
Efficient Way to Peruse a Codebase and Apply to My Workflow
With the rise of powerful AI tools, it's time to rethink how we work—moving away from traditional methods and embracing AI-augmented workflows. One of the biggest challenges I face is navigating complex, domain-specific codebases within large organizations—including my own. These often contain undocumented quirks, legacy bugs, and hidden logic that can be difficult to uncover, … Continue reading Efficient Way to Peruse a Codebase and Apply to My Workflow
Pitfalls in Using Claude Code
Directory Navigation Problems (My Main Concern): Claude Code frequently has trouble maintaining the correct working directory, often resetting to previous project directories or failing to change directories properly [BUG] wrong working directory · Issue #5038 · anthropics/claude-code +2. This is one of the most reported issues: Wrong Working Directory: Users report Claude Code starting in … Continue reading Pitfalls in Using Claude Code
Why JavaScript Dominates Both Frontend and Backend (But Python Can’t Do Frontend)
JavaScript was born for browser, it's the the only language that browsers natively understand for client-side scripting. // JavaScript was literally created for web browsers in 1995 <script> document.getElementById("myButton").onclick = function() { alert("Hello World!"); }; </script> In 2009, it was expanded to run on servers by node.js runtime, which was built on Chrome’s V8 engine. … Continue reading Why JavaScript Dominates Both Frontend and Backend (But Python Can’t Do Frontend)