Learn R Programming

Trading (version 3.2)

GetTradeDetails: Returns a list with the populated fields of a Trade Object

Description

Returns a list with the populated fields of a Trade Object

Usage

GetTradeDetails(trade)

Value

A list of fields

Arguments

trade

A trade Object

Author

Tasos Grivas <tasos@openriskcalculator.com>

Examples

Run this code

example_trades = ParseTrades()
Equity_Index_Future_trade = example_trades[[18]]
populated_fields = GetTradeDetails(Equity_Index_Future_trade)

Run the code above in your browser using DataLab