hedgequantx 1.2.84 → 1.2.86
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 +3 -3
package/package.json
CHANGED
package/src/pages/algo.js
CHANGED
|
@@ -326,9 +326,9 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
|
|
|
326
326
|
winRate: '0.0'
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
// Logs buffer
|
|
329
|
+
// Logs buffer - newest first display, show many logs
|
|
330
330
|
const logs = [];
|
|
331
|
-
const MAX_LOGS =
|
|
331
|
+
const MAX_LOGS = 30;
|
|
332
332
|
|
|
333
333
|
// Log colors
|
|
334
334
|
const typeColors = {
|
|
@@ -384,7 +384,7 @@ const launchAlgo = async (service, account, contract, numContracts, dailyTarget,
|
|
|
384
384
|
return { isOpen: true, message: 'Market OPEN' };
|
|
385
385
|
};
|
|
386
386
|
|
|
387
|
-
// Display full UI with logs (newest first)
|
|
387
|
+
// Display full UI with logs (newest first at top)
|
|
388
388
|
const displayUI = () => {
|
|
389
389
|
console.clear();
|
|
390
390
|
|