diff --git a/README.md b/README.md index 0ab1551..eeaf3a3 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,15 @@ -# Links - -- [v6 Release](https://docs.google.com/spreadsheets/d/1xcqbVXD6D1J6n3_T73oXnSSr5tKlgBm28iUF7wPtddI) -- [Dev Sheet](https://docs.google.com/spreadsheets/d/138dYR2DmTD1yj_eqxzgsBYPWRwy8sdnQ9ZggJZHuPRc) +**[v6.2 Release](https://docs.google.com/spreadsheets/d/1Lp1uEiOI7zawK9jZTjfL0ZB31JyS7IVZBRekqTfKb68)** # KNOW ISSUES -1. If saving the API keys does not prompt you with a confirmation message, switch to a private browser and do it. Google has a bug in passing data from the front end to backend when you have multiple Google accounts. -2. IF you have a large number of deals the initial sync can lock up google sheets where you need to refresh. +- If saving the API keys does not prompt you with a confirmation message, switch to a private browser and do it. Google has a bug in passing data from the front end to backend when you have multiple Google accounts. +- If you have a large number of deals the initial sync can lock up google sheets where you need to refresh. # Permissions The 3C Risk Manager integration requests multiple permissions through Google Sheets. These permissions are only to fetch data, automate the fetching, and modify your sheet. A description of each permission and purpose is below. -## Connect to an external serviceq +## Connect to an external service This permission is used to access the 3Commas API. You can find all this code located in the `apiHandler.js` and `3commas.js` files. Only read permission is granted to this integration so no changes can be made on your behalf. ## See, edit, create, and delete your spreadsheets in Google Drive @@ -33,3 +30,44 @@ The API keys are stored within Google App Script's Properties. These can be acce You should not need to access these ever, but they are available to see. If you add new API keys via the sidebar it will overwrite these keys in favor of the new keys. Lastly, to delete API keys you can use the '3c - Risk Manager' > Delete API Keys from within the Sheet. + + +# CHANGE LOG + +## v6.2 + +### Spreadsheet Changes +- Added custom sorting to the DCA Calculator. Credit: @dyrty +- Added Impact Factor to the DCA Calculator - Credit: @DrGuns4Hands / @dyrty / @Fusion +- Modified ranges to use named ranges throughout the formulas - Credit: @dyrty +- Implemented current risk and future risk to account for changes in bots but not active deals +- Fixed bug in DCA max risk not taking into account currency differences +- Updated risk planner to take into account # of deals, added enabled option for existing bots. +- Modified the charts for more accurate data reporting. + +### Code Changes +- Added Impact Factor to active deals to calculate where your added funds make the most impact - Credit: @DrGuns4Hands / @dyrty / @Fusion +- Improved the API Handler and migrated the code base to a Library for easier future support. +- Implemented global variables and script properties for currency / account name / account number +- BUG: loadRisk causing it to only pull enabled bots. +- BUG: Bots were limited to 50 only. +- Implemeted a new Max Deal Funds that takes into accounts manual safety orders - Credit: @dyrty +- Reordered response to pull latest 5000 deals by close date desc +- Implemented additional currency support. + + +# v5.6 +- Modified the account and sync API calls to use the new 3c api handler +- Added bot statistics to 'Raw - Bot Data' +- Updating name to '3C Portfolio Manager' +- Added utc_today function to calculates today's date in UTC for formulas +- Added on onEdit to link dropdowns from risk monitor to risk planner. + +# v5.5 + +- Backend refresh to pull up to 5k deals from 3Commas. +- Side bar, menu bar, and automated adding of triggers. +- Moved API keys from being stored in the Sheet to be stored on Script properties. +- Additional read / write functions for Sheets to provide more performant pushes. +- Limited data results from 3c deals to save space in sheets. +- 3C accounts function is now a loop that provides all account details. \ No newline at end of file diff --git a/src/apiHandler.gs.js b/src/apiHandler.gs.js index 778e1f2..3061081 100644 --- a/src/apiHandler.gs.js +++ b/src/apiHandler.gs.js @@ -1,3 +1,17 @@ +/************************************************************************** +************************************************************************* + + API Handler Notes + +This API Handler is a copy of the 3Commas Google App Script API Handler. +For more information or guides on usage visit the GitHub link below. + +GitHub - https://github.com/coltoneshaw/3-Commas-Google-API-Handler + +************************************************************************ +*************************************************************************/ + + /************************************************************************** * * Utility Functions