package
0.0.0-20201025182701-586b0ac08533
Repository: https://github.com/rellum/valr-go.git
Documentation: pkg.go.dev
# Functions
MakeURLValues converts a request struct into a url.Values map.
NewClient creates a new Valr API client with the default base URL.
# Variables
No description provided by the author
# Structs
AccountBalance represent the balance info for a specific asset.
AdditionalTransactionInfo holds additional info for a transaction.
BankInfo holds data related to a bank account.
Client is a Valr API client.
CurrencyInfo holds info for a specific asset.
DelOrderByCustomerOrderIDRequest is the request struct for DelOrderByCustomerOrderID.
DelOrderByCustomerOrderIDResponse is the struct that DelOrder responses are unpacked into.
DelOrderRequest is the request struct for DelOrder.
DelOrderResponse is the struct that DelOrder responses are unpacked into.
DepositInfo holds info about a specific deposit.
GetAccountBalancesRequest is the request struct for GetAccountBalances.
GetAllOpenOrdersRequest is the request struct for GetAllOpenOrders.
GetAuthFullOrderBookRequest is the request struct for GetAuthFullOrderBook.
GetAuthFullOrderBookResponse is the struct that GetAuthFullOrderBook responses are unpacked into.
GetAuthOrderBookRequest is the request struct for GetAuthOrderBook.
GetAuthOrderBookResponse is the struct that GetAuthOrderBook responses are unpacked into.
GetAuthTradeHistoryForPairRequest is the request struct for GetAuthTradeHistoryForPair.
GetBankAccountForAssetRequest is the request struct for GetBankAccountForAsset.
GetCurrenciesRequest is the request struct for GetCurrencies.
GetCurrencyPairsRequest is the request struct for GetCurrencyPairs.
GetDepositAddressRequest is the request struct for GetDepositAddress.
GetDepositAddressResponse is the struct that GetDepositAddress responses are unpacked into.
GetDepositHistoryForAssetRequest is the request struct for GetDepositHistoryForAsset.
GetMarketSummaryForPairRequest is the request struct for GetMarketSummaryForPair.
GetMarketSummaryForPairResponse is the struct that GetMarketSummaryForPair responses are unpacked into.
GetMarketSummaryRequest is the request struct for GetMarketSummary.
GetOrderBookRequest is the request struct for GetOrderBook.
GetOrderBookResponse is the struct that GetOrderBook responses are unpacked into.
GetOrderHistoryDetailsByCustomerOrderIDRequest is the request struct for GetOrderHistoryDetailsByCustomerOrderID.
GetOrderHistoryDetailsByOrderIDRequest is the request struct for GetOrderHistoryDetailsByOrderID.
GetOrderHistoryRequest is the request struct for GetOrderHistory.
GetOrderHistorySummaryByCustomerOrderIDRequest is the request struct for GetOrderHistorySummaryByCustomerOrderID.
GetOrderHistorySummaryByCustomerOrderIDResponse is the struct that GetOrderHistorySummaryByCustomerOrderID responses are unpacked into.
GetOrderHistorySummaryByOrderIDRequest is the request struct for GetOrderHistorySummaryByOrderID.
GetOrderHistorySummaryByOrderIDResponse is the struct that GetOrderHistorySummaryByOrderID responses are unpacked into.
GetOrderStatusByCustomerOrderIDRequest is the request struct for GetOrderStatusByCustomerOrderID.
GetOrderStatusByCustomerOrderIDResponse is the struct that GetOrderStatusByCustomerOrderID responses are unpacked into.
GetOrderStatusByOrderIDRequest is the request struct for GetOrderStatusByOrderID.
GetOrderStatusByOrderIDResponse is the struct that GetOrderStatusByOrderID responses are unpacked into.
GetOrderTypesForPairRequest is the request struct for GetOrderTypesForPair.
GetOrderTypesRequest is the request struct for GetOrderTypes.
GetServerTimeRequest is the request struct for GetServerTime.
GetServerTimeResponse is the struct that GetServerTime responses are unpacked into.
GetSimpleBuyOrSellOrderStatusRequest is the request struct for GetSimpleBuyOrSellOrderStatus.
GetSimpleBuyOrSellOrderStatusResponse is the struct that GetSimpleBuyOrSellOrderStatus responses are unpacked into.
GetTradeHistoryForPairRequest is the request struct for GetTradeHistoryForPair.
GetTransactionHistoryRequest is the request struct for GetTransactionHistory.
GetWithdrawHistoryForAssetRequest is the request struct for GetWithdrawHistoryForAsset.
GetWithdrawInfoRequest is the request struct for GetWithdrawInfo.
GetWithdrawInfoResponse is the struct that GetWithdrawInfo responses are unpacked into.
GetWithdrawStatusRequest is the request struct for GetWithdrawStatus.
GetWithdrawStatusResponse is the struct that GetWithdrawStatus responses are unpacked into.
MarketSummary holds market summary information.
OpenOrder holds info for an open order on the market.
OrderBook holds OrderBookEntries.
OrderBookEntry is a single entry in an OrderBook.
OrderReceipt collects info for a successful order.
OrderStatus holds info related to the status of a specific order.
OrderTypes associates order types with a specific pair.
PairInfo holds info for a specific pair.
PostLimitOrderRequest is the request struct for PostLimitOrder.
PostLimitOrderResponse is the struct that PostLimitOrder responses are unpacked into.
PostMarketOrderBuyRequest is the request struct for PostMarketOrder.
PostMarketOrderResponse is the struct that PostMarketOrder responses are unpacked into.
PostMarketOrderBuyRequest is the request struct for PostMarketOrder.
PostNewCryptoWithdrawRequest is the request struct for PostNewCryptoWithdraw.
PostNewCryptoWithdrawResponse is the struct that PostNewCryptoWithdraw responses are unpacked into.
PostNewFiatWithdrawRequest is the request struct for PostNewFiatWithdraw.
PostNewFiatWithdrawResponse is the struct that PostNewFiatWithdraw responses are unpacked into.
PostSimpleBuyOrSellOrderRequest is the request struct for PostSimpleBuyOrSellOrder.
PostSimpleBuyOrSellOrderResponse is the struct that PostSimpleBuyOrSellOrder responses are unpacked into.
PostSimpleBuyOrSellQuoteRequest is the request stuct for PostSimpleBuyOrSellQuote.
PostSimpleBuyOrSellQuoteResponse is the struct that PostSimpleBuyOrSellQuote responses are unpacked into.
TradeHistoryInfo is the data for a specific trade in trade history.
TradeInfo holds info about a specific trade.
TransactionInfo holds transaction info.
TransactionType associates a transction type with its description.
WithdrawInfo holds info about a specific withdraw.
# Type aliases
GetAccountBalancesResponse is the type that GetAccountBalances responses are unpacked into.
GetAllOpenOrdersResponse is the type that GetAllOpenOrders responses are unpacked into.
GetAuthTradeHistoryForPairResponse is the type that GetAuthTradeHistoryForPair responses are unpacked into.
GetBankAccountForAssetResponse is the type that GetBankAccountForAsset responses are unpacked into.
GetCurrenciesResponse is the type that GetCurrencies responses are unpacked into.
GetCurrencyPairsResponse is the type that GetCurrencyPairs responses are unpacked into.
GetDepositHistoryForAssetResponse is the type that GetDepositHistoryForAsset responses are unpacked into.
GetMarketSummaryResponse is the type that GetMarketSummary responses are unpacked into.
GetOrderHistoryDetailsByCustomerOrderIDResponse is the type that GetOrderHistoryDetailsByCustomerOrderID responses are unpacked into.
GetOrderHistoryDetailsByOrderIDResponse is the type that GetOrderHistoryDetailsByOrderID responses are unpacked into.
GetOrderHistoryResponse is the type that GetOrderHistory responses are unpacked into.
GetOrderTypesForPairResponse is the type that GetOrderTypesForPair responses are unpacked into.
GetOrderTypesResponse is the type that GetOrderTypes responses are unpacked into.
GetTradeHistoryForPairResponse is the type that GetTradeHistoryForPair responses are unpacked into.
GetTransactionHistoryResponse is the type that GetTransactionHistory responses are unpacked into.
GetWithdrawHistoryForAssetResponse is the type that GetWithdrawHistoryForAsset responses are unpacked into.
RequestSide type for explicitly representing the two options.
ResponseSide type for explicitly representing the two options.