Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved default settings #707

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Improved default settings #707

wants to merge 1 commit into from

Conversation

froooze
Copy link

@froooze froooze commented Dec 7, 2019

No description provided.

@bitphage bitphage self-requested a review March 11, 2020 18:40
'Amount is expressed as a percentage of the account balance of quote/base asset', None),
ConfigElement('spread', 'float', 5, 'Spread',
'The percentage difference between buy and sell', (0, 100, 2, '%')),
ConfigElement('dynamic_spread', 'bool', False, 'Dynamic spread',
'Enable dynamic spread which overrides the spread field', None),
ConfigElement('market_depth_amount', 'float', 0, 'Market depth',
ConfigElement('market_depth_amount', 'float', 99, 'Market depth',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not be 99 as different assets have different value. Better keep 0 here.

'How many percent will own spread be compared to market spread?',
(0.01, 1000, 2, '%')),
ConfigElement('center_price', 'float', 0, 'Center price',
'Fixed center price expressed in base asset: base/quote', (0, None, 8, '')),
ConfigElement('center_price_dynamic', 'bool', True, 'Measure center price from market orders',
'Estimate the center from closest opposite orders or from a depth', None),
ConfigElement('center_price_depth', 'float', 0, 'Measurement depth',
ConfigElement('center_price_depth', 'float', 999, 'Measurement depth',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, keep 0 here.

'Cumulative quote amount from which depth center price will be measured',
(0.00000001, 1000000000, 8, '')),
ConfigElement('center_price_from_last_trade', 'bool', False, 'Last trade price as new center price',
'This will make orders move by half the spread at every fill', None),
ConfigElement('center_price_offset', 'bool', False, 'Center price offset based on asset balances',
ConfigElement('center_price_offset', 'bool', True, 'Center price offset based on asset balances',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to leave this to the user.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is better to leave this to the users with 'true', because false makes no sense for RO strategy.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really depends on how it's being used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants