Find Jobs
Hire Freelancers

Need data in mysql tables displayed

$30-5000 USD

已完成
已发布大约 14 年前

$30-5000 USD

货到付款
I have two mysql tables containing daily mutual fund data. I need this data displayed on table on a php page. Nothing very complex. ## Deliverables I have two mysql tables containing daily mutual fund data. I need this data displayed on table on a php page. One table, prices_archive, lists the price of one of four mutual funds on five different days. The second table, positions_archive shows the number of shares of those funds held in a sample portfolio on those same five days.? I've included samples of the prices_archive and positions_archive table and my desired output table in this google spreadsheet: [login to view URL] For example in the sample prices_archive table, XBI had a price of 54.5 on Jan 4th and 54.71 on Jan 5th. In the sample positions_archive table the portfolio held 100 shares of XBI on Jan 5 and 95 shares on Jan 5th. The output section of the google spreadsheet shows how I need this data echoed on my php page. The output tables have six colums, and I need a seperate table for each day's worth of portolio holdings, as shown. Ticker, Shares, Price, and Date are directly echoed from that day's price_archive and position_archive table. The data in the Value and Percentage columns are derived with simple math:? Value is the product of Shares and Price. For example XBI on Jan 4 had a price of 54.5, and there were 100 share of it in the portfolio on that date, so the Value figure is 100x54.5 or 5450. Percentage is the percentage of that holding in the overall portfolio on that day. That number is derived by calculating the total value of the portolio, that dividing that number into the value of the individual security on that day. On Jan 4 the total value of the portfolio was 40599.27. The value of the XBI holding was 5450. 5450/40599.27 = .134238. Take that number and multiply by 100 to get 13.42%. That's it. Please let me know if you have any questions. Thanks very much.
项目 ID: 3191737

关于此项目

9提案
远程项目
活跃14 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$25.50 USD 在3天之内
5.0 (85条评论)
5.6
5.6
9威客以平均价$33 USD来参与此工作竞价
用户头像
See private message.
$42.50 USD 在3天之内
5.0 (106条评论)
5.9
5.9
用户头像
See private message.
$63.75 USD 在3天之内
5.0 (147条评论)
6.0
6.0
用户头像
See private message.
$34 USD 在3天之内
5.0 (35条评论)
5.2
5.2
用户头像
See private message.
$15.30 USD 在3天之内
5.0 (51条评论)
4.7
4.7
用户头像
See private message.
$25.50 USD 在3天之内
4.9 (27条评论)
4.5
4.5
用户头像
See private message.
$42.50 USD 在3天之内
5.0 (13条评论)
3.2
3.2
用户头像
See private message.
$25.50 USD 在3天之内
5.0 (2条评论)
1.1
1.1
用户头像
See private message.
$21.25 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
55
付款方式已验证
会员自2月 13, 2007起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。