DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.23k stars 2.04k forks source link

Ubuntu: deprecationwarning: collection.save is deprecated. use insertone, insertmany, updateone, or updatemany instead. #2234

Open MBillar opened 4 years ago

MBillar commented 4 years ago

Google all day, but can't fix that warning:

kiss_3kb 1592772912

Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-142-generic x86_64)

And i can't start strategies with prefix "ta_". kiss_15kb 1592773143

Thank you for help. Maybe i can help you with updating?) good bot, but strategies rly old.

On installing talib have this: kiss_53kb 1592774731

MBillar commented 4 years ago

And one more thing: it looks in "simulation" doesnt works settings like "up_trend_threeshold" e.t.c

P.S. THX bro for this tool. 250-300% profit per month - thats rly cool

MBillar commented 4 years ago

Sad:( Simulation on any range of dates gives only profit. But on real trade - tha'ts doesn't work.

Why MACD sold cheper then buy? because i choose "binance btc-usdt" and "TAKER". If chooser "maker" all's okay, but for taker all goes upside down Author, if you want to debug this tool - i can do for you good reports.

MBillar commented 4 years ago

@DeviaVir if you have time, or i can pay for your time money. Just have some questions. I can make your product much popular, in countries like Ukraine and around:) People here rly scarry things like that, but, i think your product need 1-1.5 weeks of time and you can get money by license of this script (or maybe do online-service?)

but i have some good strategies for that. And after 1 day test i have big BUG-report. Need it?

MBillar commented 4 years ago

And one more thing: on Binance, when course fast changing it shows: That's like "unsynchronize" by "loads" fast changes. kiss_26kb 1592831229

MBillar commented 4 years ago

bro. just look at counting of profit at simulation... from where it comes this percentage?

kiss_30kb 1592834615 kiss_34kb 1592834554 kiss_45kb 1592834538

MBillar commented 4 years ago

sim_result_binance.BTC-USDT_200622_135959_UTC.html.txt

DeviaVir commented 4 years ago

Remember the issue here is that a strategy that works well on past result is no guarantee for future results

fculpo commented 4 years ago

Hi @MBillar,

You are welcome to send PR to improve Zenbot if you think some strategies could be updated, or fixing some bugs.

In the meantime however, please keep a friendly tone.

Past results can't predict future ones

MBillar commented 4 years ago

@fculpo @DeviaVir Just look at report. Look at real balances and math. Something goes wrong, it feels like.

MBillar commented 4 years ago

@fculpo @DeviaVir and, if strategy works everytime, a lot of time, and here that gives 300% of profit. But. Something is wrong :\ Percentages comes from nowhere

fculpo commented 4 years ago

It's been quite some time since strategies got updates, and bugs may exist, if you wanna help fixing them, your PRs will be welcomed

fculpo commented 4 years ago

also regarding the issue title, this could be solved with updating mongodb libs and related code

MBillar commented 4 years ago

@fculpo i'm PHP/JS/Phyton/Perl programmer. Want to talk with code creator in telergam. is it possible?

t.me/MBMBMs

fculpo commented 4 years ago

I'm not the creator, but I agree code could benefit from a refactor

On Mon, Jun 22, 2020, 17:36 MBillar notifications@github.com wrote:

@fculpo https://github.com/fculpo i'm PHP/JS/Phyton/Perl programmer. Want to talk with code creator in telergam. is it possible?

t.me/MBMBMs

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DeviaVir/zenbot/issues/2234#issuecomment-647601810, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPL7MXCO5ZTZ7Z235ODSTRX53BVANCNFSM4OEAWPJQ .

MBillar commented 4 years ago

@fculpo I’m ready to do everything in my power to get a debugged, self-sufficient product that can automatically select the appropriate settings (both by commission and by assessing the current market situation, determine the time interval, timeframe, and in principle I can even share a straightforward description of the algorithm (I understand that it’s possible to make money, but what’s not, I’m a programmer still) capable of making a profit. The main thing in this matter is to be aware of mathematics and to achieve maximum exhaust. And I will help for free, for the opportunity to use it, and not start this work from 0. Nevertheless, I want to give money to others, those who deserve it, and better than this script I did not find for the basics.

P.S. I use a Zenbook and Zenfon;)

At the moment, I have already counted about 20 bugs, and this is only when working with binance

MBillar commented 4 years ago

This product must be debugged by me:) kiss_33kb 1592841571 Sometimes it's zero balance regular

And the most problematic: macd lost good prices to sell/buy. And do it "in zero" or in minus... In simulative all's fine, in trading - works very strange. Looks like programmer doesn't know what he do. He just do, but dont use it.

Screenshot

It must start work "online", without lags "per minute" or "per second". Make it connected, like do all trading panels.

This created by my friends: https://tradingpanel.pro/

Do a same

MBillar commented 4 years ago

And last: i can write beautifull panel for this bot. And secure of course. If you want. work for 2 weeks (max.3)

MBillar commented 4 years ago

kiss_17kb 1592852602

i think that's baddest function ever

fculpo commented 4 years ago

Seriously, What is the point of this kind of message ?

If you can do better, help everyone and open PRs

On Mon, Jun 22, 2020, 21:04 MBillar notifications@github.com wrote:

[image: kiss_17kb 1592852602] https://user-images.githubusercontent.com/20873620/85325393-398f9900-b4d4-11ea-9528-8bdf183a0195.png

i think that's baddest function ever

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DeviaVir/zenbot/issues/2234#issuecomment-647716646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPL7IPLBUGR4V4PDNUAGDRX6TKNANCNFSM4OEAWPJQ .

MBillar commented 4 years ago

@fculpo google translate fix "baggest" to "baddest":)

MBillar commented 4 years ago

@fculpo I think PR cannot be useful in this matter for one simple reason: only a collaboration from a programmer who uses this script and a programmer who writes it can solve this set of problems in scripts. PR will not just not understand what I will explain to him with pieces of code, formulas, but since neither he nor the one who wrote this wonderful and at the same time not bad code didn’t polish it themselves, because apparently they do not use 90% of it functions that literally modularly intersect with each other and this creates a bunch of side effects. Why do I need PR if de facto I need a direct bug report to someone who knows this code. In principle, in a few weeks I will already know him. I will learn this programming language at such a pace (my favorite PHP looks like two brothers).

Generally. I can help the programmer explaining where he allowed fatality by language called "without intermediaries"

P.S. All text from above translated by google from russian.Try to understand it without bad emotions:) Peace&Love to all)

Screenshot

What about x2-x3 from standart list of strategies? And of course they doesnt work from box. But, googling of errors make me happier.

After updates it still didnt work ta ti

by last update: kiss_8kb 1592947098

Still Ubuntu recommended by old manual.

MBillar commented 4 years ago

@fculpo want trading by seconds sync with binance. Can u? I think only another method of requesting can help us

And try to look at API page on clear install by manual. It needs webpack, but nobody tells that in manual. So, want to make it better fast or i can go away and that's so sad (Zen - good prefix4me)

Backfill needed clearing function for mongo base

Best you can d: https://docs.mongodb.com/manual/tutorial/expire-data/