Skip to content

Instantly share code, notes, and snippets.

@evan-coygo
Created November 20, 2019 22:48
Show Gist options
  • Save evan-coygo/55a39bb42eaafd049f6241abf92ff504 to your computer and use it in GitHub Desktop.
Save evan-coygo/55a39bb42eaafd049f6241abf92ff504 to your computer and use it in GitHub Desktop.
Coygo API Setup
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