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

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $47.98
Usually ships in 1-2 business days
(Save 46%)
Other sellers (Paperback)
  • All (14) from $47.98   
  • New (9) from $51.90   
  • Used (5) from $47.98   


"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.

Read More Show Less

Product Details

  • ISBN-13: 9780470086230
  • Publisher: Wiley
  • Publication date: 2/9/2007
  • Series: Wiley Trading Series, #298
  • Edition description: Includes CD
  • Edition number: 1
  • Pages: 264
  • Product dimensions: 7.56 (w) x 9.29 (h) x 0.54 (d)

Meet the Author

VALERII SALOV, PHD, is Vice President and Director of Financial Product Development for Toolkit at NumeriX LLC, a firm that provides software solutions for the pricing and management of derivatives. Previously, Salov worked at Merrill Lynch, where he helped develop automated systems for trading futures, equities, and foreign exchange. He received a PhD in analytical chemistry from the Russian Academy of Sciences.

Read More Show Less

Table of Contents



CHAPTER 1 Potential Profit as a Measure of MarketPerformance.

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- andL-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 ofTrading.


Induction and Trading Account Size.

Growth Function and Optimal B.

Discrete Nature of Trading.


CHAPTER 5 Money Management for Potential ProfitStrategy.

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.


Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)