class_docstr: Shows how to create a simple FX CTA style strategy, using the 
  TradingModel abstract class (backtest_examples.py
  is a lower level way of doing this). Uses BBG total returns data.
class_docstr_tok: ["Shows","how","to","create","a","simple","FX","CTA","style","strategy",",","using","the","TradingModel","abstract","class","(","backtest_examples.py","is","a","lower","level","way","of","doing","this",")",".","Uses","BBG","total","returns","data","."]
code: def construct_signal(
      self, spot_df, spot_df2, tech_params, br, run_in_parallel=False
  ):
      ##### FILL IN WITH YOUR OWN SIGNALS
  
      # Use technical indicator to create signals
      # (we could obviously create whatever function we wanted for generating
      # the signal dataframe)
      tech_ind = TechIndicator()
      tech_ind.create_tech_ind(spot_df, "SMA", tech_params)
      signal_df = tech_ind.get_signal()
  
      return signal_df
  
file_path: finmarketpy/finmarketpy_examples/tradingmodelfxtrend_bbg_example.py
imports: import datetime
  from findatapy.market import Market, MarketDataGenerator, MarketDataRequest
  from finmarketpy.backtest import TradingModel, BacktestRequest
  from finmarketpy.economics import TechIndicator
label_desc: Use image node_id 4 for calling the TradingModelFXTrend_BBG_Example obj's underlying member method code with example usage: obj.construct_signal(spot_df, spot_df2, tech_params, br, run_in_parallel) and returns: signal_df