Beispiel #1
0
def err_suspend_orders(response):
    err_data = parse_classifier(response.get('_raw_elements', []), 'Orders')
    response['Orders'] = listy_mc_list(response.get('Orders', [])) + err_data
    return response
Beispiel #2
0
def err_cancel_market(response):
    err_data = parse_classifier(response.get('_raw_elements', []), 'Order')
    response['Order'] = listy_mc_list(response.get('Order', [])) + err_data
    return response
Beispiel #3
0
def err_withdrawals(response):
    err_data = parse_classifier(response.get('_raw_elements', []),
                                'Withdrawals')
    response['Withdrawals'] = listy_mc_list(response.get('Withdrawals',
                                                         [])) + err_data
    return response