1
Follow
2
Followers
牛市即将离去,于是乎开启了USD币本位合约,突然发现了一个问题
假如利用机器人自动计算仓位套保,这个频率如何控制呢?
1.实时计算仓位并套保,顾名思义就是1秒检测一次,于是问题就来了,大的仓位对冲了,到最后的个位数不平衡,机器人大约每10几秒就开一张,平一张保证了平衡,但是这个频率一天刷下来手续费可不少
2.频率降低,每5%平衡一次仓位,这个又有问题了,遇到暴跌,总是亏了之后才去平衡仓位
现在比较迷茫了,求各位大佬给点经验,到底频率如何控制最优化?
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
Comment
All comments (6)
你说的问题不存在
假定有1个btc,当前价格为A, 折合USD金额为A;
币本位做空仓位A;
当价格变化到B时,USD余额为:(1+A*(1/B - 1/A) ) = A
5 years ago
- 1
