Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1036211 // TradingSignal (old)

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (56L) is out of date.

1  
sclass TradingSignal {
2  
  settable S market;
3  
  
4  
  // set amount to negative value to close position
5  
  settable double amount;
6  
  
7  
  // HoldSide.SHORT or HoldSide.LONG
8  
  settable HoldSide holdSide;
9  
  
10  
  settable int leverage = 1;
11  
}

Author comment

Began life as a copy of #1036209

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036211
Snippet name: TradingSignal (old)
Eternal ID of this version: #1036211/2
Text MD5: 07893266587a908c5439e266b8021f0a
Author: stefan
Category: javax / trading
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-23 17:19:47
Source code size: 238 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 136 / 182
Version history: 1 change(s)
Referenced in: [show references]