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

command-line run sample_pendulum.cfg prompt error #743

Open
hellogit2021 opened this issue Oct 30, 2021 · 0 comments
Open

command-line run sample_pendulum.cfg prompt error #743

hellogit2021 opened this issue Oct 30, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@hellogit2021
Copy link

1.KELP GUI:OK
2.command-line buysell strategy:OK
3.command-line pendulum and sell_swap :NG

below is error msg

2021/10/30 13:07:11 PRICE_TOLERANCE: 0.001
2021/10/30 13:07:11 AMOUNT_TOLERANCE: 1
2021/10/30 13:07:11 AMOUNT_BASE_BUY: 100
2021/10/30 13:07:11 AMOUNT_BASE_SELL: 100
2021/10/30 13:07:11 SPREAD: 0.001
2021/10/30 13:07:11 MAX_LEVELS: 2
2021/10/30 13:07:11 SEED_LAST_TRADE_PRICE: 0.066
2021/10/30 13:07:11 MAX_PRICE: 0.07
2021/10/30 13:07:11 MIN_PRICE: 0.062
2021/10/30 13:07:11 MIN_BASE: 0
2021/10/30 13:07:11 MIN_QUOTE: 0
2021/10/30 13:07:11 LAST_TRADE_CURSOR:
2021/10/30 13:07:11 validating trustlines...
2021/10/30 13:07:13 trustlines valid
2021/10/30 13:07:13 Starting the trader bot...
2021/10/30 13:07:13 ----------------------------------------------------------------------------------------------------
2021/10/30 13:07:14 synchronized state loading is disabled
2021/10/30 13:07:14 (base) assetA=native, maxA=10998.99961990, trustA=math.MaxFloat64
2021/10/30 13:07:14 (quote) assetB=COUPON:GBMMZMK2DC4FFP4CAI6KCVNCQ7WLO5A7DQU7EC7WGHRDQBZB763X4OQI, maxB=647.05406200, trustB=922337203685.47753906
2021/10/30 13:07:14 orderConstraints for trading pair XLM/COUPON: OrderConstraints[PricePrecision: 7, VolumePrecision: 7, MinBaseVolume: 0.0000001, MinQuoteVolume: ]
2021/10/30 13:07:14 liabilities after resetting
2021/10/30 13:07:14 asset=base , balance=10998.99961990, trust=math.MaxFloat64, minAccountBal=21.50000000, buyingLiabilities=0.00000000, sellingLiabilities=0.00000000
2021/10/30 13:07:15 asset=quote , balance=647.05406200, trust=922337203685.47753906, minAccountBal=0.64705406, buyingLiabilities=0.00000000, sellingLiabilities=0.00000000
2021/10/30 13:07:15 levels couldn't be loaded: error in fetchLatestTradePrice: error in tradeFetcher.GetTradeHistory: error while fetching trades in SDEX (cursor=): json: cannot unmarshal string into Go struct field Price._embedded.records.price.n of type int32
2021/10/30 13:07:15 levels couldn't be loaded: error in fetchLatestTradePrice: error in tradeFetcher.GetTradeHistory: error while fetching trades in SDEX (cursor=): json: cannot unmarshal string into Go struct field Price._embedded.records.price.n of type int32
2021/10/30 13:07:15 errors on both sides: buying (= error in fetchLatestTradePrice: error in tradeFetcher.GetTradeHistory: error while fetching trades in SDEX (cursor=): json: cannot unmarshal string into Go struct field Price._embedded.records.price.n of type int32) and selling (= error in fetchLatestTradePrice: error in tradeFetcher.GetTradeHistory: error while fetching trades in SDEX (cursor=): json: cannot unmarshal string into Go struct field Price._embedded.records.price.n of type int32)
2021/10/30 13:07:15 not deleting any offers because deleteCyclesThreshold is negative
2021/10/30 13:07:15 time taken for update loop: 2843 millis
2021/10/30 13:07:16 metric - successfully sent event metric of type 'update_offers'
2021/10/30 13:07:16 ----------------------------------------------------------------------------------------------------
2021/10/30 13:07:16 sleeping for 4m56.8384413s...

Your Environment

kelp version: v1.11.0 (kelp-v1.11.0-linux-amd64.tar)
OS;WIN 10
CPU:INTEL

@hellogit2021 hellogit2021 added the bug Something isn't working label Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant