Created
November 20, 2019 22:48
-
-
Save evan-coygo/55a39bb42eaafd049f6241abf92ff504 to your computer and use it in GitHub Desktop.
Coygo API Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Coygo, SUPPORTED_EXCHANGE_IDS } from 'coygo-api'; | |
const coygo = new Coygo({ | |
apKey: '<coygo api key>', | |
exchanges: [ | |
{ | |
exchangeId: SUPPORTED_EXCHANGE_IDS.KRAKEN, | |
apikey: '<kraken api key>', | |
apiSecret: '<kraken api secret>' | |
}, | |
{ | |
exchangeId: SUPPORTED_EXCHANGE_IDS.COINBASE_PRO, | |
apikey: '<coinbase pro api key>', | |
apiSecret: '<coinbase pro api secret>', | |
apiPassphrase: '<coinbase pro api passphrase>' | |
}, | |
{ | |
exchangeId: SUPPORTED_EXCHANGE_IDS.BITTREX, | |
apikey: '<bittrex api key>', | |
apiSecret: '<bittrex api secret>' | |
} | |
] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment