mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-02 02:21:19 +08:00
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:
20
web/node_modules/d3-array/src/min.js
generated
vendored
Normal file
20
web/node_modules/d3-array/src/min.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
export default function min(values, valueof) {
|
||||
let min;
|
||||
if (valueof === undefined) {
|
||||
for (const value of values) {
|
||||
if (value != null
|
||||
&& (min > value || (min === undefined && value >= value))) {
|
||||
min = value;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
let index = -1;
|
||||
for (let value of values) {
|
||||
if ((value = valueof(value, ++index, values)) != null
|
||||
&& (min > value || (min === undefined && value >= value))) {
|
||||
min = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
return min;
|
||||
}
|
||||
Reference in New Issue
Block a user