(10-25-2018, 05:33 AM)askmike Wrote: RSI_BULL_BEAR_ADX is not a standard Gekko strategy, better to ask this in the thread about RSI_BULL_BEAR_ADX!
Unless you think the problem might be with Gekko, in which case please post logs
Oh ok, sorry for that
But regarding the market price buy thing, am I doing things correctly? Is this code looks correct, if I want to do market buy using all of my BTC?
EDIT: Ok, I have found this warning in log:
2018-10-25 13:24:16 (INFO): Trader Received advice to go long. Buying ARN
2018-10-25 13:24:16 (WARN): NOT creating order! Reason: Lot size is too small
So it seems that the amount of my BTC is too small. But can I configure it somewhere?
const reqData = {
symbol: this.pair,
side: tradeType.toUpperCase(),
type: 'MARKET',
timeInForce: 'GTC',
quantity: amount,
price: price,
timestamp: new Date().getTime()
};
Log file from tratebot:
2018-10-25 11:45:09 (INFO): Setting up Gekko in realtime mode
2018-10-25 11:45:09 (INFO):
2018-10-25 11:45:09 (INFO): Setting up:
2018-10-25 11:45:09 (INFO): Candle writer
2018-10-25 11:45:09 (INFO): Store candles in a database
2018-10-25 11:45:09 (INFO):
2018-10-25 11:45:09 (INFO): Setting up:
2018-10-25 11:45:09 (INFO): Trading Advisor
2018-10-25 11:45:09 (INFO): Calculate trading advice
2018-10-25 11:45:09 (INFO): Using the strategy: RSI_BULL_BEAR_ADX
2018-10-25 11:45:09 (INFO): ====================================
2018-10-25 11:45:09 (INFO): Running RSI Bull and Bear + ADX
2018-10-25 11:45:09 (INFO): ====================================
2018-10-25 11:45:09 (INFO): Make sure your warmup period matches SMA_long and that Gekko downloads data if needed
2018-10-25 11:45:09 (INFO):
2018-10-25 11:45:09 (INFO): Setting up:
2018-10-25 11:45:09 (INFO): Trader
2018-10-25 11:45:09 (INFO): Follows the advice and create real orders.
2018-10-25 11:45:10 (DEBUG): syncing private data
2018-10-25 11:45:10 (INFO):
2018-10-25 11:45:16 (INFO): Portfolio:
2018-10-25 11:45:16 (INFO): xxx BTC ('xxx' just for this post changed by me)
2018-10-25 11:45:16 (INFO): 0 ARN
2018-10-25 11:45:16 (INFO): Balance:
2018-10-25 11:45:16 (INFO): xxx BTC
2018-10-25 11:45:16 (INFO): Exposed:
2018-10-25 11:45:16 (INFO): no (0.00%)
2018-10-25 11:45:16 (INFO): Setting up:
2018-10-25 11:45:16 (INFO): Performance Analyzer
2018-10-25 11:45:16 (INFO): Analyzes performances of trades
2018-10-25 11:45:16 (INFO):
2018-10-25 11:45:16 (INFO): Setting up:
2018-10-25 11:45:16 (INFO): Child to parent
2018-10-25 11:45:16 (INFO): Relays events from the child to the parent process
2018-10-25 11:45:16 (INFO):
2018-10-25 11:55:10 (DEBUG): syncing private data
2018-10-25 11:57:16 (INFO): NOT selling, already no exposure