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

Getting Closer but new issue #3

Open
Orbitalz-eth opened this issue May 23, 2018 · 5 comments
Open

Getting Closer but new issue #3

Orbitalz-eth opened this issue May 23, 2018 · 5 comments

Comments

@Orbitalz-eth
Copy link

The bot does what the other versions of yasinkuyu/binance-trader does, and stalls on this:

Express server listening on port 3001
Started...
Trading Symbol: XVGBTC
Buy Quantity: 205.00000000
Stop-Loss Amount: 0
Profit Mode Options:
Preferred Profit: 1.50%
Buy Price : (Bid+ --increasing 0.00000001)
Sell Price: (Ask- --decreasing 0.00000001)


And then it eventually seems to start working, but then starts to create errors:


XVGBTC : Buy order created id:38833374, quantity:205.00000000, buyPrice:0.00000534, Take profit aprox :0.00000550
Profit loss, called order, 38833374
Buy order fail (Not filled) Cancel order...
XVGBTC : Buy order created id:38833570, quantity:205.00000000, buyPrice:0.00000533, Take profit aprox :0.00000549
get_order Exception: Error: Request failed with status code 400
Profit loss, called order, 38833570
Buy order fail (Not filled) Cancel order...
XVGBTC : Buy order created id:38833579, quantity:205.00000000, buyPrice:0.00000534, Take profit aprox :0.00000550
get_order Exception: Error: Request failed with status code 400
get_order Exception: Error: Request failed with status code 400
(node:8932) UnhandledPromiseRejectionWarning: ReferenceError: None is not defined
at Trading.cancel (C:\binance-traderbot\trading.js:498:31)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:8932) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
(node:8932) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

@ignaciop000
Copy link
Owner

Do you have the last version?

@Orbitalz-eth
Copy link
Author

Orbitalz-eth commented May 23, 2018

does git fetch download the latest changes or do I need to do something else?
sorry new to using npm and git
If git fetch is all I needed to do, then no, it still stalls.

@Orbitalz-eth
Copy link
Author

Orbitalz-eth commented May 24, 2018

It's still stalling at:
Express server listening on port 3001
Started...
Trading Symbol: XVGBTC
Buy Quantity: 202.00000000
Stop-Loss Amount: 0
Profit Mode Options:
Preferred Profit: 0.50%
Buy Price : (Bid+ --increasing 0.00000001)
Sell Price: (Ask- --decreasing 0.00000001)

waited 30 mins before stopping it.
I don't get it, it started fine the first time after your update, then the second time I run it, it stalls.

@ignaciop000
Copy link
Owner

I added more logs and debug, To activate set debug:true 1 at coins.js for any coin

@mistersms
Copy link

hello,
i have added the debug line in coins.js, but there is no advanced logging visible.

here is my coins.js:

const coins = [
{
symbol:'PPTBTC',
quantity:2,
stop_loss:10,
mode:'profit',
profit:0.9,
increasing:0.0000001,
decreasing:0.0000001,
loop:0,
wait_time:0.7,
debug: true,
}
]

module.exports = coins;

i have running the newest
trading.js.txt
and
binance_rest.js.txt
with debugging options.

should i see the advanced logging on the console?

thx

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

3 participants