my-ts-trader-4
v1.0.0-alpha.1
Published
The official repository for Trader4 my (panel) TypeScript package.
Downloads
2
Maintainers
Readme
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" };