Moon avatar

pek_pimp.py - PeakeCoin Strategy

paulmoon410

Published: 12 Feb 2026 โ€บ Updated: 12 Feb 2026pek_pimp.py - PeakeCoin Strategy

pek_pimp.py - PeakeCoin Strategy

Listen here, this hasn't been an easy thing to figure out.

I haven't been posted as often because coding and studying have consumed my time. I have written this thing here for a stabilization and incremental value-increasing bot. I'm only human, so if you can catch anything I may need to tinker with, please let me know.

I may need to start posting more often I need to find a way to offset costs of running servers, and I'm about to relocate. So the costs are little higher than I'd like. If you have paypal feel free to slide me something.

# Trading Parameters for VOLUME GROWTH (Priority #1: Increase PIMP Holdings)
TARGET_PRICE = 0.02  # Target price to maintain for PIMP
PRICE_MAINTENANCE_MODE = False  # Set to True once we reach target to maintain price
MARKET_MAKING_SPREAD = 0.004  # 0.4% spread for profit per trade cycle
SELL_PERCENTAGE = 0.06  # Sell 6% of available holdings per cycle for max capital
BUY_BACK_PERCENTAGE = 0.95  # Keep 5% HIVE buffer for fees + flexibility
MIN_HIVE_FOR_BUYBACK = 0.01  # Minimum HIVE needed to place buy order
INITIAL_PIMP_RESERVE = 1.0  # Start with 1 PIMP reserve
RESERVE_GROWTH_PER_CYCLE = 0.00000001  # Legacy (reserve now scales with holdings)
MAX_HIVE_TO_HOLD = 0.5  # Convert back faster than 2.0 unless building HIVE
AGGRESSIVE_SPREAD_MULTIPLIER = 1.0  # Default multiplier; dynamically adjusted by spread

# Profit-Focused Trading Parameters
MIN_PROFIT_PERCENT = 0.0015  # 0.15% minimum profit (can be overridden by adaptive_profit_floor)
MAX_PROFIT_PERCENT = 0.05  # 5% maximum profit target
PROFIT_GUARANTEE_MARGIN = 0.0001  # Minimum safety margin to ensure profitability
PRICE_TARGET_THRESHOLD = 0.0001  # How close to target price before activating maintenance mode

# Resource Credit (RC) and Order Management
BASE_DELAY = 900  # 15 minutes base delay
LOW_RC_CONSECUTIVE_COUNT = 0  # Track consecutive low RC occurrences
DYNAMIC_DELAY = BASE_DELAY  # Start with base delay
LOW_RC_THRESHOLD = 10.0  # RC% threshold to skip trading
CRITICAL_ORDER_COUNT = 200  # Critical order limit - cancel multiple
WARNING_ORDER_COUNT = 190  # Warning order limit - cancel one

# Initialize tracking variables
last_cancel_time = None
initial_portfolio_value = None
pimp_reserve = INITIAL_PIMP_RESERVE  # Dynamic reserve that grows each cycle
cycle_count = 0
highest_ask_seen = 0  # Track highest ask price to detect when we're approaching target
target_hit_streak = 0
accumulated_profit = 0.0  # Track total profit earned
average_entry_price = 0.0  # Track average cost of PIMP holdings
total_pimp_acquired = 0.0  # Track total PIMP ever bought (for average cost)
last_hive_balance = None
last_pimp_balance = None
price_history = []


๐Ÿช™ PeakeCoin Ecosystem

๐Ÿ’ฑ PeakeCoin USDT Bridge (Hive โ†” Polygon/MATIC)
Bridge SWAP.USDT from Hive Engine to USDT on Polygon (MATIC).
Whitelist access, documentation, and bridge status updates:
๐Ÿ‘‰ https://geocities.ws/peakecoin


โš™๏ธ HiveP.I.M.P. โ€” PeakeCoin Intelligent Market Protector
Operated by hivepimp@hivepimp, P.I.M.P. stabilizes PEK markets and supports liquidity on Hive Engine.
Community liquidity participation strengthens long-term market health.
๐Ÿ“ˆ Open-source code, bots, and documentation:
๐Ÿ‘‰ https://github.com/paulmoon410


๐ŸŽฐ PeakeSino โ€” The PeakeCoin Casino (Beta)
Blockchain-powered games using PEK as the native in-game currency.
Built on Hive with a focus on provable fairness and community-driven growth.
๐Ÿƒ Play the beta games here:
๐Ÿ‘‰ https://geocities.ws/peakecoin/pek_casino/beta_games/index.html


๐Ÿ™ Acknowledgements

Thanks to and please follow:
enginewitty@enginewitty ecoinstant@ecoinstant neoxian@neoxian txracer@txracer thecrazygm@thecrazygm holdonia@holdonia aggroed@aggroed

For their continued support, guidance, and help expanding the PeakeCoin ecosystem.


Leave pek_pimp.py - PeakeCoin Strategy to:

Written by

Father, Writer, Rhymer... Doing better.

Read more #hive-111011 posts


Best Posts From Moon

We have not curated any of paulmoon410's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Moon