//测试模块
//链接可由任意交易所发起,传入对应币对名称,价格,数量等即可
function main() {
let currency=_C(exchange.GetCurrency);//币对名称
let curPrice=_C(exchange.GetTicker).Last;//当前价格
let atz=AmountToZhang(currency,curPrice,1);//一个币等于多少张?
let zta=ZhangToAmount(currency,curPrice,1);//一张等于几个币?