vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Stock Trader for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=135084)

Tulsa 01-18-2007 11:05 AM

Quote:

Originally Posted by Lionel (Post 1162064)
This is not the real world. In day trading you can buy and sell within 1 second apart.

If you choose to put a delay into this mod, please give us the option to invoke it or not. I would hate to see such a delay for my site.

Lionel 01-18-2007 11:15 AM

What would be nice with this hack would be the possibility to buy on margin

MorrisMcD 01-18-2007 12:22 PM

Potential issue... A user bought a stock that is unlisted in price for some reason.. They got over a million for 0 points a share.. Once that thing starts showing its value, the user can just sell it and make a killing..

Is there a possibility of restricting the buying of stocks valued at 0?

zethon 01-18-2007 12:43 PM

Quote:

Originally Posted by Tulsa (Post 1162078)
If you choose to put a delay into this mod, please give us the option to invoke it or not. I would hate to see such a delay for my site.

Absolutely. I built this last night, and you can just leave the requirement at "0 days". I'll be posting this update later.

Quote:

Originally Posted by MorrisMcD (Post 1162130)
Potential issue... A user bought a stock that is unlisted in price for some reason.. They got over a million for 0 points a share.. Once that thing starts showing its value, the user can just sell it and make a killing..

Is there a possibility of restricting the buying of stocks valued at 0?

Wow. I will fix this in the next release.

NFLfbJunkie 01-18-2007 12:46 PM

I installed this MOD and added the cde to the navbar template so a link will show on my navbar, but nothing shows up. Actually, after adding coding to the navbar to display links for other MODs, I am getting the same problem. Does anyone know if there's something different with editing the navbar in 3.6.4?

MorrisMcD 01-18-2007 01:09 PM

Quote:

Originally Posted by zethon (Post 1162151)

Wow. I will fix this in the next release.

Good news.. Its still kinda like an exploit, but it doesnt do what I thought it would. Since its dividing the total out to get the percentage before it gives the gain (I think), it fails and I get a division by 0 error....

See attachments below... The error is appearing at the top of the page.

Still would like to see it fixed if possible though :)

While I am at it, can I make a request? What about a history.. Of selling stocks per portfolio?

zethon 01-18-2007 01:30 PM

Quote:

Originally Posted by MorrisMcD (Post 1162168)
Good news.. Its still kinda like an exploit, but it doesnt do what I thought it would. Since its dividing the total out to get the percentage before it gives the gain (I think), it fails and I get a division by 0 error....

See attachments below... The error is appearing at the top of the page.

Still would like to see it fixed if possible though :)

While I am at it, can I make a request? What about a history.. Of selling stocks per portfolio?

I just posted an update that has a fix for this. The minimum price a stock can have for a user to purchase defaults to $0.001. However, I've made this configurable in the add-on's options.

I've also added the minimum number of days feature that someone else requested. This too is configurable.

As for a portfolio history... that's not such a simple change and may not happen until a 2.0 version. :)

Carl Anderson 01-18-2007 01:33 PM

I have a few requests that would be nice....

One would be a personal Portfolio of the real stocks you own. Where you just enter the amount owned and the price you paid so you can keep tabs on your real portfolio - no one can view it and you don't need bux to enter the amounts.

As far as contests go a start and stop date and an initial amount of funds for it that can't be added to. You have to start with everyone having the same amount to invest to make it a fair contest... So say I give everyone 150,000 vbux the contest would only allow 100,000 something we could set... or have the option of no limit?

As far as the navbar I would like to see just Stock Trader that points to vbtrader.php and then when you click on that the links to top performers and if you have "contest" a link to that... My navbar has too much stuff on it already and don't need more.. Just one link in the navbar is enough.

Thx for the great work

NFLfbJunkie 01-18-2007 01:36 PM

Zethon, what file needs to be uploaded for the changes you just made?

MorrisMcD 01-18-2007 01:57 PM

Quote:

Originally Posted by zethon (Post 1162185)
I just posted an update that has a fix for this. The minimum price a stock can have for a user to purchase defaults to $0.001. However, I've made this configurable in the add-on's options.

I've also added the minimum number of days feature that someone else requested. This too is configurable.

As for a portfolio history... that's not such a simple change and may not happen until a 2.0 version. :)

Understandable on the history.. Thanks for the quick fix.. Worked for me! My cron job still reports a divide by zero error when run manually so I wonder if its updating.. You think I just need to del anything in the db referring to HOKU?

Quote:

Originally Posted by Junkie (Post 1162192)
Zethon, what file needs to be uploaded for the changes you just made?

Just upload the whole upload folder again and reinstall the product with the overwrite option.. Worked for me


All times are GMT. The time now is 11:46 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01333 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete