PYTHON - Trading Optimization Parameter Finder

Техническое задание

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






Файлы:

Откликнулись

1
Разработчик 1
Оценка
(63)
Проекты
68
25%
Арбитраж
12
42% / 42%
Просрочено
4
6%
Свободен
Похожие заказы
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started
Project Description : I am looking for an experienced developer to create a multi-platform trading bot that can execute trades across Binance, Exness, MetaTrader 4/5 (MT4/MT5), and stock exchanges. The bot should implement a trading strategy that combines the Parabolic SAR and EMA 200 indicators, with automated entry and exit conditions for both long and short positions. Key features include: Integration with
I hope you're doing well. I am interested in learning more about your EA (Expert Advisor) trading bot. Specifically, I would like to review some performance data, particularly regarding the Profit and Loss (P&L) over recent weeks. Could you kindly provide a short video with today's date, showcasing the weekly stats from the last two months? I am looking for data covering the period from August 1st, 2024, to October
I need an expert to help me convert chopzone traingview pinescript to mt4, I need an expert to get it done for me on between 1 to 2 days i hope this will be done by then, i will attach the file and my budget is $30 as of minimum here
Fellow devs, I need help converting a futures trading bot from python into MQL5. Code base for the bot already exists, backtests in python look good, however I need to be able to backtest it on tick data with MT5. Would appreciate someone who has experience with futures bots specifically, and even better if you have experience with AMP brokers, and can provide guidance and improvement criteria. A point you note, I
I have just installed a Script which is running on MT4 and MT5 on Mac . The script was made for me by an MQL5 community programmer. The script creates a .csv of the Account History to folder location: users/drive_c/metatrader64/crossover/ApplicationData/MetaQuotes/Terminal/Common/Files/Accounts History I have the following problem: The Scripts require that I manually activate them every time I open MT4 and MT5
Need to copy the trades and orders generated by expert advisors from my MT4 platform to eToro broker. Etoro offers a trading API (). This could be used to make the connection to their propietary web platform. If the programmer considers there is more stable and faster way to do it then I'm open to suggestions
I am looking for an experienced MQL developer to create a simple Expert Advisor (EA) for MT4/MT5. The EA will be based on a combination of Exponential Moving Average (EMA) and Relative Strength Index (RSI) for trade entries and exits. Requirements : Proven experience in MQL4/MQL5 development Ability to deliver within deadlines Clear and regular communication during the project Experience with EAs involving moving
**Description:** I am looking for an experienced MQL4 programmer to develop a sophisticated Expert Advisor (EA) for MetaTrader 4 (MT4) using a **Hidden Markov Model (HMM)** to predict market trends for forex trading. The EA will be used for live trading on forex pairs like EUR/USD and should incorporate statistical modeling with advanced machine learning algorithms. ### **Requirements:** - **Strong MQL4 Expertise**
Hello devs. I need someone who can create a full Working Pythone Bot for copy trades from solana wallets. I will put a solana wallet in code and Set up a fixed Solana value (for example 0.02SOL) and when some tracked wallet made a transaction bot need to made same transaction but with fixed lot. When tracked wallet selling this token, then bot need to Sell full value of Tokens or 90% of holded Tokens. I need to have

Информация о проекте

Бюджет
50 - 100 USD
Исполнителю
45 - 90 USD
Сроки выполнения
от 1 до 5 дн.