docstr: Generate target position from score for this date and the current position.The cash is not considered in the position
  
  Parameters
  -----------
  score : pd.Series
      pred score for this trade date, index is stock_id, contain 'score' column.
  current : Position()
      current position.
  trade_start_time: pd.Timestamp
  trade_end_time: pd.Timestamp
docstr_tok: ["Generate","target","position","from","score","for","this","date","and","the","current","position.The","cash","is","not","considered","in","the","position","Parameters","--","--","--","--","--","-","score",":","pd.Series","pred","score","for","this","trade","date",",","index","is","stock_id",",","contain","'score","'","column",".","current",":","Position","(",")","current","position",".","trade_start_time",":","pd.Timestamp","trade_end_time",":","pd.Timestamp"]
code: def generate_target_weight_position(
      self, score, current, trade_start_time, trade_end_time
  ):
      """
      Generate target position from score for this date and the current position.The cash is not considered in the position
  
      Parameters
      -----------
      score : pd.Series
          pred score for this trade date, index is stock_id, contain 'score' column.
      current : Position()
          current position.
      trade_start_time: pd.Timestamp
      trade_end_time: pd.Timestamp
      """
      raise NotImplementedError()
  
imports: import os
  import copy
  import warnings
  import numpy
  import pandas
  from typing import Dict, List, Text, Tuple, Union
  from abc import ABC
  from qlib.data import D
  from qlib.data.dataset import Dataset
  from qlib.model.base import BaseModel
  from qlib.strategy.base import BaseStrategy
  from qlib.backtest.position import Position
  from qlib.backtest.signal import Signal, create_signal_from
  from qlib.backtest.decision import Order, OrderDir, TradeDecisionWO
  from qlib.log import get_module_logger
  from qlib.utils import get_pre_trading_date, load_dataset
  from qlib.contrib.strategy.order_generator import OrderGenerator, OrderGenWOInteract
  from qlib.contrib.strategy.optimizer import EnhancedIndexingOptimizer
label_desc: Use image node_id 2 for calling the WeightStrategyBase obj's underlying member method code with example usage: obj.generate_target_weight_position(score, current, trade_start_time, trade_end_time) without return types