def get_crypto_positions(info=None): """Returns crypto positions for the account. :param info: Will filter the results to get a specific value. :type info: Optional[str] :returns: Returns a list of dictionaries of key/value pairs for each option. If info parameter is provided, \ a list of strings is returned where the strings are the value of the key that matches info. """ url = urls.crypto_holdings() data = helper.request_get(url, 'pagination') return(helper.filter(data, info))
def get_crypto_positions(info=None): """Returns crypto positions for the account. :param info: Will filter the results to get a specific value. :type info: Optional[str] :returns: [list] Returns a list of dictionaries of key/value pairs for each option. If info parameter is provided, \ a list of strings is returned where the strings are the value of the key that matches info. :Dictionary Keys: * account_id * cost_basis * created_at * currency * id * quantity * quantity_available * quantity_held_for_buy * quantity_held_for_sell * updated_at """ url = urls.crypto_holdings() data = helper.request_get(url, 'pagination') return (helper.filter_data(data, info))