class Tradify::Level4
Defined in:
tradify/level4.crConstant Summary
-
INITIAL_BALANCE =
500
-
PRICE_DATA =
[70, 80, 50, 50, 80, 90, 80, 40, 20, 90, 90, 90, 90, 80, 10]
-
TARGET_PROFIT =
300
Instance Method Summary
- #load(balance = INITIAL_BALANCE)
- #load_balance(side_panel_components)
- #positions_label
- #start
- #target_reached?
- #target_reached_message
- #update_account
- #update_buttons
Instance methods inherited from class Tradify::Level3
load(balance = INITIAL_BALANCE)
load,
sell_click_level_3
sell_click_level_3,
sell_click_proc
sell_click_proc,
short(price)
short,
start
start,
target_reached?
target_reached?,
target_reached_message
target_reached_message,
update_buttons
update_buttons
Instance methods inherited from class Tradify::Level2
load(balance = INITIAL_BALANCE)
load,
load_buttons(side_panel_components)
load_buttons,
start
start,
target_reached?
target_reached?,
target_reached_message
target_reached_message,
update_buttons
update_buttons
Instance methods inherited from class Tradify::Level1
balance_label
balance_label,
buy(price)
buy,
buy_button
buy_button,
buy_click
buy_click,
buy_click_proc
buy_click_proc,
load(balance = INITIAL_BALANCE)
load,
load_balance(side_panel_components)
load_balance,
load_buttons(side_panel_components)
load_buttons,
sell(price)
sell,
sell_button
sell_button,
sell_click
sell_click,
sell_click_proc
sell_click_proc,
start
start,
target_reached?
target_reached?,
target_reached_message
target_reached_message,
trades_position
trades_position,
update
update,
update_account
update_account,
update_buttons
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