Learn R Programming

avfintools (version 0.1.0)

idret: After-hour and Pre-market Returns

Description

Show returns between the close of the last trading day and the open of the current trading day

Usage

idret(df)

Value

A vector in dataframe format of combined after-hour, overnight, and pre-market returns in percentage

Arguments

df

Dataframe with daily data

Examples

Run this code
idret(SPYdaily)

Run the code above in your browser using DataLab