1.0.22 • Published 2 years ago

odin-marketfeed-api-test v1.0.22

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ODIN API User Guide

ODIN Rest API allows the developer to create a custom trading application for Web or Mobile communicating with ODIN Order Management System (OMS). This REST based API allows user to develop the following functionalities for Trading Application / Portal.

Salient Features:

  1. User Authentication and Profile management
  2. Order Management
  3. Portfolio information management

Commands

To Install ODIN API, use:

npm install odinapi

Auth

// E6 Module
import { OdinAPI } from 'odinapi';

const ODIN = new OdinAPI({
  apikey: 'YOUR_API_KEY',
  log: true,
});

async login() {
  try{
    const response = await ODIN.Auth.login(data);
    // Handle your response here
  }catch(error){
    // Handle your error here
  }
}


// Module Js
const {OdinAPI} = require('odin-api');

const ODIN = new OdinAPI({
  apikey: 'YOUR_API_KEY',
  log: true,
});

ODIN.Auth.login(data).then((response)=>{
  // Handle your response here
}).catch((error)=>{
  // Handle your error here
})

Test ODIN API

Test ODIN API, use:

npm run test
1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago