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 __init__(self):
      super(TradingModel, self).__init__()
  
      ##### FILL IN WITH YOUR OWN PARAMETERS FOR display, dumping, TSF etc.
      self.market = Market(market_data_generator=MarketDataGenerator())
      self.DUMP_PATH = ""
      self.FINAL_STRATEGY = "FX trend"
      self.SCALE_FACTOR = 1
      self.DEFAULT_PLOT_ENGINE = "matplotlib"
  
      self.br = self.load_parameters()
      return
  
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 1 to create a new TradingModelFXTrend_BBG_Example object from inherited base classes: TradingModel with example: obj = TradingModelFXTrend_BBG_Example()