forked from coltoneshaw/3cpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Style updates for the active deals table * Fixed label wrapping on bot perf charts * Fixed hover on darkmode button * Initial try of the signed mac os app plus fixed with active deal numbers * Fixed but where MSTC would be less than active + completed, causing a miscalc This issue goes deeper than the 3cpm. It seems to be directly in 3C. You can set MSTC to 0 while still having an active SO on the exchange. What this means is in the calc before the active SO was ignored completely. This now will find the highest and use that as the total SOs. It's not a perfect fix, but in testing this made the mstc correct and the metrics matched. github issue - 3commas-io/3commas-official-api-docs#93 This may need further work to build in manual SOs. * Updated the manual SO count metric - coltoneshaw#29 This metric coming from 3C can have the wrong data coming from it for `completed_manual_safety_orders`. This leads to a skew in the metric view on Active deals themselves. Went the route of updating the same value with the database. Long term when redoing the api calls this will need to be looked at. * Adding a custom menu bar with links. * Updating readme with FAQ, API docs, and the changelog * Fixed inactive funds calc for bots the way 3C returns the data it's possible for max_active_deals to be lower than active_deals_count. This causes an negative value to be introduced and skew the metrics. * Fixed bug in card causing an findDOMNode error with the day profit * Updated changelog * add key to the coin listing to remove react warning (coltoneshaw#30) Co-authored-by: Julien Tant <[email protected]>
- Loading branch information
1 parent
c8a62e3
commit 6cce857
Showing
20 changed files
with
613 additions
and
321 deletions.
There are no files selected for viewing
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// inspired by https://kilianvalkhof.com/2019/electron/notarizing-your-electron-application/ | ||
require('dotenv').config(); | ||
const {notarize} = require('electron-notarize'); | ||
|
||
|
||
exports.default = async function notarizing(context) { | ||
const {electronPlatformName, appOutDir} = context; | ||
if (electronPlatformName !== 'darwin' || process.platform !== 'darwin') { | ||
return; | ||
} | ||
|
||
const appName = context.packager.appInfo.productFilename; | ||
// if (typeof process.env.APPLEID === 'undefined') { | ||
// console.log('skipping notarization, remember to setup environment variables for APPLEID and APPLEIDPASS if you want to notarize'); | ||
// return; | ||
// } | ||
return await notarize({ | ||
appBundleId: 'com.savvytoolbelt.3cportfoliomanager', | ||
appPath: `${appOutDir}/${appName}.app`, | ||
appleId: '[email protected]', | ||
appleIdPassword: 'cyuj-jlos-zcjw-lkoy', | ||
tool: 'notarytool', | ||
teamId: '4UHVHSRL22' | ||
}); | ||
}; |
Oops, something went wrong.