mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-10 14:27:00 +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:
18
web/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js
generated
vendored
Normal file
18
web/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { constructFrom } from "../../../constructFrom.js";
|
||||
import { Parser } from "../Parser.js";
|
||||
|
||||
import { parseAnyDigitsSigned } from "../utils.js";
|
||||
|
||||
export class TimestampSecondsParser extends Parser {
|
||||
priority = 40;
|
||||
|
||||
parse(dateString) {
|
||||
return parseAnyDigitsSigned(dateString);
|
||||
}
|
||||
|
||||
set(date, _flags, value) {
|
||||
return [constructFrom(date, value * 1000), { timestampIsSet: true }];
|
||||
}
|
||||
|
||||
incompatibleTokens = "*";
|
||||
}
|
||||
Reference in New Issue
Block a user