
char name="onvista-trans"
char shortDescr="Profile of Onvista Transaction Reports"
char longDescr="This profile supports the CSV format of Onvista Transaction 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="1"
char posNegFieldName="type"
char positiveValues="kauf"
char negativeValues="verkauf"
int defaultIsPositive="1"


params {

  # no line to ignore
  int ignoreLines="5"
  
  # if 1 then values are quoted
  quote="0"
  
  # 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 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="date"
    2="valutadate"
    3="type"
    4="units"
    5="remoteName"
    6 {
      delimiter="/"
      1="wkn"
      2="unitId" # isin
    }
    7="value/value"
    8="value/currency"
    9="unitPriceValue/value"
    10="unitPriceValue/currency"
  } # columns

} # params

