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

Invalid BASE price #28

Open
sajjadafridi opened this issue Jan 15, 2020 · 1 comment
Open

Invalid BASE price #28

sajjadafridi opened this issue Jan 15, 2020 · 1 comment

Comments

@sajjadafridi
Copy link

This is my configuration file:

[main]
node = http://nodes.wavesnodes.com
# select the network: testnet or mainnet
network = mainnet
matcher = http://matcher.wavesnodes.com
order_fee = 300000
order_lifetime = 86400

[account]
private_key = my private key

[market]
amount_asset = WAVES
price_asset = mypriceid


[grid]
interval = 0.005
tranche_size = 200000000
grid_levels = 20
# base price calculation: LAST, BID, ASK, nnnnn (fixed constant price)
base = last
# amount flexibility in percent, 20% flexibility means that the amount of the order might flucture +/- 10% around the defined tranche_size
flexibility = 20
# grid type: SYMMEMTRIC, BIDS only, ASKS, only
type = symmetric

[logging]
logfile = bot.log

Out put when set base = LAST

[Jan 15 2020 07:02:03 UTC] :    Price Asset ID : XXXXXXXXXXXXXXXXXXXXXXXXXXXX
[Jan 15 2020 07:02:03 UTC] : --------------------------------------------------------------------------------
[Jan 15 2020 07:02:03 UTC] :
[Jan 15 2020 07:02:04 UTC] : Cancelling open orders...
[Jan 15 2020 07:02:05 UTC] : Deleting order history...
[Jan 15 2020 07:02:06 UTC] :
[Jan 15 2020 07:02:06 UTC] : Invalid BASE price
[Jan 15 2020 07:02:06 UTC] : Exiting.

Could any help possible?

@netsalesbg-ltd
Copy link

That is because you have a new wallet without any orders. Either make an order or change the base property to BID or ASK instead of LAST

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

No branches or pull requests

2 participants