Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Github diff showing addition of code: def _get_change()-> Decimal: daily_volume = current_session().query(func.sum(Trade.size * Trade.price)).filter( Trade.created_at > datetime.now() - timedelta(days=1)).scalar() or Decimal() return f2d(numpy.random.normal(7500, 3000))* daily_volume / Decimal('1e9') @always_run_in_transaction(ro=False) def update_public_insurance_fund(): change = _get_change() sess = current_session() + public_insurance_fund = Public InsuranceFund.get(sess) sess.add(Public InsuranceFundChange(public_insurance_fund-public_insurance_fund, size-change)) public_insurance_fund.size += change sess.commit()

Download link

https://media.hachyderm.io/media_attachments/files/111/195/065/415/152/843/original/c05e502153767407.png

Notices where this attachment appears

  1. Molly White (molly0xfff@hachyderm.io)'s status on Sunday, 08-Oct-2023 00:12:16 UTC Molly White Molly White

    From yesterday's exhibits in US v. Sam Bankman-Fried:

    The prosecution shows that the "insurance fund" that FTX bragged about was fake, and just calculated by multiplying daily trading volume by a random number around 7500

    #FTX #SBF #crypto #cryptocurrency

    In conversation Sunday, 08-Oct-2023 00:12:16 UTC from hachyderm.io permalink
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.