Skip to content

include.non.trading.days = TRUE not returning non-trading days. #365

@jtmyers586

Description

@jtmyers586

I am trying to get daily price information from Bloomberg for a time series which includes weekends.
Within Bloomberg's spreadsheet builder, the optional parameter is Alignment Calendar: 7D-7 BUS DAY NO HOLIDAY.

My assumption is that the following should work, where each of fields correctly pulls the data.

        bdh(
          con = con,
          securities = bloomberg_file$Ticker[i],
          fields = bloomberg_file$Data_Type[i],
          start.date = sdate,
          end.date = edate,
          include.non.trading.days = TRUE,
          options = c("periodicitySelection" = "DAILY")
        )

The above code does not include non-trading days.
When digging through older Q's I found some conversation on this dating back to 2016 with no resolution.
What can I do to resolve this issue?

Johnny

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions