PYTHON - Trading Optimization Parameter Finder

Python Skripte Beratung Python

Spezifikation

In the attach image you will find the function that is the core of the entire notebook ( https://colab.research.google.com/drive/1jVZ0R_MSMHS5DQrPa399fyioEvI2zn5S?usp=sharing)


I need to change this function from itinerating with lengths to itinerating trough columns that have values as 1 and 0 where 1 is to enter or close a Long trade and 0 is to do nothing.


This exercise is only intended to find the best combination for Long trades. I do not need short trades.


On the next lines a short description of what the code does and what the code should do:


What the code actually do:


1 Provides the data frame where the code should run
2 Establish which technical indicators should be use
3 Defines the variable that allows the system to iterate with different lengths
4 Creates the input variable to create the trading logic

5 I THINK creates the loop for running all over the data frame

6 creates the trading logic:


Long position: sma_diff >0 Long
Short Position: sma_diff <0 Short


Entering and closing trades: if the previous signal is equal to actual signal do nothing
If actual signal is Short and previous was long, close Long trade and open Short trade
If actual signal is Long and previous was Short, close Short trade and open Long Trade


What the code should do:


1 Maintain the same data frame
2 instead of defining the indicators select and create all possible combinations from a series of columns that Start with the Long word
3 The columns have 2 values, 1 and 0, 1 means to enter or close and 0 means do nothing.


4 Logic:


If the system find the value 1 in one column or in all columns from the combination provide by the iteration ENTER Or Close the trade

         If the system finds in a combination of 3 columns the next values (1,0,1) this means do nothing. 


The objective is to find the most profitable combination for Long trades according to the preestablish indicators.

The rest of notebook must be adjust to these new logic and also need to get a cdv file where I can find the next info:


And finally I will need  csv file that contains the next info:


Open Trade Date-Time

Open Trade Close Price

Close Trade Date-Time

Close Trade Close Price

Trade Type (Long / Short)


In these 2 videos you will find the description from the original notebook:


Part # 1 (10 min)


https://youtu.be/c55Chqim3hY


Part # 2 (7 min)


https://youtu.be/3nLTXTf1fao






Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(64)
Projekte
68
25%
Schlichtung
12
42% / 42%
Frist nicht eingehalten
4
6%
Frei
Ähnliche Aufträge
We are looking for a developer to finish and stabilize an existing Kalshi trading bot (~60% complete) built in TypeScript. This is not a MetaTrader EA. The system interacts with the Kalshi API and requires strong understanding of execution logic, order handling, and state management. Scope of Work: Review and understand existing TypeScript codebase Complete missing functionality Fix execution issues (order placement
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
The scanner will scan all currency base on MACD Diverdgent, my strength indicator and my better volume indicator. All this would be across all time frame and all currency pairs
Ninjatrdaer Script 500 - 1000 USD
I am looking to purchase a ninjatrader script, if there is any for sale, i mean a ready made ninjatrdaer script that trade futures, i need the seller to show me a backtest of the system, you know send some results, I would like to see a 1 year and YTD backtest
I will like to purchase tradingview strategy with high winning rate, i mean already made, tested and trusted and powerful strategy, i have tried to code my own strategy with lot of freelancers but nothing to me i am just wasting money, i have wasted lot of money already, so i need a high winning rate tradingview strategy, we can discuss price in chat, I will need to see some test result as well

Projektdetails

Budget
50 - 100 USD
Ausführungsfristen
von 1 bis 5 Tag(e)