Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

Freedom Cash

πŸ¦• module to stabilize the buy price and increase the sell price of Freedom Cash.

Usage Example

import { Bollinger } from "https://deno.land/x/freedom_cash/mod.ts";
import { sleep } from "https://deno.land/x/sleep/mod.ts";

const bollinger = await Bollinger.getInstance()

let repeatXMoreTimes = 9 
const minHistoryLength = 3
const factor = 3

while (repeatXMoreTimes > 0) {
    const randomNumber = Math.round((Math.random() * (81 - 9) + 9))
    bollinger.addToPriceHistory(randomNumber)
    const investmentDecision = bollinger.getInvestmentDecision(minHistoryLength, factor)
    console.log("O.K. I will:", investmentDecision)
    await sleep(9)
    repeatXMoreTimes--
}

Donations

Thanks to Freedom Cash, we are already free.
If you want to donate, you might consider donating to the otherparty.co.uk to ensure people do not need to donate to victims but rather donate successfully to problem solvers.

direct-democracy