1.0.18 • Published 1 year ago

odin-marketfeed-api-new v1.0.18

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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.18

1 year ago

1.0.17

1 year ago

1.0.17-s

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago