Initial commit: NOFX AI Trading System

- Multi-AI competition mode (Qwen vs DeepSeek)
- Binance Futures integration
- AI self-learning mechanism
- Professional web dashboard
- Complete risk management system
This commit is contained in:
tinkle
2025-10-28 15:47:34 +08:00
parent 976d6d74f6
commit 7e8a494ed3
12369 changed files with 1739210 additions and 0 deletions

31
web/node_modules/date-fns/secondsToMinutes.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
import { secondsInMinute } from "./constants.js";
/**
* @name secondsToMinutes
* @category Conversion Helpers
* @summary Convert seconds to minutes.
*
* @description
* Convert a number of seconds to a full number of minutes.
*
* @param seconds - The number of seconds to be converted
*
* @returns The number of seconds converted in minutes
*
* @example
* // Convert 120 seconds into minutes
* const result = secondsToMinutes(120)
* //=> 2
*
* @example
* // It uses floor rounding:
* const result = secondsToMinutes(119)
* //=> 1
*/
export function secondsToMinutes(seconds) {
const minutes = seconds / secondsInMinute;
return Math.trunc(minutes);
}
// Fallback for modularized imports:
export default secondsToMinutes;