mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-05 03:50:59 +08:00
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
7 lines
154 B
JavaScript
7 lines
154 B
JavaScript
export default function(range) {
|
|
var n = range.length;
|
|
return function(t) {
|
|
return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];
|
|
};
|
|
}
|