0.4.4 • Published 6 months ago

@types/parity-pmd v0.4.4

Weekly downloads
22
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/parity-pmd

Summary

This package contains type definitions for parity-pmd (https://github.com/paritytrading/node-parity-pmd#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parity-pmd.

index.d.ts

// Type definitions for parity-pmd 0.4
// Project: https://github.com/paritytrading/node-parity-pmd#readme
// Definitions by: Leonard Vujanić <https://github.com/leovujanic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4

/// <reference types="node" />

/**
 * Declares Parity PMD message structure
 * Full reference can be found here https://github.com/paritytrading/parity/blob/master/libraries/net/doc/PMD.md
 */
export interface PMDMessage {
    messageType: string;
    version?: string | undefined;
    timestamp?: number | undefined;
    orderNumber?: number | undefined;
    side?: string | undefined;
    instrument?: string | undefined;
    quantity?: number | undefined;
    price?: number | undefined;
}

export function format(message: PMDMessage): Buffer;

export function parse(buffer: Buffer): PMDMessage;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:35:16 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Leonard Vujanić.

0.4.4

6 months ago

0.4.3

7 months ago

0.4.2

2 years ago

0.4.1

3 years ago

0.4.0

6 years ago