mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-03 19:11:02 +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
189 B
JavaScript
7 lines
189 B
JavaScript
import exponent from "./exponent.js";
|
|
|
|
export default function(step, max) {
|
|
step = Math.abs(step), max = Math.abs(max) - step;
|
|
return Math.max(0, exponent(max) - exponent(step)) + 1;
|
|
}
|