Fix the Python script for conversion of FXT format

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

I've got convert_csv_to_mt.py script (in Python 3) which incorrectly converting the CSV files into FXT. Basically all timeframes have the same size, but they shouldn't. The size should be smaller as the timeframe increases.

Currently FXT files for one year have 80MB for all the timeframes which is not correct.

Notes: This was working some time ago. You may compare the logic with similar scripts

Reproducible steps using these commands (given the linked scripts and downloaded into the folder):

1. Download CVS files for 1 month:

python3 dl_bt_dukascopy.py -c -p EURUSD -y 2014 -m 1

2. Combine all CSV files into one file (Linux, on Windows you can just try with one file):

find . -name "*.csv" -print0 | sort -z | xargs -0 cat > all.csv

3. Convert CSV into FXT (should be less than 2 mins):

time python3 convert_csv_to_mt.py -v -i all.csv -s EURUSD -t M1,M5,M15,M30,H1,H4,D1,W1,MN -f fxt4

4. Now all the files have 77MB, but the size should decrease as the timeframe is higher.

Requirements:

- the script should not take higher time of the conversion process than the current (since it has less processing)

- the output format should be valid and pass the validation tests (which it is currently),

- the output format should work fine under MT4 platform (as it is currently)

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

1
Разработчик 1
Оценка
(28)
Проекты
36
17%
Арбитраж
5
20% / 40%
Просрочено
17
47%
Свободен
Похожие заказы
Wavetrend 3D by Jdehorty open source to MT4 and then to .dll format. I do not want simple wavetrend I want the multitime frame one. If you are familiar with c++ or Delphi this is necessary https://www.youtube.com/watch?v=S64LjZVr9jE code python https://github.com/artnaz/wavetrend-3d
Job MT 30 - 150 USD
Hello developers, i need a copy trader over web with license id for mt4 and mt5, if you something available send me screenshots etc, please read the document attached and lets discuss about the project,maybe in future new features i will need
I'm looking for a developer to assist in creating an Expert Advisor (EA) for use in a prop firm. The EA should be designed for the MT4 trading platform and include the following features: Scalping strategy Maximum drawdown of 3% Please let me know if you're interested and capable of handling this project
I have an MT4 indicator, I want to receive an alert on WhatsApp when the indicator gives a buy or sell signal, I already have an API that will send the message, just send the json with the content, I will pass the API link when I have the proposal: { "symbol": "xauusd", "cellphonenumber": "00000000", "message": "test" }
My Goal: I want to make an EA that makes money using AI.. with zero losses and 100% winning chances and we will continue to upgrade and design the EA until we reach our goal. this could be a long term project
I want a profitable MT4/MT5 with a proven results and test results. Demo and strategy is also an advantage if available. kindly message me if it you have one. The source codes will be demanded when will finally reach a compromise
Trade Mirroring Solution 100 - 150 USD
Hey there! I was wondering if you could help me with copy trading an EA’s action on Cronos markets (uses CTrader) into a prop firm account that I bought with TooOne Trader (uses TradeLocker to execute trades). Actually, I have 3 prop firm accounts with them that I am trying to pass with this particular EA. 1) Each of these 3 accounts is $250,000 (different account numbers that cannot be combined. 2) I currently have
MQL Excel Integration 500 - 750 USD
I am looking for a MQL5 programmer to have Metatrader read my MS Excel signals. There will be a notification CSV/TXT file going from MT to Excel. To let Excel know one of the two orders went live. There will also be a order CSV/TXT file going from Excel to MT. To let MT know of 2 new orders. The order CSV will include 2 orders with Order Type Order buy/sell Order price Order Stop-loss Price Order Target Price Project
Hi I am looking for some developer, who can develop WebPage which can display my open trades position, Trade History and Live Bid/Ask of my Watchlist. Frontend web app for customers/clients where they can login and see (Account info, Watchlist, Positions, History) Control Panel to create users and map user emails to MT5 account numbers etc

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

Бюджет
40 - 60 USD
Исполнителю
36 - 54 USD
Сроки выполнения
от 2 до 5 дн.