Socket
Book a DemoInstallSign in
Socket

charles-schwab-api

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

charles-schwab-api

Unofficial API wrapper for Charles Schwab Accounts and Trading, Market Data APIs

0.0.10
latest
Source
npmnpm
Version published
Weekly downloads
5
-73.68%
Maintainers
1
Weekly downloads
 
Created
Source

charles-schwab-api

Unofficial API wrapper for Charles Schwab Accounts and Trading, Market Data APIs

Installation

npm install charles-schwab-api

Usage

CommonJS

const charlesSchwabApi = require('charles-schwab-api'); 

ES6

import * as charlesSchwabApi from 'charles-schwab-api';

Authorize

charlesSchwabApi.authorize(appKey, callbackUrl);

Get token

charlesSchwabApi.getAccessToken(appKey,
      secret,
      'authorization_code',
      callbackUrl);

Refresh token

charlesSchwabApi.refreshAccessToken(appKey,
      secret,
      refreshToken);

Get account numbers

charlesSchwabApi.getAccountNumbersHashValues(accessToken);

Get quotes

charlesSchwabApi.getMarketData(accessToken, 'XYZ');

Example

Examples can be found in this project: https://github.com/Artimatic/charles-schwab-algorithmic-trading

FAQs

Package last updated on 08 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.