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).
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",")","."]
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.CHART_STYLE = Style(plotly_plot_mode="offline_jupyter")
  
      self.br = self.load_parameters()
      return
  
file_path: finmarketpy/finmarketpy_examples/tradingmodelfxtrend_example.py
imports: import datetime
  from findatapy.market import Market, MarketDataGenerator, MarketDataRequest
  from finmarketpy.backtest import TradingModel, BacktestRequest
  from finmarketpy.economics import TechIndicator
  from chartpy import Style
  from findatapy.util.dataconstants import DataConstants
label_desc: Use image node_id 1 to create a new TradingModelFXTrend_Example object from inherited base classes: TradingModel with example: obj = TradingModelFXTrend_Example()