Modeling Maximum Trading Profits with C++: New Trading and Money Management Concepts

Valerii Salov

  • 出版商: Wiley
  • 出版日期: 2007-02-01
  • 售價: $3,120
  • 貴賓價: 9.5$2,964
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Paperback
  • ISBN: 0470086238
  • ISBN-13: 9780470086230
  • 相關分類: C++ 程式語言
  • 海外代購書籍(需單獨結帳)



"Mr. Salov has taken one of my favorite creations – Perfect Profit – and provided an expanded description of his interpretation of it and put it in your hands with the included software. Like I said fifteen years ago, Perfect Profit is an important tool for the trading system developer. See for yourself."

—Robert Pardo, President, Pardo Capital Limited

"A very in-depth reference for programmers that should serve well into the future. The code herein lends itself well to other syntactically similar programming languages such as Java, PHP, and C#."

—Ralph Vince

The goal of trading is to make money, and for many, profits are the best way to measure that success. Author Valerii Salov knows how to calculate potential profit, and in Modeling Maximum Trading Profits with C++, he outlines an original and thought-provoking approach to trading that will help you do the same.

This detailed guide will show you how to effectively calculate the potential profit in a market under conditions of variable transaction costs, and provide you with the tools needed to compute those values from real prices. You'll be introduced to new notions of s-function, s-matrix, s-interval, and polarities of s-intervals, and discover how they can be used to build the r- and l-algorithms as well as the first and second profit and loss reserve algorithms. Optimal money management techniques are also illustrated throughout the book, so you can make the most informed trading decisions possible.

Filled with in-depth insight and expert advice, Modeling Maximum Trading Profits with C++ contains a comprehensive overview of trading, money management, and C++. A companion CD-ROM is also included to help you test the concepts described throughout the book before you attempt to use them in real-world situations.


Table of Contents


CHAPTER 1 Potential Profit as a Measure of Market Performance.

Profit and Potential Profit.

Price Flow and C++.

Pardo’s Potential Profit.


CHAPTER 2 Potential Profit and Transaction Costs.

What Is a Trading Strategy?

Properties of Potential Profit Strategy.

Transaction Costs.

Transaction Costs and C++.

Profit-and-Loss Function.


CHAPTER 3 R- and L-Algorithms for Maximum Profit Strategy.

S-Function and S-Matrix.

S-Interval and Its Boundaries.

The Best Buying and Selling Points on the S-Interval.

Polarity of S-Intervals.



C++ Implementation.

C++ Program Evaluating Potential Profit.


CHAPTER 4 Money Management and Discrete Nature of Trading.


Induction and Trading Account Size.

Growth Function and Optimal B.

Discrete Nature of Trading.


CHAPTER 5 Money Management for Potential Profit Strategy.

The Best Allocation Fraction for Potential Profit Strategy.

Self-Financing Restriction.

Minimal A0.

Actions and Positions Test4.cpp.

The First and Second P&L Reserves.

Rules for Offsetting Positions.

Classes Trade and Trades.

Class Position.

Using Position and Trades Test5.cpp.


CHAPTER 6 Best to Better.

Algorithm for the First Profit-and-Loss Reserve Strategy.

Algorithm for the Second P&L Reserve Strategy.

Program Applying Three Algorithms.


CHAPTER 7 Direct Applications.

Only in the Past.

Sleeping Beauty.

War and Peace.


CHAPTER 8 Indicators Based on Potential Profit.

Performance Measures and Indicators.

Strategy Evaluation.


CHAPTER 9 Statistics of Trades and Potential Profit.

Statistical Properties of Trades.

Program Evaluating Strategy and Trades.


CHAPTER 10 Comparing Markets.

Time Frame and Prices.

Selected Contracts.

Data File Format.

Results of Applications of Maxprof3 and Evaluate.

Multimarket Potential Profit Algorithms.



Bibliography and Sources.

About the CD-ROM.