code: def stream_net_worths(net_worths):
      index = 0
      for i in net_worths:
          yield index, {"net_worth": i}
          index += 1
  
file_path: tensortrade/tests/tensortrade/unit/env/default/test_rewards.py
imports: import pytest
  import numpy
  import pandas
  from collections import OrderedDict
  import tensortrade.env.default.rewards
  from tensortrade.core import TradingContext
  from tensortrade.oms.wallets import Portfolio
  from tensortrade.oms.instruments import USD
label_desc: Use image node_id 3 for calling a global function with example usage: stream_net_worths(net_worths) without return types