class Tradify::Level1
- Tradify::Level1
- Tradify::Level
- Reference
- Object
Direct Known Subclasses
Defined in:
tradify/level1.crConstant Summary
-
INITIAL_BALANCE =
500
-
PRICE_DATA =
[70, 50, 70, 90, 40, 20, 15, 30, 10, 20, 30, 40, 45, 30, 50, 70, 60, 80, 100, 130, 150, 190, 140, 130, 110, 100, 90, 110, 130, 120, 150, 140, 160, 100, 90, 110, 90, 70, 50, 60, 50, 40, 50, 70, 60]
-
TARGET_PROFIT =
100
Instance Method Summary
- #balance_label
- #buy(price)
- #buy_button
- #buy_click
- #buy_click_proc
- #load(balance = INITIAL_BALANCE)
- #load_balance(side_panel_components)
- #load_buttons(side_panel_components)
- #sell(price)
- #sell_button
- #sell_click
- #sell_click_proc
- #start
- #target_reached?
- #target_reached_message
- #trades_position
- #update
- #update_account
- #update_buttons
Instance methods inherited from class Tradify::Level
completed? : Bool
completed?,
draw
draw,
load
load,
loaded? : Bool
loaded?,
price(*args, **options)price(*args, **options, &) price, screen screen, start start, target_reached? target_reached?, target_reached_message target_reached_message, update update