1.0.0-alpha.4 • Published 2 years ago

@traderfour/my-ts v1.0.0-alpha.4

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

my-ts

The official repository for Trader4 my (panel) TypeScript package.

import { accounts } from "@trader4/my-ts";

// Create the package instance
const accounts = accounts();

// Now you have access to everything :)
// feel free to add more config to your project
accounts.config.headers = { Authorization: "ACCESS_TOKEN" };

// Now you can retrieve all trading accounts of user in Trader4
let accountsItems = accounts.list();