// GetActiveOrdersAllPages gets all the actives orders of the client in a given market.
// returns an array of orders.
//
// List of accepted Arguments:
//   - required: Market (string)
//   - optional: none
// https://developers.cryptomkt.com/es/#ordenes-activas
GetActiveOrdersAllPages gets all the actives orders of the client in a given market.
returns an array of orders.


// GetActiveOrdersAllPages gets all the actives orders of the client in a given market . // returns an array of orders . // // List of accepted Arguments : // - required : Market ( string ) // - optional : none // https : // developers . cryptomkt . com / es / #ordenes - activas
func (client *Client) GetActiveOrdersAllPages(arguments ...args.Argument) ([]Order, error) {
	req, err := makeReq([]string{"market"}, arguments...)
	if err != nil {
		return nil, fmt.Errorf("Error in GetAllActiveOrders: %s", err)
	}
	neededArguments := []args.Argument{args.Page(0), args.Limit(100)}
	argsMap := req.GetArguments()
	val := argsMap["market"]
	neededArguments = append(neededArguments, args.Market(val))
	oList, err := client.GetActiveOrders(neededArguments...)
	if err != nil {
		return nil, fmt.Errorf("Error in GetActiveOrdersAllPages: %s", err)
	}
	return getAllOrders(oList), nil
}
func ( client * Client ) GetActiveOrdersAllPages ( arguments ... args . Argument ) ( [ ] Order , error ) { req , err := makeReq ( [ ] string { " " } , arguments ... ) if err != nil { return nil , fmt . Errorf ( " " , err ) } neededArguments := [ ] args . Argument { args . Page ( 0 ) , args . Limit ( 100 ) } argsMap := req . GetArguments ( ) val := argsMap [ " " ] neededArguments = append ( neededArguments , args . Market ( val ) ) oList , err := client . GetActiveOrders ( neededArguments ... ) if err != nil { return nil , fmt . Errorf ( " " , err ) } return getAllOrders ( oList ) , nil }
GetActiveOrdersAllPages gets all the actives orders of the client in a given market.
GetActiveOrdersAllPages gets all the actives orders of the client in a given market .