Original (English)

Command[0] .. Command[3]

Contains the numbers passed with the -i option on the command line.

Type:

int 

Define

The name given with the -d option on the command line

Type:

string

Remarks:

  • The Command variables are used for passing the live trading start date and bar offset to a Zorro instance in Retest mode.

Example:

function run()
{
  switch(Command[0]) {
    case 1: doThis(); break;
    case 2: doThat(); break;
  }
  ...
}

See also:

Command line

 

► latest version online

Übersetzung (Deutsch)

Command[0] .. Command[3]

Enthält die Zahlen, die mit der -i Option in der Befehlszeile übergeben wurden.

Typ:

int 

Define

Der Name, der mit der -d Option in der Befehlszeile angegeben wurde. 

Typ:

string

Bemerkungen:

  • Die Command-Variablen werden verwendet, um das Live-Trading-Startdatum und den Bar-Offset an eine Zorro-Instanz im Retest-Modus zu übergeben.

Beispiel:

function run()
{
  switch(Command[0]) {
    case 1: doThis(); break;
    case 2: doThat(); break;
  }
  ...
}

Siehe auch:

Befehlszeile

 

► latest version online