Add market buy option

This commit is contained in:
Dennis Reimann
2021-03-02 19:26:31 +01:00
parent e50c80cdbf
commit 4517af870a
4 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
module.exports = async (kraken, validate, getEnv) => {
module.exports = async (kraken, validate, { getEnv }) => {
const [maxFee, key] = getEnv('KRAKEN_MAX_REL_FEE', 'KRAKEN_WITHDRAW_KEY')
// https://api.kraken.com/0/private/WithdrawInfo