ParseTrades: Parse trades through a .csv file.

Description Usage Arguments Value Author(s) Examples

View source: R/ParseTrades.R

Description

Parse trades through a .csv file. In case no file name is given, an example file is automatically loaded containing trades corresponding to Basel's SA-CCR regulation (the example trades file can be found on the extdata folder in the installation library path)

Usage

1
ParseTrades(csvfilename)

Arguments

csvfilename

the name of csv file containing the trades

Value

A list of trades

Author(s)

Tasos Grivas <tasos@openriskcalculator.com>

Examples

1
2
3
## calling ParseTrades() without an argument loads a test file containing all
## the different trade types supported
example_trades = ParseTrades()

Trading documentation built on May 19, 2017, 3:59 p.m.

Search within the Trading package
Search all R packages, documentation and source code