Category: *DolphinDB

Coding towards CFA (36) – Performance Attribution with Brinson Model in DolphinDB and Python

Coding towards CFA (36) – Performance Attribution with Brinson Model in DolphinDB and Python

Performance attribution is discussed in the CFA Portfolio Management curriculum, specifically in Module 2, Section 2: "Active Management and Value Added". Performance attribution is a process used to decompose the "value added," i.e., the excess return relative to a benchmark, into different sources. In the CFA curriculum, a simplified Brinson model is presented, which discusses the basic calculations of … Continue reading Coding towards CFA (36) – Performance Attribution with Brinson Model in DolphinDB and Python

Coding towards CFA (23) – Parallel Monte Carlo Simulations with DolphinDB

Coding towards CFA (23) – Parallel Monte Carlo Simulations with DolphinDB

The Monte Carlo simulation method for pricing fixed-income instruments is introduced in CFA Level 2, Fixed Income, Module 2, Section 7. In this blog post, I will walk through the coding of the steps outlined in the CFA curriculum. The Monte Carlo approach can be computationally intensive, especially due to the need for simulating a … Continue reading Coding towards CFA (23) – Parallel Monte Carlo Simulations with DolphinDB

Coding towards CFA (16) – Dynamic Delta Hedging with DolphinDB

Coding towards CFA (16) – Dynamic Delta Hedging with DolphinDB

Delta hedging is an options trading strategy used to maintain a delta neutral position by ensuring that the overall delta of a portfolio is zero, so that the price fluctuations of the underlying asset do not significantly impact the position’s value. Dynamic delta hedging involves continuously adjusting the hedging position to account for changes in … Continue reading Coding towards CFA (16) – Dynamic Delta Hedging with DolphinDB

Coding towards CFA (15) – Real-Time Option Greeks Calculation with DolphinDB

Coding towards CFA (15) – Real-Time Option Greeks Calculation with DolphinDB

In the previous blog post, we explored option Greeks calculations using the BSM model. In this post, I’ll have some coding fun by implementing real-time Greeks calculations with the formulas from the last post, but this time using the DolphinDB stream processing framework. Here, I plan to mimic a portfolio consisting of option contracts with … Continue reading Coding towards CFA (15) – Real-Time Option Greeks Calculation with DolphinDB

Coding towards CFA (1) – Forward Contract Pricing & Valuation

This blog post focuses on pricing and valuing forward contracts for underlying assets with or without carry costs and benefits, as well as pricing stock index forward contracts. In this blog series, I will aim to code the formulas and model algorithms covered in the CFA Level 2 program using Python and DolphinDB. Each topic … Continue reading Coding towards CFA (1) – Forward Contract Pricing & Valuation

DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database

DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database

What makes me buy into DolphinDB:  Friendly DolphinDB –  Cross-Exchange Arbitraging Case Speedy DolphinDB – Why is DolphinDB so fast? Robust DolphinDB – Reliable, Scalable, Resilient, Consistent, and Monitorable Cost Effective DolphinDB – Worth the Money DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database When I chat about DolphinDB with someone, it’s common … Continue reading DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database

Cost Effective DolphinDB – Worth the Money

Cost Effective DolphinDB – Worth the Money

What makes me buy into DolphinDB: Friendly DolphinDB –  Cross-Exchange Arbitraging Case Speedy DolphinDB – Why is DolphinDB so fast? Robust DolphinDB – Reliable, Scalable, Resilient, Consistent, and Monitorable Cost Effective DolphinDB – Worth the Money DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database This is the fourth post in my series where … Continue reading Cost Effective DolphinDB – Worth the Money

Robust DolphinDB – How does DolphinDB Achieve Scalability, Reliability, Resilience, Consistency, and Monitorability

Robust DolphinDB – How does DolphinDB Achieve Scalability, Reliability, Resilience, Consistency, and Monitorability

What makes me buy into DolphinDB: Friendly DolphinDB –  Cross-Exchange Arbitraging Case Speedy DolphinDB – Why is DolphinDB so fast? Robust DolphinDB – Reliable, Scalable, Resilient, Consistent, and Monitorable Cost Effective DolphinDB – Worth the Money DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database As a high-performance database built for business-critical financial applications … Continue reading Robust DolphinDB – How does DolphinDB Achieve Scalability, Reliability, Resilience, Consistency, and Monitorability

Speedy DolphinDB – Why is DolphinDB So Fast?

Speedy DolphinDB – Why is DolphinDB So Fast?

What makes me buy into DolphinDB: Friendly DolphinDB –  Cross-Exchange Arbitraging Case Speedy DolphinDB – Why is DolphinDB so fast? Robust DolphinDB – Reliable, Scalable, Resilient, Consistent, and Monitorable Cost Effective DolphinDB – Worth the Money DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database In my last blog post, I showcased a cross-exchange … Continue reading Speedy DolphinDB – Why is DolphinDB So Fast?

Friendly DolphinDB – Cross-Exchange Arbitraging Case

Friendly DolphinDB – Cross-Exchange Arbitraging Case

What makes me buy into DolphinDB: Friendly DolphinDB –  Cross-Exchange Arbitraging Case Speedy DolphinDB – Why is DolphinDB so fast? Robust DolphinDB – Reliable, Scalable, Resilient, Consistent, and Monitorable Cost Effective DolphinDB – Worth the Money DolphinDB – An Integrated Financial Data Platform, Not Just a Time-Series Database I reckon there is no doubt that kdb+ has … Continue reading Friendly DolphinDB – Cross-Exchange Arbitraging Case