注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
Next sequence :
4/3 1 5 8 23 47
8 4 5 19/2 22 59
3 8 21 56 153
5 4 14 1/4 41 4
Coding :
three questions : matrix exchange rate problem, daily log returns
You are managing an investment fund with a very specific target: allocating your caital between a specific set of stocks based on their recent performance. You want to invest proportionally to the last observed stock return if it's positive, or not invest in a stock if the return was negative. If no stocks returns were positive, you will not invest in any of them, keeping cash at hand. You'll need to adjust youra您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 above. Assume that you can trade any number of shares, including fractional amounts, at each rebalance time
请帮忙解决编程问题,GPT无法解决它,有人正确解决了吗?请分享代码。 |