
char name="comdirect-prices"
char shortDescr="Profile of Comdirect Depot Status Reports"
char longDescr="This profile supports the CSV format of Comdirect Depot Status Reports"
int import="1"
int export="1"

char type="csv"
char transactionType="brokerage"
char groupNames="transaction", "transfer", "debitnote", "line"
char dateFormat="DD.MM.YYYY"
int utc="0"

# The following vars are used when there is an additional field within a
# record which defines the sign of the amount.
# Some banks use "C" (positive) and "D" (negative) or "Af" (negative) and
# "Bij" (positive)
int usePosNegField="0"
# char posNegFieldName="type"
# char positiveValues="kauf"
# char negativeValues="verkauf"
# int defaultIsPositive="1"



params {
  
  # number of lines to ignore
  int ignoreLines="1"
  
  # if 1 then values are quoted
  quote="1"
  
  # if 1 then a title line will be written containing the names of each
  # column
  title="1"
  
  # special values are "TAB" and "SPACE"
  delimiter=";"
  
  # this is the group name looked for in the given data to GWEN_CSV_Write
  # if not given then all groups match
  # group="transaction"
  
  # this group contains the definition for each column
  # each variable in this group has its number as name
  # you can use index variables in the names (using square brackets)
  # the value of each of these variables is the name of a variable to be looked
  # up in the data given to GWEN_CSV_Write
  columns {
    1="units"
    2="remoteName"
    3="purpose"                    # notizen
    4="unitId"                     # WKN
    5="type"                       # not used
    6="unitPriceValue/currency"
    7="unitPriceValue/value"
    8="diffAbs/value"              # not used
    9="diffPercent/value"          # not used
    10="value/value"               # buy value (buyPrice x units)
    11="value/currency"         
    12="valueDiffAbs/value"        # not used
    13="valuePercent/value"        # not used
    14="date"
    15="time"                      # not used
    16="location"                  # not used
    17="buyPrice/value"            # not used
    18="buyPrice/currency"         # not used
  } # columns

} # params

