def trade_update_position(current_position, symbol, trade):
    """
    产生Trade更新对应Postion
    """
    base_currency = symbol.split('/')[0].lower()
    quote_currency = symbol.split('/')[1].lower()
    current_position[base_currency].trade_update('base', trade)
    current_position[quote_currency].trade_update('quote', trade)
    current_position[base_currency].trade_update_cost('base', trade,
        current_position[quote_currency])
    current_position[quote_currency].trade_update_cost('quote', trade,
        current_position[base_currency])
