BrazilFinancialData.FundsCVM.get_daily_inf_monthMethod
get_daily_inf_month(
    date::Date;
    generate_csv=false,
    csv_path="cvm_data.csv"    
)::DataFrame

Get the data of all available funds in a specific month from CVM(Comissão de Valores Mobiliários) database and returns formated in a DataFrame.

Arguments

  • date: the date of the desired month.
  • generate_csv: if true will be generated a CSV file from the return DataFrame.
  • csv_path: the path where the CSV file will be saved.

Examples

julia> BrazilFinancialData.FundsCVM.getdailyinfmonth(Date(2020,6,10)) julia> BrazilFinancialData.FundsCVM.getdailyinfmonth(Date(2020,6,10), generatexlsx=true, xlsxpath="./FundsData.xlsx")

BrazilFinancialData.FundsCVM.get_daily_inf_periodMethod
get_daily_inf_period(
    initial_date::Date,
    final_date::Date;
    include_begin=true,
    include_end=true,
    generate_csv=false,
    csv_path="cvm_data.csv"    
)::DataFrame

Get the data of all available funds in a specific period from CVM(Comissão de Valores Mobiliários) database and returns formated in a DataFrame. The data from CVM is monthly, but the function supports specific days.

Arguments

  • initial_date: the initial date of the period.
  • final_date: the final date of the period.
  • include_begin: if true the first day will be include. Otherwise only the days after will.
  • include_end: if true the last day will be include. Otherwise only the days before will.
  • generate_csv: if true will be generated a CSV file from the return DataFrame.
  • csv_path: the path where the CSV file will be saved.

Example

julia> BrazilFinancialData.FundsCVM.getdailyinfperiod(Date(2020,6,10), Date(2020,8,14), includeend=false, include_begin=false)

BrazilFinancialData.FundsCVM.get_fund_daily_infMethod
get_fund_daily_inf(
    fund_cnpj::String,
    initial_date::Date,
    final_date::Date;
    include_begin = true,
    include_end = true,
    only_quotes::Bool = false,
    generate_xlsx::Bool = false,
    xlsx_path::String = "",
    generate_csv::Bool = false,
    csv_path::String = ""
)::DataFrame

Get the data of selected fund in a specific period from CVM(Comissão de Valores Mobiliários) database and returns formated in a DataFrame. The data from CVM is monthly, but the function supports specific days.

Arguments

  • fund_cnpj: a String, the CNPJ of the desired fund.
  • initial_date: the initial date of the period.
  • final_date: the final date of the period.
  • include_begin: if true the first day will be include. Otherwise only the days after will.
  • include_end: if true the last day will be include. Otherwise only the days before will.
  • generate_xlsx: if true will be generated a XLSX file from the return DataFrame.
  • xlxs_path: the path where the XLSX file will be saved.
  • generate_csv: if true will be generated a CSV file from the return DataFrame.
  • csv_path: the path where the CSV file will be saved.

Example

julia> BrazilFinancialData.FundsCVM.getfunddailyinf("97.929.213/0001-34", Date(2021,1), Date(2021,2), includeend=false, generatexlsx=true, xlsxpath = "fund.xlsx"

BrazilFinancialData.FundsCVM.get_fund_statement_periodFunction
get_fund_statement_period(
    fund_cnpj::String,
    initial_date::Date,
    final_date::Date,
    include_begin::Bool=true,
    include_end::Bool=true,
    generate_xlsx::Bool = false,
    xlsx_path::String = "",
    generate_csv::Bool = false,
    csv_path::String = ""
)::DataFrame

Get the statement of a specific fund in a specific period of years from CVM(Comissão de Valores Mobiliários) database and returns formated in a DataFrame. Can export CSV or/and XLSX files.

Arguments

  • fund_cnpj: a String, the CNPJ of the desired fund.
  • initial_date: the initial date of the period.
  • final_date: the final date of the period.
  • include_begin: if true the first day will be include. Otherwise only the days after will.
  • include_end: if true the last day will be include. Otherwise only the days before will.
  • generate_xlsx: if true will be generated a XLSX file from the return DataFrame.
  • xlxs_path: the path where the XLSX file will be saved.
  • generate_csv: if true will be generated a CSV file from the return DataFrame.
  • csv_path: the path where the CSV file will be saved.

Example

julia> BrazilFinancialData.FundsCVM.getfundstatement_period(Date(2020), Date(2021))

BrazilFinancialData.FundsCVM.get_statement_periodFunction
get_statement_period(
    initial_date::Date,
    final_date::Date,
    include_begin::Bool=true,
    include_end::Bool=true
)::DataFrame

Get the statement of all funds in a specific period of years from CVM(Comissão de Valores Mobiliários) database and returns formated in a DataFrame.

Arguments

  • initial_date: a Date, the initial date.
  • final_date: a Date, the final date.
  • final_date: a Date, the final date.
  • include_begin: if true the first day will be include. Otherwise only the days after will.
  • include_end: if true the last day will be include. Otherwise only the days before will.

Example

julia> BrazilFinancialData.FundsCVM.getstatementperiod(Date(2020), Date(2021))

BrazilFinancialData.FundsCVM.get_statement_yearMethod
get_statement_year(date::Date)::DataFrame

Get the statement of all funds in a specific year from CVM(Comissão de Valores Mobiliários) database and returns formated in a DataFrame.

Arguments

  • date: a Date, the desired year.

Example

julia> BrazilFinancialData.FundsCVM.getstatementDates.year(Date(2021))