1. REGISTRATION REQUIREMENTS:

    Register with your xenforo.com Username then start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Log file?

Discussion in 'Stock Trader Support' started by SneakyDave, Feb 20, 2013.

  1. SneakyDave

    SneakyDave Member Sportsbook

    Is there a log file of shares purchased/sold?

    I have a member that was looking to sell shares that he purchased last week, but the acp tells me the earliest he bought any was yesterday morning.

    Is there a log in the db or elsewhere that keeps a list of these transactions?
     
  2. Bob

    Bob Developer Staff Member

    each row in the xf_nflj_stocktrader_stock table is a "purchase" transaction. These are NEVER deleted or purged.
    each row in the xf_nflj_stocktrader_stock_sold_log is a "sold" transaction. These are also NEVER deleted or purged.

    I currently do not have an interface for history, but am working on one and it uses the transactions from both tables.

    You should be able to do a query of the "stock" table to get every transaction by a user and order by purchase_date :)
     
  3. SneakyDave

    SneakyDave Member Sportsbook

    That's fine, thanks. I'll be able to do a little figuring to get the userid and the datetimes checked.
     
  4. Bob

    Bob Developer Staff Member

    If you need help let me know :)
     
  5. SneakyDave

    SneakyDave Member Sportsbook

    This same user said that he was able to somehow by 20 shares of something, and then "buy" -20 shares of the same thing in order to get around the lock date. But I can't duplicate it, as the quantity appears to default to "1" if the number of shares isn't numeric or a positive number.
     
  6. Bob

    Bob Developer Staff Member

    you can't duplicate it, cause it is not possible. Its an unsigned integer.
     
  7. SneakyDave

    SneakyDave Member Sportsbook

    Ah, yeah, that would make it impossible then. Thanks for the info.
     
    Bob likes this.
  8. Bob

    Bob Developer Staff Member

    me thinks he was trying to get one over on ya lol
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.