static double applyLeverageToProfit(int leverage, double profit) { ret profit*leverage; }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1036179 |
| Snippet name: | applyLeverageToProfit |
| Eternal ID of this version: | #1036179/1 |
| Text MD5: | 875ec07a18a3e0e1991c64344ff2ba71 |
| Author: | stefan |
| Category: | javax / trading bot |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-10-05 20:17:48 |
| Source code size: | 93 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 343 / 358 |
| Referenced in: | [show references] |