Skip to content

Refactor trailing_stop #67

@todo

Description

@todo

this code is messy


# @todo Refactor trailing_stop
# @body this code is messy
def trailing_stop(open_price, percent_of_portfolio, pair = 'LTC-BTC', profit = 0.5, t_stop = 0.25, stop_percent = 1.0, existing = false)
File.delete('jobs/paused_ts.json') if check_for_paused_job('ts')
redis = Redis.new


This issue was generated by todo based on a @todo comment in 07c1265 when #66 was merged. cc @Skeyelab.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions