code: def default_initialize(context):
      # FIXME: set_benchmark
      # set_benchmark(symbol(context.parameters.COIN_PAIR))
  
      context.coin_pair = symbol(context.parameters.COIN_PAIR)
      context.base_price = None
      context.current_day = None
      context.counter = -1
      context.i = 0
  
      context.candles_sample_rate = (
          context.parameters.CANDLES_SAMPLE_RATE
      )
      context.candles_frequency = context.parameters.CANDLES_FREQUENCY
      context.candles_buffer_size = (
          context.parameters.CANDLES_BUFFER_SIZE
      )
      context.set_commission(
          commission.PerShare(cost=context.parameters.COMMISSION_FEE)
      )
  
file_path: catalyst/catalyst/support/issue_216.py
imports: import sys
  import os
  import signal
  import pandas
  from logbook import Logger
  from catalyst import run_algorithm
  from catalyst.api import symbol, record, order
  from catalyst.finance import commission
label_desc: Use image node_id 3 for calling a global function with example usage: default_initialize(context) without return types