FIMAS

Name
  CalculateMaxNumberOfSharesToBuy

Parent
  TFMSTransactionRequestAccount

Visibility
  PUBLIC

Description
  Maximum number of shares that trader can afford for his money.
Maximum number of shares that trader can afford for his money.

Source code
  function CalculateMaxNumberOfSharesToBuy ( const APrice : Double ; const AMoney : Double ; ALeaveExtraMoneyToSellShares : Boolean = True ; AssertIfUnsuccessful : Boolean = True ) : Integer ; overload ; virtual

Parameters
 
Parameter Description
APrice : DOUBLE  
AMoney : DOUBLE  
ALeaveExtraMoneyToSellShares : BOOLEAN  
AssertIfUnsuccessful : BOOLEAN  

FIMAS


Copyright Alexander Federyakov aka Da Stranger
Created with DelphiCodeToDoc. To obtain the latest revision, please visit http://dephicodetodoc.sourceforge.net/