Documentation ¶
Index ¶
- type Client
- func (c *Client) CancelOrder(orderID string) ([]byte, error)
- func (c *Client) CreateAndSignOrder(order models.AevoSignedOrder) ([]byte, error)
- func (c *Client) GetAssetPrice(asset string) (models.AssetPrice, error)
- func (c *Client) GetAssetPriceHistory(asset string, resolution int, startTime int, endTime int) ([][]string, error)
- func (c *Client) GetAssetStatistics(asset, instrument string, endTime int) ([]byte, error)
- func (c *Client) GetAssets() ([]string, error)
- func (c *Client) GetCoingeckoStatistics() ([]models.CoingeckoStatistic, error)
- func (c *Client) GetExpiries(asset string) ([]string, error)
- func (c *Client) GetFunding(instrumentName string) (models.Funding, error)
- func (c *Client) GetFundingHistory(instrumentName string, startTime, endTime, limit int) ([]byte, error)
- func (c *Client) GetMarkets(asset, instrument string) ([]byte, error)
- func (c *Client) GetOrders() ([]byte, error)
- func (c *Client) GetTime() (models.AevoTime, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateAndSignOrder ¶
func (c *Client) CreateAndSignOrder(order models.AevoSignedOrder) ([]byte, error)
func (*Client) GetAssetPrice ¶
func (c *Client) GetAssetPrice(asset string) (models.AssetPrice, error)
GetAssetPrice returns the current index price of the given asset
func (*Client) GetAssetPriceHistory ¶
func (c *Client) GetAssetPriceHistory(asset string, resolution int, startTime int, endTime int) ([][]string, error)
GetAssetPriceHistory returns the historical index price for a given asset
func (*Client) GetAssetStatistics ¶
GetAssetStatistics returns the market statistics for the given asset
func (*Client) GetCoingeckoStatistics ¶
func (c *Client) GetCoingeckoStatistics() ([]models.CoingeckoStatistic, error)
GetCoingeckoStatistics returns the perpetual statistics of all assets specifically for https://www.coingecko.com/en/exchanges/aevo
func (*Client) GetExpiries ¶
GetExpiries returns the expiry timestamps of derivatives of the given asset
func (*Client) GetFunding ¶
GetFunding returns the current funding rate for the instrument
func (*Client) GetFundingHistory ¶
func (c *Client) GetFundingHistory(instrumentName string, startTime, endTime, limit int) ([]byte, error)
GetFundingHistory returns the funding rate history for the instrument
func (*Client) GetMarkets ¶
GetMarkets returns a list of instruments. If asset is not specified, the response will include all listed instruments