zhangliang

Results 27 issues of zhangliang

[这里](https://github.com/ricequant/rqalpha/pull/720/commits)看到米筐支持融资功能,但我没有看到怎么配置启用这个功能。 请教如何启用?

用order_to下限价单时,有可能产生买单,也有可能产生卖单。但其参数设置限价单的价格似乎只能设置1个。 而实际上需要买、卖两个方向的限价。请问能否设置买、卖两个方向的限价?

feature

期货有的有夜盘,则开盘时间是昨晚21点;有的没有夜盘,则开盘时间为今日早上9点。 那么一个多品种的日线策略,在open_auction中下单,就面临一个问题:这个open_auction是在昨晚21点触发,还是在今天9点触发? 如果是在昨晚21点触发,那就现实中无法拿到无夜盘的合约开盘价,也无法下单立即成交。 如果是今早9点触发,那就无法处理昨晚开盘的合约。 米筐是如何处理上述问题的呢? 我的想法是:提供一个api,例如get_open_time(symbol,date),来获得合约在指定日期的开盘时间,这样用户能够自己做些处理来缓解以上问题。 另一方面,是不是允许昨晚和今早各触发一次open_auction?

enhancement

试用了一段米筐,觉得做得非常好,感谢开发者。 有个请求,在绩效结果文件future_account.csv中,只有净敞口市值。但我需要的是多空总敞口市值,以便计算杠杆。所以能不能增加多头市值,空头市值字段?

feature

order_target_portfolio能不能增加期货版? 另外,可以让它自动先卖后买吗(对股票)?

enhancement

请问,有时执行下单命令order_to,返回的是[[]],啥场景下会返回这个?

bug

Could nautilus support crypto perpetual futures contract . Trading of perpetual futures contract implies paying (or receiving) funding payments periodically based on the funding rate - usually every 8-24 hours....

enhancement

Hello, [this post ](https://github.com/quantopian/zipline/pull/1512)shows how to Add slippage models to execute order at limit, open prices. I wonder if this solution is correct and if it is implemented in zipline-reloaded?

Hello, I use or-tools with scip to solve my case. In one case, I get the message "violation: right hand side is violated by 1049.999", it seems this is a...

Hi, in this [tutorial](https://github.com/stefan-jansen/alphalens-reloaded/blob/main/docs/source/notebooks/overview.ipynb),it has: `pricing = df.loc[:, 'Open'].iloc[1:].unstack('asset')` I wonder why it exclude index 0. I think the following should be ok. anyone can correct me? `pricing = df.loc[:,...