Open bcmonster opened 6 years ago
Just like the exchanges have (Bittrex examples to copy and edit for CMC) You'd need to add a CMC API file like : https://github.com/z-classic/z-nomp/blob/e1eba6d88ff3f0ed8692714ba8e7222ef01b3071/libs/apiBittrex.js#L1-L222 and add to the profitSwitch.js similar to these: https://github.com/z-classic/z-nomp/blob/e1eba6d88ff3f0ed8692714ba8e7222ef01b3071/libs/profitSwitch.js#L10 https://github.com/z-classic/z-nomp/blob/e1eba6d88ff3f0ed8692714ba8e7222ef01b3071/libs/profitSwitch.js#L81-L83 https://github.com/z-classic/z-nomp/blob/e1eba6d88ff3f0ed8692714ba8e7222ef01b3071/libs/profitSwitch.js#L402-L511 https://github.com/z-classic/z-nomp/blob/e1eba6d88ff3f0ed8692714ba8e7222ef01b3071/libs/profitSwitch.js#L646-L647
Thanks for you help
Im trying to get coinmarketcap to load into the api. Sorry for the issue. Anyone point me in the right direction?