Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nielse63/alpaca-trading-scripts
Algotrading bot example using TypeScript
https://github.com/nielse63/alpaca-trading-scripts
algotrading alpaca alpaca-trading-api trading trading-bot typescript
Last synced: 28 days ago
JSON representation
Algotrading bot example using TypeScript
- Host: GitHub
- URL: https://github.com/nielse63/alpaca-trading-scripts
- Owner: nielse63
- Created: 2021-06-21T05:32:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T21:43:45.000Z (7 months ago)
- Last Synced: 2024-04-13T21:54:31.481Z (7 months ago)
- Topics: algotrading, alpaca, alpaca-trading-api, trading, trading-bot, typescript
- Language: TypeScript
- Homepage: https://github.com/nielse63/alpaca-trading-scripts
- Size: 2.9 MB
- Stars: 1
- Watchers: 4
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# alpaca-trading-scripts
> Algotrading bot example using TypeScript
[Learn how to create your first algotrading bot on Medium.](https://medium.com/@ErikKyleNielsen/write-your-first-typescript-algotrading-bot-8194dfe60e5f)
## Installation
```bash
git clone https://github.com/nielse63/alpaca-trading-scripts.git
cd alpaca-trading-scripts
nvm use
npm ci
```## Usage
```bash
npm run build
npm start
```### Development
```bash
npm run dev
```### Testing
```bash
npm test# with coverage
npm test -- --coverage
```### Running in production
To execute in a production environment:
```bash
#!/usr/bin/env bash
/path/to/alpaca-trading-scripts/.bin/run
```### Creating a new release
```bash
gh release create
npm version --no-git-tag-version from-git
git add .
git commit --no-edit --amend
```