def create_insert_order_leg_data(symbol_id, action, leg_quantity):
    """ Simple utililty function to generate a InsertOrderLegData structure as
    required by the accounts/:id/orders/strategy[/impact] API call.

    Arguments:
    symbol_id (int)     --  Internal symbol identifier
    action (enum)       --  Leg action
    leg_quantity (int)  --  Leg quantity
    """
    insert_order_leg_data = {'symbolId': symbol_id, 'action': action,
        'legQuantity': leg_quantity}
    return insert_order_leg_data
