quadriga

package
v0.0.0-...-e82c919 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const API_ROOT = "https://api.quadrigacx.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewAnonymousClient

func NewAnonymousClient() *Client

func NewClient

func NewClient(clientId interface{}, apiKey string, apiSecret string) *Client

func (*Client) Books

func (c *Client) Books() ([]string, error)

Return the available order books.

func (*Client) Get

func (c *Client) Get(endpoint string, params map[string]interface{}) (*http.Response, error)

func (*Client) Post

func (c *Client) Post(endpoint string, params map[string]interface{}) (*http.Response, error)

func (*Client) RequestEngineOrders

func (c *Client) RequestEngineOrders(book string) (*http.Response, error)

RequestEngineOrders calls an undocumented URL that the Quadriga frontend userse to get the order book.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL