Tradify::Level1
Inherits Tradify::Level < Reference < Object
Constants
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 methods
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