Skip to content

PTMagic 2.0.5 - Fix for CMC API changes

Latest
Compare
Choose a tag to compare
@HojouFotytu HojouFotytu released this 02 Dec 01:51
· 1 commit to master since this release
afc573a

Special update instructions for THIS RELEASE

  • If you are NOT setting up PTMagic for the first time, you should open "settings.general.json" and add the following line to the bottom of the "Application" section:

    "CoinMarketCapAPIKey": ""

    Don't forget to add a comma to the end of the previous line!. See the default settings.general.json file in the "_default settings" folders for an example.

  • ALWAYS follow these general instructions carefully when updating to a new version of PT Magic:
    https://github.com/Legedric/ptmagic/wiki/Updating-PT-Magic

Fix - CoinMarketCap API

  • Fixed a an issue with the upcoming change to the CMC API. Retrieving CMC market data requires an API key beginning Dec 4th, 2018.

  • The line "CoinMarketCapAPIKey" has been added to settings.general.json where you can enter your CMC API key.

  • If you do not enter an API key for CMC, PTMagic will NOT fetch CMC market data -- which will significantly speed up the runtime of of PTMagic raids!

  • To continue to use CMC market data, you will need to visit their website, create an account, and get an API key: https://coinmarketcap.com/api/

  • The free plan for CMC's API does not allow enough calls for the typical usage case of PTMagic, where raids are done every 1-2 mins -- the free CMC API plan only allows a 333 calls per day, approximately 1 call per 5 minutes. If you exceed your daily allowed calls to the CMC API, PTM will be unable to retrieve CMC market data and return an error, also resulting in any future market trends based on that data to be incorrect. The first tier for paid access, "Hobbyist," allow for 54 calls per hour, if you wish to continue using CMC's API to fetch market data via PTMagic

Other Changes

  • Profit Trailer STOCHRSIK, STOCHRSID, STOCHRSICROSS are now properly identified as valid strategies, and colored correctly. #576

  • Fixed a problem with graphical assets missing from the monitor for some installations.