首页
策略
文库
社区
API文档
登录
立即注册
帮助
经验交流
平台公告
知识库
入门手册
Zero
| 创建于:2026-02-14 19:04:34
2026-02-18 22:00:17
Polymarket API 快速使用教程
Polymarket API 快速使用教程 基于 FMZ 平台(托管者版本3.8.8),快速上手 Polymarket API。 Symbol 格式 Symbol 必须以 exchange.GetMarkets() 返回的键值为准,此函数第一次调用很慢,之后有缓存, 格式为: {marketSlug}_USDC.(Yes/No) 示例: “`
0
670
lkk20210722
| 创建于:2023-12-27 21:26:13
SyntaxError: invalid atom index (pos=95282)2023-12-27 21:18:21 重启
这个问题该怎么解决 重启后就提示这个问题,不知道怎么办,求解决方法
1
732
预算
| 创建于:2023-06-21 14:29:50
提示这个2023-06-14 00:00:00.200 Binance 错误 NOT SUPPORT,是什么问题,回测运行都不行
提示这个2023-06-14 00:00:00.200 Binance 错误 NOT SUPPORT** 是什么问题,回测运行都不行
6
1152
阿宝
| 创建于:2022-11-03 23:37:06
HuobiDM 币本位 无法下单 提示:Invalid positionMode
rt, 币本位合约无法下单,提示 Invalid positionMode
4
858
Ninabadass
| 创建于:2022-04-14 16:17:46
2022-04-15 14:16:23
Cryptocurrency Spot Hedge Strategy (2)
Cryptocurrency Spot Hedge Strategy (2) In the previous article, we implemented a simple hedge strategy together, and then we will learn how to upgrade the strategy. There are not many modification
0
960
Ninabadass
| 创建于:2022-04-14 11:57:46
2022-04-14 16:32:56
Cryptocurrency Spot Hedge Strategy (1)
Cryptocurrency Spot Hedge Strategy (1) For beginners in strategy designing, the hedge strategy is a very good one for practice. This article implements a simple but solid cryptocurrency spot hedg
0
889
Ninabadass
| 创建于:2022-04-13 10:06:35
2022-04-14 17:04:43
Earn 80 Times in 5 Days — Power of High Frequency Strategy
In the past two months, an account called print(money) has been very popular, for it earned hundreds of times of profit on Binance Perpetual Swap, and the screenshot of his account income can often be
0
1877
Ninabadass
| 创建于:2022-04-12 16:30:25
Mylanguage Strategy to Achieve Real-Time Push of Position Changes to Mobile App & WeChat
1. Abstract With the continuous improvement of quantitative trading strategies, users have increasingly higher requirements for real-time push of position changes. For example: Web online logs, mo
0
833
Ninabadass
| 创建于:2022-04-12 15:12:36
2022-04-12 15:44:18
Cryptocurrency Manual Futures & Spot Hedge Strategy
Cryptocurrency Manual Futures & Spot Hedge Strategy In view of the fact that the hedging frequency of the current hedge strategy is not particularly high, it can actually be operated manually. Ho
0
818
Ninabadass
| 创建于:2022-04-12 10:06:51
2022-04-13 09:20:56
Futures & Spot Spread Return Arbitrage Analysis in Crypto-Margined Contracts
Futures & Spot Spread Return Arbitrage Last time, we introduced perpetual contract funding rate arbitrage (https://www.fmz.com/digest-topic/6381), that is, to make long spot of the same amount by m
0
968
Ninabadass
| 创建于:2022-04-11 11:54:34
2022-04-11 11:55:08
Realize a Simple Order Supervising Bot of Cryptocurrency Spot
Realize a Simple Order Supervising Bot of Cryptocurrency Spot There are a lot of friends in the cryptocurrency circle who need an order supervising bot, but they are suffering from the long time
0
914
Ninabadass
| 创建于:2022-04-08 14:16:50
2022-04-08 16:21:48
Hedge Strategy Design Research & Example of Pending Spot and Futures Orders
Hedge Strategy Design Research & Example of Pending Spot and Futures Orders For a long time, futures and spot hedge is generally designed to detect the price spread, and take orders to hedge when
0
806
Ninabadass
| 创建于:2022-04-08 11:46:22
2022-04-08 11:58:28
Dual Moving Average Breakpoint Strategy of Cryptocurrency Futures (Teaching)
Dual Moving Average Breakpoint Strategy of Cryptocurrency Futures (Teaching) This article explains the design of a simple trend strategy, only from the level of strategy design, to help beginners
0
799
Ninabadass
| 创建于:2022-04-07 16:14:35
2022-04-08 09:13:58
Cryptocurrency Spot Multi-Symbol Dual Moving Average Strategy (Teaching)
Cryptocurrency Spot Multi-Symbol Dual Moving Average Strategy (Teaching) At the request of our users in the Forums that they hope to have a multi-symbol dual moving average strategy as a design re
0
808
churchillxy
| 创建于:2022-03-21 09:53:35
2022-03-21 10:04:45
报错:Futures_OP 3: 400: {"code":"50004","data":[],"msg":"Endpoint request timeout. "}
大佬好,这是我收到的错误,Futures_OP 3: 400: {“code”:“50004”,“data”:[],“msg”:“Endpoint request timeout. “} 但是日志报错后,继续运行,请问这是什么原因啊?另,可以定位到是哪里代码的错误吗? 这是我第400行的代码 谢谢啦
4
966
churchillxy
| 创建于:2022-03-10 11:22:23
报错求助:Futures_OP 3: 400: {"code":"50004","data":[],"msg":"Endpoint request timeout. "}
大佬好,我用getrecords获取行情,加了try except处理,不理解为什么还有?请问有什么最佳实践方案吗
4
933
laoball
| 创建于:2022-03-01 22:04:28
APOLLOX交易所好像GetPosition返回空数组,麻烦梦总看一下。
我有仓位的,但是用GetPosition()得到的是空数组,币安好像就可以。麻烦梦总看一下。 function main() { exchange.SetContractType(‘swap’) var pos = exchange.GetPosition() Log(pos) }
6
855
bbbwwed2009
| 创建于:2022-02-06 13:23:24
我这么写 if len(position[index]) == 0: 报 list index out of range
不懂为啥会超出列表
1
920
三十六计
| 创建于:2022-01-15 16:58:01
position.type
麻烦问一下各位大佬 position.type==0 仓位类型为多单 position.type==1 仓位类型为空单 可以这样理解吗,我看api文档里面没有写
3
789
VIC
| 创建于:2021-12-29 15:35:25
apollox交易所支持了吗
调试报错呢
3
858
蜜蜂爱吃肉
| 创建于:2021-10-16 21:24:27
getposition 函数只能获取第一个合约交易对的持仓信息,问一下能否使用for循环获同时获得多个交易对的持仓信息?
如题,当我设置了多个合约交易对,使用getposition只能获得第一个合约的持仓信息,如何能获得其他交易对的持仓信息呢?
14
1020
蜜蜂爱吃肉
| 创建于:2021-10-16 16:34:40
使用python运行exchange.GetPosition()函数,无法获取持仓信息,显示错误
使用python运行getposition函数,显示错误如下: Traceback (most recent call last): File “”, line 999, in init_ctx File “”, line 41, in File “”, line 4, in main NameError: name ‘lo
2
967
yesnbst
| 创建于:2021-10-15 11:39:26
OKEX V5 api使用exchange.IO("api", "POST", "/api/v5/trade/cancel-algos", params)一直报错Futures_OP 4: 400: {"code":"50000","data":[],"msg":"Body can not be empty."}
如题:OKEX V5 api使用exchange.IO(“api”, “POST”, “/api/v5/trade/cancel-algos”, params)一直报错Futures_OP 4: 400: {“code”:“50000”,“data”:[],“msg”:“Body can not be empty.”} 参数: var params = { “instId”:“CVC-US
2
1068
微信 deshunquant
| 创建于:2021-09-28 10:49:11
2021-09-28 11:50:39
DPO指标在FMZ中的实现
一、怎么使用DPO指标? 首先需要知道DPO指标的计算公式: 1、MA=N日的简单移动平均值; 2、DPO=收盘价-MA(N/2+1)日的简单移动平均值; 3、MADPO=DPO的M日的简单移动平均值; 其中,N=21,M=6。 二、DPO指标的使用方法: 1、在0轴上方,设置一条超买线,一旦DPO波动至超买线时,意味着股价处于短期高点。 2、在0轴下方,设置一条超卖线,一旦DPO
1
1172
yesnbst
| 创建于:2021-09-27 16:32:45
OKex使用exchange.GetPosition()必须设置当前交易对才能获取持仓信息吗?
如题:OKex使用exchange.GetPosition()必须设置当前交易对才能获取持仓信息吗? exchange.SetCurrency(‘当前交易对’); 如何获取所有交易对的持仓信息?
1
969
Howard0756
| 创建于:2021-07-24 13:01:23
position[0].Type 是什么意思?
position[0].Type 是不是可以用来判断是多单还是空单 多单的话 position[0].Type == 1? 空单 position[0].Type == 0?
1
1001
zhousone
| 创建于:2021-05-13 12:27:27
2021-05-13 14:13:21
请教invalid order source 'spot-api'问题
今天早上7点33分,我的机器人没有任何报错就没再在火币上自动下单。停止机器人后重新部署托管者,重启机器人后问题依旧。尝试到交易终端中下了个单,就提示invalid order source ‘spot-api’这个问题。又写了个策略用机器人直接下单试验,日志中也是出现invalid order source ‘spot-api’这个错误,机器人提示已经完成,也没报错。请问这个问题怎么解? 是
4
1028
koy0755
| 创建于:2021-04-25 13:50:54
exchange.IO 发POST 的包有什么要注意的吗?总是收不到正确的包
代码中下,感觉应该是没有错的,但是接口总是返回说没有传对应的参数: function main() { exchange.IO(“base”, “https://api.btcgateway.pro”) //var obj = {“contract_code”:“TRX-USDT”,“volume”:10000,“direction”:“sell”,“offset”:“open
1
1003
q631207207
| 创建于:2021-04-03 02:50:20
position能否和order一起用,刚接触,求指点
最开始只用order,信息输出没问题,加上position后,所有交易的order输出都为0,删掉position后也是为0,帮忙分析一下。
3
1123
andyabc
| 创建于:2021-03-16 17:19:32
backtest not support futures set currency 我测试得是ETH-USD 不支持回测吗
火币期货 ETH-USD 永续 ,显示 backtest not support futures set currency 错误 请问是什么原因 谢谢
4
1082
1
2
3