ALM 抵押借卖与人工回补 v0.2.3
8
Follow
1393
Followers
代码未经实盘测试验证,策略代码仅用于交流学习思路。默认只读;供款、借币、卖出、循环追加、回补、还款均逐笔确认
Source
JavaScript
/* ALM 0.2.3. FMZ standalone JavaScript; READONLY by default. */
var ALM = (function () {
// units
var __ALM_units = (function () {
"use strict";
function ok(c, m) {
if (!c) throw new Error(m);
}
function raw(v) {
ok(
typeof v === "string" && /^-?(0|[1-9]\d*)$/.test(v) && v.length <= 100,
"INVALID_INTEGER",Strategy parameters
Commands
Related strategies
Comment
All comments (0)
No data
- 1
