0
Follow
1
Followers
var position = exchange.IO("api", "GET","/fapi/v2/positionRisk","timestamp="+Date.now()+"&symbol="+sym+"USDT")
var trades = exchange.IO("api", "GET","/fapi/v1/trades","limit=200×tamp="+Date.now()+"&symbol="+sym+"USDT")//获取最近成交
var depth = exchange.IO("IO", "api", "GET","/fapi/v1/depth","timestamp="+Date.now()+"&symbol="+sym+"USDT")//获取深度
postion과 trades 모두 숫자를 얻을 수 있습니다. 왜 depth가 빈가요? 감사합니다.
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage DocFMZ PINE Script DocNotes & Explanation of Futures Reverse Doubling Algorithm StrategySolutions to Obtaining Docker Http Request Message
Comment
All comments (7)
梦总 我用 var position = exchange.IO("api", "GET", "/api/v3/account") 返回了现货账户信息, 现在想单独返回BTC的 请问 参数应该怎么加啊。。。。。。。。。。
4 years ago
- 1


