class_docstr: Construct total return (spot) indices for FX. In future will also convert assets from local currency to foreign currency
  denomination and construct indices from forwards series.
class_docstr_tok: ["Construct","total","return","(","spot",")","indices","for","FX",".","In","future","will","also","convert","assets","from","local","currency","to","foreign","currency","denomination","and","construct","indices","from","forwards","series","."]
code: def __init__(
      self,
      market_data_generator=None,
      depo_tenor=market_constants.spot_depo_tenor,
      construct_via_currency="no",
      output_calculation_fields=market_constants.output_calculation_fields,
      field="close",
  ):
      self._market_data_generator = market_data_generator
      self._calculations = Calculations()
  
      self._depo_tenor = depo_tenor
      self._construct_via_currency = construct_via_currency
      self._output_calculation_fields = output_calculation_fields
      self._field = field
  
file_path: finmarketpy/finmarketpy/curve/fxspotcurve.py
imports: import pandas
  from numba import guvectorize
  from findatapy.market import Market, MarketDataRequest
  from findatapy.timeseries import Calculations
  from finmarketpy.util.marketconstants import MarketConstants
label_desc: Use image node_id 1 to create a new FXSpotCurve object from inherited base classes: object with example: obj = FXSpotCurve(market_data_generator, depo_tenor, construct_via_currency, output_calculation_fields, field)