mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-04 03:21:04 +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:
15
web/node_modules/d3-shape/src/symbol/triangle2.js
generated
vendored
Normal file
15
web/node_modules/d3-shape/src/symbol/triangle2.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import {sqrt} from "../math.js";
|
||||
|
||||
const sqrt3 = sqrt(3);
|
||||
|
||||
export default {
|
||||
draw(context, size) {
|
||||
const s = sqrt(size) * 0.6824;
|
||||
const t = s / 2;
|
||||
const u = (s * sqrt3) / 2; // cos(Math.PI / 6)
|
||||
context.moveTo(0, -s);
|
||||
context.lineTo(u, t);
|
||||
context.lineTo(-u, t);
|
||||
context.closePath();
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user