0
Follow
1
Followers
实际应用中,用if语句判定买入以后,后边的逻辑该用什么语句执行卖出?还用if语句吗接下来,是否要紧接着买入结束的位置写呢?如果有实际的例子看下最好了。谢谢。小梦
Created 2021-12-08 15:21:08
3
1045
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 (3)
可能我的描述不准确,我是想着通过程序下单成功以后,后续的要通过程序自动卖出,这个是理念。问题是:后续的卖出代码是要直接跟在买入的代码后边吗,通过if语句跟在后边吗
5 years ago
设计策略,首先要定清楚需求。你说的买入后自动卖出,那是什么时间自动卖出?什么条件自动卖出?需求不清楚,直接设计程序是本末倒置的事情。建议先看下平台教程,平台上的一些教学策略例子。
5 years ago
- 1
