mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 11:30:58 +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:
25
web/node_modules/date-fns/parse/_lib/Parser.js
generated
vendored
Normal file
25
web/node_modules/date-fns/parse/_lib/Parser.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import { ValueSetter } from "./Setter.js";
|
||||
|
||||
export class Parser {
|
||||
run(dateString, token, match, options) {
|
||||
const result = this.parse(dateString, token, match, options);
|
||||
if (!result) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return {
|
||||
setter: new ValueSetter(
|
||||
result.value,
|
||||
this.validate,
|
||||
this.set,
|
||||
this.priority,
|
||||
this.subPriority,
|
||||
),
|
||||
rest: result.rest,
|
||||
};
|
||||
}
|
||||
|
||||
validate(_utcDate, _value, _options) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user