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

11
LINES

< > BotCompany Repo | #1036351 // JuiceStrategy - just "juices" (automatically closes) a position that was opened manually

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

Libraryless. Click here for Pure Java version (29531L/186K).

1  
concept JuiceStrategy extends G22TradingStrategy {
2  
  !include #1036461 // JuiceStrategy Include
3  
  
4  
  AbstractJuicer makeJuicer() {
5  
    ret new StopLossJuicer;
6  
  }
7  
  
8  
  void price(double price) {
9  
    juiceStrategy_price(price);
10  
  }
11  
}

Author comment

Began life as a copy of #1036259

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036351
Snippet name: JuiceStrategy - just "juices" (automatically closes) a position that was opened manually
Eternal ID of this version: #1036351/26
Text MD5: baf0036c5f998d355433b52da44e347d
Transpilation MD5: 1615412f779f9894b9dcb475d280ce32
Author: stefan
Category: javax / gazelle 22
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-18 03:21:36
Source code size: 242 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 127 / 275
Version history: 25 change(s)
Referenced in: [show references]