Transpiled version (24253L) is out of date.
1 | concept G22TradingAccount extends ConceptWithChangeListeners { |
2 | settableWithVar S name; |
3 | settableWithVar S platform; |
4 | settableWithVar S comment; |
5 | |
6 | settableWithVar bool enabled = true; |
7 | |
8 | settableWithVar Double equity; |
9 | |
10 | settableWithVar L income; |
11 | settableWithVar L executions; |
12 | |
13 | settable transient Cl positions; |
14 | settable transient O session; |
15 | |
16 | File credentialsFile() { |
17 | ret javaxSecretDir("Trading-Accounts/" + id + ".cred"); |
18 | } |
19 | |
20 | toString { |
21 | ret "Account " + id + appendRoundBracketed(commaCombine(name, platform, equity)); |
22 | } |
23 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1037257 |
Snippet name: | G22TradingAccount |
Eternal ID of this version: | #1037257/14 |
Text MD5: | c9148f345144452d1b88ab3206a8d2f1 |
Author: | stefan |
Category: | javax / trading |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2024-01-04 19:31:21 |
Source code size: | 582 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 72 / 150 |
Version history: | 13 change(s) |
Referenced in: | [show references] |