Binance Futures Strategies for Freqtrade System
Budget: €250 – €750 EUR
Below is a concise, bullet-point version of how my strategy in Binance futures should be implemented for a Freqtrade system. Each section includes brief hints on what to pay attention to when coding or configuring the bot, based on the logic used in the provided backtester code:
1. Daily Signal at 00:05 UTC
Signal Generation
Process: At exactly 00:05 UTC each day, generate or retrieve a signal for each coin indicating up, down, or sideways.
Hint: Implement a daily timer or schedule job that triggers your signal function at 00:05 UTC.
Outcome:
up → Long entry opportunity
down → Short entry opportunity
sideways → No trade
No Existing Position
If there is no open position on a particular coin at 00:05 UTC, read the new signal.
Decide whether to go long, go short, or skip based on the signal.
2. If a Position (Long/Short) Exists
Hold Until Exit
Process: If there is already a position open (long or short), do not open a new one.
Exit Conditions: The position will close by Stop Loss (SL), Take Profit (TP), or Trailing Stop (TR).
Hint: In Freqtrade, use either the exit_signal or the stop-loss/profit parameters to ensure positions close automatically.
No Switching
Implementation Detail: Only after the open position fully closes does the strategy become eligible to open a new trade on that coin for that day.
3. Position Limits Per Day
Maximum Two Positions per Coin per Day
From 00:05 UTC of a given day to the next day’s 00:05 UTC, no more than two trades are allowed for each coin.
Hint: Keep a counter of how many positions have been opened for each coin within the current day.
Once two trades have been opened (long or short), do not allow any further trades until 00:05 UTC the following day.
One Position at a Time per Coin
Even though two trades are allowed per day, they cannot overlap; only one active position on a coin is allowed at once.
Hint: This can be enforced via position checks (when a position is open, do not permit a new entry).
4. Monthly Capital Allocation
Fixed USDT Allocation
At the start of the month, allocate a specific amount of USDT for each coin.
Example: If you have 10,000 USDT total and track 5 coins, you may allocate 2,000 USDT per coin.
Hint: In Freqtrade, you can manage a “virtual wallet” or track how much USDT remains for each coin separately.
Reset or Roll Over
Decide whether you reset each coin’s capital to the full allocation every month or let it roll over.
Hint: If you roll over, then the capital for each coin is the previous month’s closing balance.
5. Risk Per Coin
Trading Maximum Initial Money
Each coin can use up to its monthly-allocated capital to open positions.
Hint: If a coin’s strategy is losing (reducing available capital), future trades may only use whatever remains of that allocated amount (i.e., it can’t exceed its diminished balance).
Risk Management
Process: Incorporate standard risk controls:
Stop-loss to cap losses.
Take-profit to capture gains.
Optional trailing-stop to lock in profits if price moves in your favor.
Hint: In Freqtrade, these can be specified as percentage-based stop-loss or dynamic trailing-stop parameters.
Additional Implementation Hints
Order Timing:
Freqtrade can be configured to check signals once per day or on every available candle. Make sure the strategy logic enforces 00:05 UTC checks for new positions.
Logging & Tracking:
Keep a daily or monthly ledger of trades to ensure (1) maximum two positions per day, and (2) capital usage per coin does not exceed the allocated limit.
Edge Cases:
If the position remains open past midnight UTC, remember to not open a new position for that coin.
If, for any reason, the signal is missed at 00:05 UTC, decide whether to skip trading for that day or have a fallback.
This bullet-point description should offer freelancers a clear roadmap of how to implement and enforce the logic using Freqtrade’s strategy structure, daily scheduling, position checks, and capital management rules.
--------------------------
Below is a concise set of requirements and skill sets that are typically essential for a freelancer to successfully implement this strategy in Freqtrade:
Freqtrade Expertise!!! (I require you know new stable version of Freqtrade 2024.10 or 11)
Familiarity with Freqtrade’s overall architecture and how to create/modify strategies within its framework.
Ability to configure and extend Freqtrade’s core features such as stop-loss, take-profit, trailing stops, and timers (e.g., time-based triggers).
Python Proficiency
Strong Python programming skills for developing and debugging the custom strategy logic.
Comfortable with Python data structures, imports, and modules to ensure seamless integration with Freqtrade.
Trading & Strategy Development Experience
Understanding of basic algorithmic trading concepts such as long/short entries, position sizing, risk management, and capital allocation.
Familiarity with candlestick data (Open, High, Low, Close), indicators, and how to handle them programmatically in a time-series format.
Risk/Position Management Knowledge
Ability to implement and customize rules for limiting trades (e.g., max two trades per day per coin).
Understanding of how to allocate and track separate capital amounts (sub-accounts) for each coin and manage partial or reduced allocations if a position loses money.
Scheduling and Timing
Know-how to schedule or trigger logic at specific times (e.g., 00:01 UTC) within Freqtrade or via external schedulers.
Ability to prevent new positions from opening after daily trade limits or if existing positions are still active.
Logging & Reporting
Experience creating logs and summaries of daily/monthly performance.
Capability to record and analyze the results of each trade for debugging and optimization.
Version Control & Documentation
Skill in using Git (or similar) for version control, ensuring your codebase remains well-managed.
Ability to provide clear documentation of the strategy setup process, parameters, and usage instructions.
Optional / Nice-to-Have
Basic UI or dashboarding skills to help visualize daily signals, open positions, and equity curves.
Familiarity with Docker or similar containerization to deploy Freqtrade strategies in production environments.
1. Daily Signal at 00:05 UTC
Signal Generation
Process: At exactly 00:05 UTC each day, generate or retrieve a signal for each coin indicating up, down, or sideways.
Hint: Implement a daily timer or schedule job that triggers your signal function at 00:05 UTC.
Outcome:
up → Long entry opportunity
down → Short entry opportunity
sideways → No trade
No Existing Position
If there is no open position on a particular coin at 00:05 UTC, read the new signal.
Decide whether to go long, go short, or skip based on the signal.
2. If a Position (Long/Short) Exists
Hold Until Exit
Process: If there is already a position open (long or short), do not open a new one.
Exit Conditions: The position will close by Stop Loss (SL), Take Profit (TP), or Trailing Stop (TR).
Hint: In Freqtrade, use either the exit_signal or the stop-loss/profit parameters to ensure positions close automatically.
No Switching
Implementation Detail: Only after the open position fully closes does the strategy become eligible to open a new trade on that coin for that day.
3. Position Limits Per Day
Maximum Two Positions per Coin per Day
From 00:05 UTC of a given day to the next day’s 00:05 UTC, no more than two trades are allowed for each coin.
Hint: Keep a counter of how many positions have been opened for each coin within the current day.
Once two trades have been opened (long or short), do not allow any further trades until 00:05 UTC the following day.
One Position at a Time per Coin
Even though two trades are allowed per day, they cannot overlap; only one active position on a coin is allowed at once.
Hint: This can be enforced via position checks (when a position is open, do not permit a new entry).
4. Monthly Capital Allocation
Fixed USDT Allocation
At the start of the month, allocate a specific amount of USDT for each coin.
Example: If you have 10,000 USDT total and track 5 coins, you may allocate 2,000 USDT per coin.
Hint: In Freqtrade, you can manage a “virtual wallet” or track how much USDT remains for each coin separately.
Reset or Roll Over
Decide whether you reset each coin’s capital to the full allocation every month or let it roll over.
Hint: If you roll over, then the capital for each coin is the previous month’s closing balance.
5. Risk Per Coin
Trading Maximum Initial Money
Each coin can use up to its monthly-allocated capital to open positions.
Hint: If a coin’s strategy is losing (reducing available capital), future trades may only use whatever remains of that allocated amount (i.e., it can’t exceed its diminished balance).
Risk Management
Process: Incorporate standard risk controls:
Stop-loss to cap losses.
Take-profit to capture gains.
Optional trailing-stop to lock in profits if price moves in your favor.
Hint: In Freqtrade, these can be specified as percentage-based stop-loss or dynamic trailing-stop parameters.
Additional Implementation Hints
Order Timing:
Freqtrade can be configured to check signals once per day or on every available candle. Make sure the strategy logic enforces 00:05 UTC checks for new positions.
Logging & Tracking:
Keep a daily or monthly ledger of trades to ensure (1) maximum two positions per day, and (2) capital usage per coin does not exceed the allocated limit.
Edge Cases:
If the position remains open past midnight UTC, remember to not open a new position for that coin.
If, for any reason, the signal is missed at 00:05 UTC, decide whether to skip trading for that day or have a fallback.
This bullet-point description should offer freelancers a clear roadmap of how to implement and enforce the logic using Freqtrade’s strategy structure, daily scheduling, position checks, and capital management rules.
--------------------------
Below is a concise set of requirements and skill sets that are typically essential for a freelancer to successfully implement this strategy in Freqtrade:
Freqtrade Expertise!!! (I require you know new stable version of Freqtrade 2024.10 or 11)
Familiarity with Freqtrade’s overall architecture and how to create/modify strategies within its framework.
Ability to configure and extend Freqtrade’s core features such as stop-loss, take-profit, trailing stops, and timers (e.g., time-based triggers).
Python Proficiency
Strong Python programming skills for developing and debugging the custom strategy logic.
Comfortable with Python data structures, imports, and modules to ensure seamless integration with Freqtrade.
Trading & Strategy Development Experience
Understanding of basic algorithmic trading concepts such as long/short entries, position sizing, risk management, and capital allocation.
Familiarity with candlestick data (Open, High, Low, Close), indicators, and how to handle them programmatically in a time-series format.
Risk/Position Management Knowledge
Ability to implement and customize rules for limiting trades (e.g., max two trades per day per coin).
Understanding of how to allocate and track separate capital amounts (sub-accounts) for each coin and manage partial or reduced allocations if a position loses money.
Scheduling and Timing
Know-how to schedule or trigger logic at specific times (e.g., 00:01 UTC) within Freqtrade or via external schedulers.
Ability to prevent new positions from opening after daily trade limits or if existing positions are still active.
Logging & Reporting
Experience creating logs and summaries of daily/monthly performance.
Capability to record and analyze the results of each trade for debugging and optimization.
Version Control & Documentation
Skill in using Git (or similar) for version control, ensuring your codebase remains well-managed.
Ability to provide clear documentation of the strategy setup process, parameters, and usage instructions.
Optional / Nice-to-Have
Basic UI or dashboarding skills to help visualize daily signals, open positions, and equity curves.
Familiarity with Docker or similar containerization to deploy Freqtrade strategies in production environments.