daisy613 / autocoins Goto Github PK
View Code? Open in Web Editor NEWThis Powershell script allows you to avoid most pumps/dumps by dynamically controlling the coin list in WickHunter bot to blacklist or un-blacklist coins.
This Powershell script allows you to avoid most pumps/dumps by dynamically controlling the coin list in WickHunter bot to blacklist or un-blacklist coins.
I installed version Installed v 1.2.5 but when I run it, it thinks it's version 1.2.4 and tells me there is a new version. I've even deleted the old json file. Not sure if I am missing a step...
Daisy,
The discord message command needs to be changed to '$settings.discord' since the autoCoins code changed to load the json file each run doesn't pre-populate $discord anymore.
My autoCoins script is not banning newly listed coin - NKNUSDT. Below is my config:
System Information:
VPS Provider: AWS
Version: 1.2.8
Running Time: 2416.5 mins
{
"max1hrPercent": 5,
"max24hrPercent": 10,
"minAthPercent": 5,
"minAge": 60,
"refresh": 5,
"proxy": "",
"proxyUser": "",
"proxyPass": "",
"discord": "",
"blackList": [
"BTCUSDT",
"ETHUSDT",
"BNBUSDT",
"DOGEUSDT",
"YFIUSDT",
"TRBUSDT",
"SOLUSDT",
"UNIUSDT",
"AVAXUSDT",
"HNTUSDT",
"KSMUSDT",
"AAVEUSDT",
"RSRUSDT",
"MATICUSDT",
"AXSUSDT",
"SKLUSDT",
"BTCBUSDT",
"BTSUSDT",
"BTCUSDT_210625",
"ETHUSDT_210625",
"KNCUSDT",
"CTKUSDT",
"RLCUSDT"
],
"cooldownHrs": 4,
"max4hrPercent": 5
}
From binance, this coin is less than 2 months old:
Yet I've already had 2 trades for this coin, and the script is not putting it in the quarantined list:
QUARANTINED: AKROUSDT, ALICEUSDT, BTCSTUSDT, BTTUSDT, CELRUSDT, CHRUSDT, COMPUSDT, COTIUSDT, DENTUSDT, DGBUSDT, ETCUSDT, HBARUSDT, HOTUSDT, LINAUSDT, MANAUSDT, MKRUSDT, MTLUSDT, NKNUSDT, OGNUSDT, ONEUSDT, REEFUSDT, RVNUSDT, STMXUSDT, XEMUSDT, XMRUSDT
UNQUARANTINED: DEFIUSDT, SCUSDT, ZRXUSDT
MarketSwing - Last 1hr - 6% Bearish
47% Long | 41 Coins | Ave 0.87% | Max 4.26% ALICEUSDT
53% Short | 46 Coins | Ave -0.49% | Max -2.94% FTMUSDT
MarketSwing - Last 4hrs - 54% Bullish
77% Long | 67 Coins | Ave 1.75% | Max 10.47% ETCUSDT
23% Short | 20 Coins | Ave -0.88% | Max -2.55% ALPHAUSDT
MarketSwing - Last 24hrs - 58% Bullish
79% Long | 69 Coins | Ave -1.44% | Max 27.05% ETCUSDT
21% Short | 18 Coins | Ave 0% | Max -4.08% WAVESUSDT
QUARANTINED: AKROUSDT, ALICEUSDT, BTCSTUSDT, BTTUSDT, CELRUSDT, CHRUSDT, COMPUSDT, COTIUSDT, DEFIUSDT, DENTUSDT, DGBUSDT, ETCUSDT, HBARUSDT, HOTUSDT, MANAUSDT, MKRUSDT, MTLUSDT, OGNUSDT, ONEUSDT, REEFUSDT, RVNUSDT, SCUSDT, STMXUSDT, XEMUSDT, XMRUSDT
UNQUARANTINED: LINAUSDT, NKNUSDT
The age value that comes from Binance is accurate as per the logs:
symbol perc1hrVal perc1hr perc4hrVal perc4hr perc24hrVal perc24hr AthVal Ath AgeVal
------ ---------- ------- ---------- ------- ----------- -------- ------ --- ------
NKNUSDT {-4.97, 0.56, 0.38, -2.41} PASS -6.13 FAIL 15.98 FAIL 46.17 PASS 23
Although above logs is missing values from the table, you pull: select symbol,perc1hrVal,perc1hr,perc4hrVal,perc4hr,perc24hrVal,perc24hr,AthVal,Ath,AgeVal,Age,Open
yet there is nothing after AgeVal.
The script is not calculating some coins and un-quarantining them.
I run two scripts for two bots side by side with identical JSON files and they get different results even though they are only seconds apart when they run.
Log1 un-quarantined REEF and it doesn't appear in the calc table whreas Log2 banned it with fails in the calculations.
Hi
Is there any plans for integrate yours AutoCoins with latest version of Wick Hunter?
Will be great
Thanks for yours work
/Kris
Just had an instance where the script quarantined ATOM which was in an open trade and therefore it did not DCA.
Not sure if it popped into the trade as the script was calculating and so maybe had a kind of overlap on time?- Just speculating.
autoCoins.log
while running this appears
Cannot index into a null array.
At C:\Users\Administrator\Desktop\WickHunter\autoCoins.ps1:87 char:9
$1hrPercentCurr = [math]::Abs((($1hrPrices[-1] - $1hrPrices[0 ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cannot index into a null array.
At C:\Users\Administrator\Desktop\WickHunter\autoCoins.ps1:91 char:9
$athPercentCurr = (($ath - $1hrPrices[-1]) * 100 / $ath)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the PowerShell script it is not displaying the un-quarantined coins.
Discord alert is working ok.
Autocoins suddenly un-quarantine qtum which showed pumping 59% on perc24hrVal
It didn't retrace and I got a qtum trade 5mins later.
Qtumusdt and detailed info (pass/fail) didn't show in the log during that 5mins
Until another 5mins later it showed 63% perc24hrVal and on open position
Attached my autocoin logs
qtumusdt.txt
And setting
"max1hrPercent": 5,
"max4hrPercent": 5,
"max24hrPercent": 15,
"minAthPercent": 5,
"cooldownHrs": 4,
"minAge": 14,
"refresh": 5,
when running command on Powershell:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
I get error:
Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.
SecurityProtocolType" due to invalid enumeration values. Specify one of the fol
lowing enumeration values and try again. The possible enumeration values are "S
sl3, Tls"."
At line:1 char:28
Please see attached images. Top one has the error, and the other one is when a new coin(s) joins Binance.
The script also stops un-quarantining after a new coin(s) gets added onto Binance / the available list while continuing to run WH 6.2. --> So I would need to manually close both the powershell and WH, then re-open both apps to continue.
Would also like to suggest 2 value input (10% to 99%) for both 1h and 24h, if you haven't added it yet.
I will send my log and images to you through discord. Thanks for making this app! It truly makes a huge difference in the trade positions :)
The script was running fine 24/7 for a few days. Then this issue appeared:
[v1.2.9 2021-05-31 16:03:21] Calculating coin list ... Invoke-RestMethod :
502 Bad Gateway
502 Bad Gateway
At line:1 char:1
+ Invoke-RestMethod -Method Get -Uri "https://fapi.binance.com/fapi/v1/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
I am using the default settings.
I've noticed on occasion that AC will just not be running anymore. A scan of the logs doesn't show anything out of the ordinary. This morning when I tried to restart I received an error message: Attempted to divide by zero. At ine : 28 char: 13
I've attached a screenshot. I wonder if the API being used is either down or malfunctioning and not returning an expected value.
has not been fixed
autoCoins.log
It was all running great until I suddenly started getting these errors.
Hi
The script is not running it says it is not digitally signed.
Quarantined EOSUSDT while in a trade due to 4hr %.
[v1.2.8 2021-05-06 12:13:28] Quarantined: ETCUSDT, QTUMUSDT
[v1.2.8 2021-05-06 12:13:28] Avg API Calls/min: 52 | running time: 30.5 mins
[v1.2.8 2021-05-06 12:18:30] Using proxy [ http://p.webshare.io:9999 | geoIp: 45.154.244.192/Hong Kong ]
symbol perc1hrVal perc1hr perc4hrVal perc4hr perc24hrVal perc24hr AthVal Ath AgeV
al
EOSUSDT {2.54, -0.65} PASS 18.11 FAIL 35.97 PASS 4.32 PASS 485
ETCUSDT {3.81, 0.5} PASS 16.04 FAIL 49.87 PASS 8.89 PASS 477
QTUMUSDT {12, 1.06} FAIL 20.41 FAIL 51.25 PASS 2.21 PASS 442
[v1.2.8 2021-05-06 12:20:49] Quarantined: EOSUSDT, ETCUSDT, QTUMUSDT
[v1.2.8 2021-05-06 12:20:50] Avg API Calls/min: 51 | running time: 37.9 mins
V1.2.9 script has closed completely during Calculating coin list twice after about 7hrs of running.
All other PS scripts still running.
Proxy is configured and used.
Right now the webhook quarantine announcements will include repeatedly-quarantined coins. It would be more useful to only include coins that were newly-quarantined since the last check.
Example of the current behavior:
10:22 AM: QUARANTINED: AKROUSDT, ALICEUSDT, ALPHAUSDT, AVAXUSDT, CHRUSDT, COMPUSDT, DGBUSDT, ETCUSDT, FLMUSDT, MATICUSDT, RENUSDT, STMXUSDT, SXPUSDT, XMRUSDT
10:38 AM: QUARANTINED: AKROUSDT, ALICEUSDT, ALPHAUSDT, AVAXUSDT, CHRUSDT, COMPUSDT, DGBUSDT, FLMUSDT, MATICUSDT, NKNUSDT, RENUSDT, STMXUSDT, SXPUSDT, XMRUSDT
Example of expected behavior:
10:22 AM: QUARANTINED: AKROUSDT, ALICEUSDT, ALPHAUSDT, AVAXUSDT, CHRUSDT, COMPUSDT, DGBUSDT, ETCUSDT, FLMUSDT, MATICUSDT, RENUSDT, STMXUSDT, SXPUSDT, XMRUSDT
10:38 AM: QUARANTINED: NKNUSDT
From my observation it does un-quarantine too quick (as soon as conditions are not met) which would be better if there is minimum cooldown period. Coins often pump a 2nd and 3rd wave or there is a huge dump directly after the pump and currently I am already back right in when that happens. I know it is probably not easy to implement but maybe a simple switch to disable un-quarantine then I could manually add the coins back as some work around until then.
Hi, I'm not sure how this setting works.
I see the default value is 5, but what does it mean with 1hr/24h combination ?
Does it mean: Within the last 24 hours the price has moved 5% within any hour of the last 24 hours ?
or does it mean: Within the last 24 hours the price has moved 5% within the last hour of the last 24 hours ?
or does it mean: Within the last 24 hours the price has moved 5% ?
or does it mean: Within the last 1 hour the price has moved 5% ?
What value should I use for the following:
(Within the last 1 hour the price has moved 5%) OR (Within the last 24 hours the price has moved 20%)
I think it will be better to have two separate settings:
max1hrPercent and max24hrPercent
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.