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.

sclass TradingSignal {
  settable S market;
  
  // set amount to negative value to close position
  settable double amount;
  
  // HoldSide.SHORT or HoldSide.LONG
  settable HoldSide holdSide;
  
  settable int leverage = 1;
}

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: 9 / 16
Version history: 1 change(s)
Referenced in: [show references]