ParseTrades: Parse trades through a .csv file.

View source: R/ParseTrades.R

ParseTradesR Documentation

Parse trades through a .csv file.

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

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


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


sa-ccr/Trading documentation built on Feb. 23, 2024, 9:26 p.m.