npm.io
1.0.0-alpha.1 • Published 3 years ago

my-ts-trader-4

Licence
ISC
Version
1.0.0-alpha.1
Deps
1
Size
6 kB
Vulns
0
Weekly
0

ts-my

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

** First of all set your baseURL using config Object **

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

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

// Now you have access to everything :)
tradingAccounts.config.baseURL = "your_baseURL_here";

// feel free to add more config to your project
tradingAccounts.config.headers = { Authorization: "ACCESS_TOKEN" };

Keywords