class_docstr: An object to perform a Monte Carlo run/simulation.
class_docstr_tok: ["An","object","to","perform","a","Monte","Carlo","run\/simulation","."]
docstr: :param num_trials: Number of iterations of the Monte Carlo run/simulation, default: 1000
docstr_tok: [":","param","num_trials",":","Number","of","iterations","of","the","Monte","Carlo","run\/simulation",",","default",":","1000"]
code: def __init__(self, num_trials: int = 1000):
      """
      :param num_trials: Number of iterations of the Monte Carlo run/simulation, default: 1000
      """
      self.num_trials = num_trials
  
file_path: FinQuant/finquant/monte_carlo.py
imports: from typing import Any, Callable, Dict, Optional, Tuple
  import matplotlib.pylab
  import numpy
  import pandas
  from finquant.data_types import FLOAT, INT
  from finquant.quants import annualised_portfolio_quantities
  from finquant.type_utilities import type_validation
label_desc: Use image node_id 1 to create a new MonteCarlo object  with example: obj = MonteCarlo(num_trials)