hedgequantx 1.2.106 → 1.2.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/pages/algo.js +6 -1
package/package.json
CHANGED
package/src/pages/algo.js
CHANGED
|
@@ -773,7 +773,12 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
|
|
|
773
773
|
});
|
|
774
774
|
|
|
775
775
|
hqxServer.on('log', (data) => {
|
|
776
|
-
|
|
776
|
+
let message = data.message;
|
|
777
|
+
// If account name is hidden, filter it from logs too
|
|
778
|
+
if (!showAccountName && realAccountName) {
|
|
779
|
+
message = message.replace(new RegExp(realAccountName, 'gi'), 'HQX *****');
|
|
780
|
+
}
|
|
781
|
+
printLog(data.type || 'info', message);
|
|
777
782
|
});
|
|
778
783
|
|
|
779
784
|
hqxServer.on('signal', (data) => {
|