BlackBot icon indicating copy to clipboard operation
BlackBot copied to clipboard

Invalid BASE price

Open sajjadafridi opened this issue 5 years ago • 1 comments

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?

sajjadafridi avatar Jan 15 '20 07:01 sajjadafridi

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

netsalesbg-ltd avatar Jul 08 '20 12:07 netsalesbg-ltd