@tickerall/sdk 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -46,6 +46,16 @@ interface AccountInfo {
46
46
  brokerWebsite?: string;
47
47
  supportEmail?: string;
48
48
  metaQuotesId?: string;
49
+ /** Account currency (e.g. "USD"). */
50
+ currency?: string;
51
+ /** Balance + floating P/L of open positions. */
52
+ equity?: number;
53
+ /** Margin currently used by open positions; 0 when flat. */
54
+ margin?: number;
55
+ /** Equity minus used margin. */
56
+ freeMargin?: number;
57
+ /** equity / margin * 100; null when no margin is in use. */
58
+ marginLevel?: number | null;
49
59
  }
50
60
  interface Position {
51
61
  ticket: number;
package/dist/index.d.ts CHANGED
@@ -46,6 +46,16 @@ interface AccountInfo {
46
46
  brokerWebsite?: string;
47
47
  supportEmail?: string;
48
48
  metaQuotesId?: string;
49
+ /** Account currency (e.g. "USD"). */
50
+ currency?: string;
51
+ /** Balance + floating P/L of open positions. */
52
+ equity?: number;
53
+ /** Margin currently used by open positions; 0 when flat. */
54
+ margin?: number;
55
+ /** Equity minus used margin. */
56
+ freeMargin?: number;
57
+ /** equity / margin * 100; null when no margin is in use. */
58
+ marginLevel?: number | null;
49
59
  }
50
60
  interface Position {
51
61
  ticket: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tickerall/sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Official TypeScript client for the TickerAll REST + WebSocket API.",
5
5
  "author": "Miguel Santos",
6
6
  "license": "MIT",