Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@master-chief/alpaca

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@master-chief/alpaca - npm Package Compare versions

Comparing version 3.3.3 to 3.4.0

2

package.json
{
"name": "@master-chief/alpaca",
"version": "3.3.3",
"version": "3.4.0",
"description": "a TypeScript Node.js library for the https://alpaca.markets REST API and WebSocket streams",

@@ -5,0 +5,0 @@ "author": "master-chief",

@@ -5,3 +5,10 @@ import WebSocket from 'ws'

import { EventEmitter } from 'events'
import { Credentials } from './entities.js'
import {
AccountUpdate,
AggregateMinute,
Credentials,
Quote,
Trade,
TradeUpdate,
} from './entities.js'

@@ -25,7 +32,7 @@ export declare interface AlpacaStream {

message: (data: Object) => void
trade: (data: Object) => void
trade_updates: (data: Object) => void
account_updates: (data: Object) => void
quote: (data: Object) => void
aggregate_minute: (data: Object) => void
trade: (data: Trade) => void
trade_updates: (data: TradeUpdate) => void
account_updates: (data: AccountUpdate) => void
quote: (data: Quote) => void
aggregate_minute: (data: AggregateMinute) => void
}

@@ -32,0 +39,0 @@

/// <reference types="node" />
import { EventEmitter } from 'events';
import { Credentials } from './entities.js';
import { AccountUpdate, AggregateMinute, Credentials, Quote, Trade, TradeUpdate } from './entities.js';
export declare interface AlpacaStream {

@@ -14,7 +14,7 @@ on<U extends keyof AlpacaStreamEvents>(event: U, listener: AlpacaStreamEvents[U]): this;

message: (data: Object) => void;
trade: (data: Object) => void;
trade_updates: (data: Object) => void;
account_updates: (data: Object) => void;
quote: (data: Object) => void;
aggregate_minute: (data: Object) => void;
trade: (data: Trade) => void;
trade_updates: (data: TradeUpdate) => void;
account_updates: (data: AccountUpdate) => void;
quote: (data: Quote) => void;
aggregate_minute: (data: AggregateMinute) => void;
}

@@ -21,0 +21,0 @@ export declare class AlpacaStream extends EventEmitter {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc