![]() |
Quote:
exactly! |
could be my error in that i just turned on user reps for the board and jacked up the minimum balance. will check it out later..
|
One other option I would like to make this more realistic...
Have a setting on how long you must hold a stock before you can sell it! A setting on how long after you sell a stock the money from the sell becomes available. Without this my users are able to buy like say and Oil or Gold stock before the open when they see the market has been up overseas and then sell it and do the same thing the next morning. On my real brokerage account I can't sell a stock I just bought that quick because it takes three days to clear and they don't like me selling what I don't really have yet.. So a setting on how long you must hold it would encourage investing instead of just buying anything. Plus you could set it for like 30 days and then people would need to pick their stocks more carefully because if the sell their money is not available for so many days to buy again... |
Doesnt work It redirects me to my usercp?!
|
Quote:
|
Things got messed up after last update. It does not deduct points after purchase and does not add after selling.
|
Quote:
Quote:
|
Quote:
Cool , I was talking about this though : Code:
(OPTIONAL) |
Quote:
|
By request, I have added a statistics page to this add-on,the ability to view other user's portfolios, and variables which can be added into the postbit. Upgrade as normal.
|
At what point does it insert those values ambportval, ambportgainamt , ambportgainper in table user? Mine are empty even though there are traders.
|
Few bugs. I found the cron, but:
1-one portfolio value is 147,300.700, it displays 130,135.20 in top portfolios 2-In table user I have many values as -9999999.999 in both ambportval and ambportgainamt 3-If you sell all your stocks, the new portfolio value is not updated and it still displays in top portfoloios. I am not sure I understand the WHERE clause in the cron Quote:
|
Quote:
Quote:
Quote:
Quote:
|
Quote:
|
some screenshots
1.-top portfolio 2.-value of same portfolio 3.-strange value in database |
Quote:
|
Hmm I uploaded all files, re-imported product and checked options.. when I go to top investors I get a 404.
Ive since upgraded to 3.6.4 and the standard mod works fine... any ideas? http://digitalet.net/forum/vbtrade.php&do=topportfolios |
Quote:
|
Quote:
|
Can you give me instructions on how to display top 10 earners in Cyb - Advanced forum Stat mod ? Similar like top 10 posters....
I had Uncached templates: forumdisplay_sortarrow when trying to reach vbtrade.php?do=topportfolios |
Quote:
|
Quote:
Code:
Database error in vBulletin 3.6.3: Second, I just purchased stocks yet it shows a change - even though no change is displayed. Screenshot for clarification. Third, just trivial, but why 3 digit decimal places? |
upgraded and running perfectly fine on 3.6.4!
Thanks so much , we all really appreciate your hard work :) ** Noticed though , that we now have commas in place on the amount of stock quantities owned. If you copy and paste your quantity into the " sell " box , it's not reading all of the digits past the 2nd comma, just a heads up , almost sold 7.2 million worth of stock for 7,200 :) |
Quote:
Quote:
|
no error here php 4.4.4 and vb 3.6.4
|
anyone has a working demo of this mod using reputation as cash ? Did anyone got this working in postbit ?
|
Quote:
Quote:
Even though the market is closed today, it still shows a "change". What you want to pay attention to to se how much you've made is the "Gain" and "Gain %" fields. Quote:
|
Quote:
|
I sign up for your board to check out :)
I add this to my postbit_legacy <span id="repdisplay_$post[postid]_$post[userid]">Portfolio :$post[ambportval] ($post[ambportgainper]%)</span></div> This is how it shows Portfolio: 101505.000$ (0.039%) this should have been 3.9% but i notice you divide them to decimal. I notice on your forum you have it shown as Porfolio: 9,323.75 rep (+ 12%) How do you add +/- in front of the percentage return. Also, can you add , in the thousand to make 100K become 100,000.000 as the way US uses. Can we trim 000 after decimal point ? If those 3 decimals are all 0, why should we keep it. |
When I load up the top portfolio screen, it's not populated at all. I get a nice header for members, portfolio value, total earning and percentage but nothing else is listed.
|
Anyone got a better portfolio.gif ?
my portfolio.gif image is not shown properly. It should have been /forum/images/misc/portfolio.gif but it points to /images/misc/portfolio.gif To fix this, in vbtrade.php around line 496 change <img src='/images/misc/portfolio.gif' to <img src='images/misc/portfolio.gif' |
Quote:
|
Quote:
Quote:
|
Thanks for the quick response, zethon
The latest version fixed the amount display problem. Now it displays 100,000.000 instead of 100000.000 Thanks |
Quote:
HTML Code:
<td class="vbmenu_option"><a href="vbtrade.php?do=main">$vbphrase[ambst_title]</a></td> The page with error http://digitalet.net/forum/vbtrade.php?do=topportfolios I have downloaded the latest version, overwrote all and re-imported product with overwrite on. Quote:
|
Quote:
Well it's working now so I guess it needed to run it's cron job first before populating. |
Quote:
|
How often is the value in postbit updated ?
My topportfolion http://www.quantnet.org/forum/vbtrad...=topportfolios show different values than when you go to the portfolio value http://www.quantnet.org/forum/vbtrad...olio&userid=74 |
Quote:
regards |
try adding "AS user"
FROM magical_user AS user |
All times are GMT. The time now is 03:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|