class_docstr: Context manager for making an algorithm instance available to zipline API
  functions within a scoped block.
class_docstr_tok: ["Context","manager","for","making","an","algorithm","instance","available","to","zipline","API","functions","within","a","scoped","block","."]
code: def __init__(self, algo_instance):
      self.algo_instance = algo_instance
  
file_path: zipline/zipline/utils/api_support.py
imports: import zipline.api
  from zipline.utils.compat import wraps
  from zipline.utils.algo_instance import get_algo_instance, set_algo_instance
label_desc: Use image node_id 1 to create a new ZiplineAPI object from inherited base classes: object with example: obj = ZiplineAPI(algo_instance)