pub fn connect(key: String, secret: String) -> Kraken_API
Expand description

Obtain a handle on a connection to the Kraken exchange.

This function must be called before any other, and is the only way to get a Kraken_API handle on which all the access methods are usable; the Kraken_API::default method can be used if only public access methods of the Kraken exchange are to be used.

The ‘key’ and ‘secret’ must have been obtained through the Kraken web site, and must be supplied here precisely as given. However, note that this method cannot fail: no checks are performed at this point on the plausibility or actual validity of the credentials supplied.