8
Follow
1363
Followers
Source
JavaScript
function main() {
let exName = _C(exchange.GetName)
let ret = []
if (exName == "Futures_OKCoin" || exName == "OKEX" || exName == "OKX" || exName == "OKCoin") {
// Futures_OKCoin / OKEX / OKX / OKCoin
if (setSimulateForOKX) {
let info = exchange.IO("simulate", true)
ret.push("OKX交易所切换为模拟盘环境")
} else {
let info = exchange.IO("simulate", false)
ret.push("OKX交易所切换为实盘环境")Strategy parameters
Related strategies
Comment
All comments (0)
No data
- 1
