Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
create-release:
runs-on: ubuntu-latest
permissions:
contents: write # Required to create releases
actions: read

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -35,6 +38,11 @@ jobs:
- name: Check package
run: twine check dist/*

- name: List built files
run: |
echo "Built files in dist/:"
ls -la dist/

- name: Extract version from tag
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -82,5 +90,4 @@ jobs:
draft: false
prerelease: ${{ contains(steps.get_version.outputs.VERSION, 'alpha') || contains(steps.get_version.outputs.VERSION, 'beta') || contains(steps.get_version.outputs.VERSION, 'rc') }}
files: |
dist/ohheycrypto-${{ steps.get_version.outputs.VERSION }}-py3-none-any.whl
dist/ohheycrypto-${{ steps.get_version.outputs.VERSION }}.tar.gz
dist/*
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,14 @@ Contributions are welcome! Areas for improvement:
- Web dashboard for monitoring
- An improved Discord notification when making a profitable trades
- Saving trade data to a SQLite database locally

- Volume analysis (OBV, Volume Profile)
- Fibonacci retracements
- Support/resistance levels
- Maximum drawdown protection
- Dynamic stop-loss adjustment
- Correlation analysis for multi-pair trading
- Trade multiple crypto pairs simultaneously

Please submit pull requests or open issues for discussion.

## Important Disclaimers
Expand Down
32 changes: 0 additions & 32 deletions config.json.example

This file was deleted.

2 changes: 1 addition & 1 deletion ohheycrypto/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Version information for ohheycrypto package."""

__version__ = "0.2.0"
__version__ = "0.2.3"
__author__ = "Sean Nieuwoudt"
__email__ = "sean@underwulf.com"
3 changes: 0 additions & 3 deletions ohheycrypto/services/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ def order(order: Order, market: "Market"):
current_time = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
order_value = order.price * order.origQty

# Log structured order data
print(
chalk.white(current_time),
chalk.white("-"),
Expand All @@ -27,13 +26,11 @@ def order(order: Order, market: "Market"):
chalk.green(f"value: ${order_value:.2f}"),
)

# Log enhanced market conditions
current_price = float(market.price().get("askPrice", 0))
price_diff = (
((order.price - current_price) / current_price) * 100 if current_price > 0 else 0
)

# Get additional market data
klines = market.klines(30)
rsi = market.calculate_rsi(klines) if klines else None
trend = market.get_trend_direction() if klines else "unknown"
Expand Down
Loading