I found a need for a list of hole cards in descending for value for my Texax Holdem Poker Template for Unity. I did some searching online, and even asked a reddit, bad idea. Anyways, I had to generate the list myself after troll parade: string[] holeCards = {“AA”,”KK”,”AKs”,”QQ”,”Ako”,”JJ”,”AQs”,”TT”,”AQo”,”99″,”AJs”,”88″,”ATs”,”AJo”,”77″,”66″,”ATo”,”A9s”,”55″,”A8s”,”KQs”,”44″,”A9o”,”A7s”,”KJs”,”A5s”,”A8o”,”A6s”,”33″,”KTs”,”A7o”,”A3s”,”KQo”,”A2s”,”A5o”,”A6o”,”A4o”,”KJo”,”QJs”,”A3o”,”22″,”K9s”,”A2o”,”KTo”,”QTs”,”K8s”,”K7s”,”JTs”,”K9o”,”K6s”,”QJo”,”Q9s”,”K5s”,”K8o”,”K4s”,”QTo”,”K7o”,”K3s”,”K2s”,”Q8s”,”K6o”,”J9s”,”K5o”,”Q9o”,”JTo”,”K4o”,”Q7s”,”T9s”,”Q6s”,”K3o”,”J8s”,”Q5s”,”K2o”,”Q8o”,”Q4s”,”J9o”,”Q3s”,”T8s”,”J7s”,”Q7o”,”Q2s”,”Q6o”,”98s”,”Q5o”,”J8o”,”T9o”,”J6s”,”T7s”,”J5s”,”Q4o”,”J4s”,”J7o”,”Q3o”,”97s”,”T8o”,”J3s”,”T6s”,”Q2o”,”J2s”,”87s”,”J6o”,”98o”,”T7o”,”96s”,”J5o”,”T5s”,”T4s”,”86s”,”J4o”,”T6o”,”97o”,”T3s”,”76s”,”95s”,”J3o”,”T2s”,”87o”,”85s”,”96o”,”T5o”,”J2o”,”75s”,”94s”,”T4o”,”65s”, “86o”,”93s”,”84s”,”95o”,”T3o”,”76o”,”92s”,”74s”,”54s”,”T2o”,”85o”,”64s”,”83s”,”94o”,”75o”,”82s”,”73s”,”93o”,”65o”,”53s”,”63s”,”84o”,”92o”,”43s”,”74o”,”72s”,”54o”,”64o”,”52s”,”62s”,”83o”,”42s”,”82o”,”73o”,”53o”,”63o”,”32s”,”43o”,”72o”};
Real Money vs Sims: What I Learned about Zenbot

Sims are a very optimistic view of a trade strategy. The first serious problem I encountered was that my bot didn’t reliably buy with real money. I made my strategy keep track of when my bot wants to buy and sell through files, and I simply watched the attempted trades pile up as files. I used Autohotkey to keep track of the files and follow through with the orders by issuing manual trade commands on behalf of zenbot. I also realized it’s a terrible time to sell when the crypto peaks. Which is why my bot now sells before peak; pigs get slaughtered. I noticed no difference in the sims, but it did fix my leak with real money.
Zenbot Reverse Parameter
Using the –reverse parameter improves the default strategy.


Zenbot sim and Brute Force
@
echo off
set _endPct=10
set _crypto=OXT-USD
set _strategy=dip
set _dipPct=3
ECHO Simulating dip 3 to 10 percent for %_crypto%
:loop
set _zen_cmd=zenbot sim –strategy=%_strategy% gdax.%_crypto% –dip_pct=%_dipPct%
FOR /f “tokens=2 delims=^()^” %%H IN (‘%_zen_cmd% ^|find “end balance”‘) DO set _roi=%%H
ECHO Spread: %_dipPct% percent ROI: %_roi%
set /A _dipPct=%_dipPct%+1
IF %_dipPct% LEQ %_endPct% goto loop
PAUSE
I made this batch script to execute zenbot sim with 3 parameters. You can see how I placed those values into the string that will be the zenbot command. FOR is a bit of black magic; it sets the _roi variable using the output from the sim command where it finds “end balance”. It loops while incrementing _dipPct variable that gets used in each zenbot sim execution until it reaches _endPct.
Now I shifted this loop to be done in Autohotkey, and I only use the batch script to execute zenbot commands and close itself, (which AHK has trouble with for some odd reason).