Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method ExportStrategies ( 
 | 
  Boolean isexportbinary, 
 | 
  output BinaryValues binaryvalues, 
 | 
  output Strings brokernames 
 | 
) 
 | 
{ 
 | 
  Description: 'Export strategies to excel' 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Martijn Apr-18-2016 (created) 
 | 
    progress( 'Exporting Strategies', DateTime::ActualTime() ); 
 | 
     
 | 
    if( isexportbinary ) 
 | 
    { 
 | 
      binarydata := this.SM_ExportStrategiesBroker().ExecuteToXLS( true ); 
 | 
      binaryvalues.Add( binarydata.AsBinaryValue() ); 
 | 
      brokernames.Add( typeof( SM_ExportStrategiesBroker ).ShortName() ); 
 | 
                          
 | 
    } 
 | 
    else 
 | 
    { 
 | 
      this.SM_ExportStrategiesBroker().Execute(); 
 | 
    } 
 | 
  *] 
 | 
} 
 |