npm

skinnypig

1.0.6 • Public • Published

SkinnyPig

buther

🐷😄 This is Butcher of FatPig signals 😄🐷

Installation

# npm
npm i skinnypig

# yarn
yarn add skinnypig
// esm
import { butcher } from "skinnypig"

// cjs
const { butcher } = require("skinnypig")

Usage

// async
try {
    const { signal, confidence } = await butcher("path/Of/fatPigSignalImage.jpg")
    /** signal output
     *  {
     *      pair: ["BNB", "USDT"],
     *      entry: [560, 614],
     *      stop: [479],
     *      targets: [632, 658, 705, 780, 900, 1150]
     *  }
     */
} catch (e) {
    // The image is unrecognizable
}

// sync
startSession("path/Of/fatPigSignalImage.jpg")
    .then(({ signal, confidence }) => {
        /** confidence output
         *  92
         */
    })
    .catch((e) => {
        // The image is unrecognizable
    })

Cli

butcher "path/Of/target.jpg" --reflect "path/of/reflect.jpg" --log

Limitations

  • Not browser-compatible.
  • Only images like targets are supported.

Targets

targets

Reflects

reflects

Package Sidebar

Install

npm i skinnypig

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

12.3 MB

Total Files

36

Last publish

Collaborators

  • dalirnet