alpaca-firebase
v1.0.11
Published
Algotrading bot example using TypeScript
Downloads
8
Readme
alpaca-firebase
Algotrading bot example using TypeScript
Learn how to create your first algotrading bot on Medium.
Prerequisites
Node v22.12.0 and a global installation of firebase-tools are required to work on this project:
nvm install v22.12.0
npm i -g firebase-toolsInstallation
git clone https://github.com/nielse63/alpaca-firebase.git
cd alpaca-firebase
nvm use
npm ciUsage
| Command | Description |
| ---------------- | ---------------------------------- |
| npm run serve | Run the firebase functions locally |
| npm run deploy | Deploy functions to production |
Development
| Command | Description |
| --------------- | ------------------------------- |
| npm run lint | Lint and format source files |
| npm run build | Generate type declaration files |
Testing
npm test
# with coverage
npm test -- --coverageCreating a new release
npm run release
npm run release -- --patch # release patch version
npm run release -- --minor # release minor version
npm run release -- --major # release major version
npm run release -- --force # run even with uncommitted changes
npm run release -- --dry-ryn # don't create an npm release