Skip to content

Commit

Permalink
Added single order strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
4TT1L4 committed Aug 13, 2024
1 parent 244e9d2 commit 636edf9
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 0 deletions.
28 changes: 28 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,31 @@ services:
BB_STD_DEV: 1.8 # Tighter bands for volatility
depends_on:
- server
single_order_strategy:
build:
context: .
environment:
BACKEND_URL: http://server:8082
SERVER_API_KEY: ${SERVER_API_KEY}
EXECUTION_DELAY: 15 # Time period in seconds to wait between strategy exeuctions
STARTUP_DELAY: 1 # Time period in seconds to wait for the backend to start
RETRY_DELAY: 20 # Time period in seconds to wait before retrying to reach the backend
CONFIRMATION_DELAY: 90
STRATEGY: single_order_strategy
CONFIG: |
BASE_ASSET: lovelace
# GENS for MAINNET:
TARGET_ASSET: dda5fdb1002f7389b33e036b6afee82a8189becb6cba852e8b79b4fb.0014df1047454e53
# tGENS for PRERPOD:
# TARGET_ASSET: c6e65ba7878b2f8ea0ad39287d3e2fd256dc5c4160fc19bdf4c4d87e.7447454e53
LIMIT: 100
BASE_AMOUNT: 200000000
TARGET_AMOUNT: 1800000000
ORDER_LEVEL: 1
MULTIPLIER: 1
SPREAD: 0.02
ACTUAL_CANCEL_THRESHOLD: 0.1
HEDGE_CANCEL_THRESHOLD: 0.1
STD: 0.02
depends_on:
- server
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ openapi-python-client==0.19.1
selenium==4.21.0
talipp==2.2.0
webdriver-manager==4.0.2
polars==0.20.25
Loading

0 comments on commit 636edf9

Please sign in to comment.