Skip to main content
Deno 2 is finally here 🎉️
Learn more

Freedom Cash Investor

This module is utilized e.g. to stabilize the buy price and to increase the sell price for Freedom Cash.

It utilizes Bollinger Bands and sleep.

Usage Example

import { InvestorServiceBBBased } from "https://deno.land/x/freedom_cash_investor/src/investor-service.ts"

const investorServiceBBBased: InvestorServiceBBBased = new InvestorServiceBBBased(27)
const minHistoryLength = 3

investorServiceBBBased.addToPriceHistory(6)
investorServiceBBBased.addToPriceHistory(9)
investorServiceBBBased.addToPriceHistory(3)
const investmentDecision = investorServiceBBBased.getInvestmentDecision(minHistoryLength)

console.log(investmentDecision)

Execute Usage Example

deno run https://deno.land/x/freedom_cash_investor/usage-example.ts

Execute Demo

deno run https://deno.land/x/freedom_cash_investor/demo.ts

Execute Unit Tests

deno test https://deno.land/x/freedom_cash_investor/src/investor-service.spec.ts

For further examples you can check the unit tests.

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