Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Set poll time for buy/sell commands to not overflow server #954

Merged
merged 1 commit into from
Dec 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions commands/buy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = function container (get, set, clear) {
.option('--size <size>', 'buy specific size of currency')
.option('--markdown_buy_pct <pct>', '% to mark down buy price', Number, c.markdown_buy_pct)
.option('--order_adjust_time <ms>', 'adjust bid on this interval to keep order competitive', Number, c.order_adjust_time)
.option('--order_poll_time <ms>', 'poll order status on this interval', Number, c.order_poll_time)
.option('--max_slippage_pct <pct>', 'avoid buying at a slippage pct above this float', c.max_slippage_pct)
.option('--debug', 'output detailed debug info')
.action(function (selector, cmd) {
Expand Down
1 change: 1 addition & 0 deletions commands/sell.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = function container (get, set, clear) {
.option('--size <size>', 'sell specific size of currency')
.option('--markup_sell_pct <pct>', '% to mark up sell price', Number, c.markup_sell_pct)
.option('--order_adjust_time <ms>', 'adjust ask on this interval to keep order competitive', Number, c.order_adjust_time)
.option('--order_poll_time <ms>', 'poll order status on this interval', Number, c.order_poll_time)
.option('--max_slippage_pct <pct>', 'avoid selling at a slippage pct above this float', c.max_slippage_pct)
.option('--debug', 'output detailed debug info')
.action(function (selector, cmd) {
Expand Down