Specification
استيراد ccxt
استيراد الباندا بصيغة pd
استيراد numpy كـ np
طلبات الاستيراد
وقت الاستيراد
# إعداد لعبة منصة اللعب عبر API
التبادل = ccxt.binance({
'apiKey': 'your_api_key',
'سري': 'سر_api_الخاص بك'
})
#إعداد إدارة المتنوعة
def calculate_position_size(رصيد الحساب، المخاطرة لكل صفقة، نقاط وقف الخسارة):
مبلغ_المخاطرة = رصيد_الحساب * المخاطرة_لكل_تداول
حجم الموضع = مبلغ المخاطرة / نقاط وقف الخسارة
إرجاع حجم الموضع
#فرضًا أن الأخبار الاقتصادية المتعلقة بالسوق
تعريف get_economic_news():
# هنا نستخدم API مثل NewsAPI أو Forex Factory للحصول على الأخبار الاقتصادية
url = 'https://newsapi.org/v2/كل شيء?q=forex&apiKey=your_news_api_key'
الرد = طلبات.get(url)
البيانات = response.json()
إرجاع البيانات['المقالات']
#تحليل الأخبار الجديدة في السوق
def analyze_news(الأخبار):
للمقالة في الأخبار:
# تحليل عنوان الخبر وملخصه
العنوان = article['title']
الوصف = article['الوصف']
# لا نفترض أن الخبر السلبي إذا كان فيه كلمات مثل "Down"، "Decline"
إذا كان 'down' في title.lower() أو 'decline' في title.lower():
العودة 'بيع'
elif 'up' في title.lower() أو 'growth' في title.lower():
العودة 'شراء'
العودة 'HOLD'
# الحصول على بيانات السوق
def get_market_data(الرمز):
المؤشر = exchange.fetch_ticker(الرمز)
عودة الشريط
# تنفيذ عملية التنفيذ على التحليل
def execute_trade(الرمز، الإجراء، حجم الموضع):
إذا كان الإجراء == 'شراء':
التبادل. إنشاء أمر شراء السوق (الرمز، حجم الموضع)
elif action == 'بيع':
التبادل. إنشاء أمر بيع السوق (الرمز، حجم الموضع)
آخر:
print("لم يتم اتخاذ أي إجراء")
#مثال على بوت يعمل بشكل دوري
تعريف run_trading_bot():
account_balance = 10000 # رصيد الحساب
Risk_per_trade = 0.01 # 1% من التداول لكل صفقة
stop_loss_pips = 50 # اعتقد أن نقطة وقف الخسارة هي 50 نقطة
حجم الموضع = حساب حجم الموضع (رصيد الحساب، المخاطرة لكل صفقة، نقاط وقف الخسارة)
# جلب الأخبار الاقتصادية
الأخبار = get_economic_news()
العمل = تحليل_الأخبار(الأخبار)
#بيانات سوق
الرمز = 'BTC/USDT'
بيانات السوق = الحصول على بيانات السوق (الرمز)
# اتخاذ القرارات بشأن الأخبار وتحليل السوق
print(f"بيانات السوق: {market_data}")
print(f"الإجراء بناءً على الأخبار: {action}")
# تنفيذ الصفقات
execute_trade(الرمز، الإجراء، حجم الموضع)
# تشغيل كل 30 ثانية
بينما صحيح:
تشغيل روبوت التداول
الوقت.النوم(30)
Responded
1
Rating
Projects
12
33%
Arbitration
8
13%
/
88%
Overdue
3
25%
Free
2
Rating
Projects
1
0%
Arbitration
5
0%
/
100%
Overdue
0
Free
Similar orders
Professional MT5 Expert Advisor – Multi-Engine Trading Framework Description I'm looking for an experienced MQL5 developer to build a professional MetaTrader 5 Expert Advisor. This is not a simple indicator-based EA. The system should be designed using a modular architecture with a strong focus on maintainability, optimization, and future scalability. The first version should include the following features. Market
English Description (For Developers): I need a custom Expert Advisor (EA) for MT5 to trade ONLY ETHUSD based on trend-following and counter-trendline breakout-retest with an M1 execution filter and strict risk management. Trading Logic: 1. Trend Filter: Price must be below 200 EMA on both H1 and M15 timeframes for Short (Sell) trades. (Opposite for Long/Buy trades). 2. Setup: On the M15 chart, after a strong move in
Build NINJATRADER 8
30+ USD
Can you Build a custom NinjaTrader 8 ChartStyle or BarsType called Optimized Footprint Bars. This project is urgent and i need someone that's wiiling to do his project with me kinldy bid for this. Thanks
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. Core Logic: Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). Dynamic TP: Total basket TP must update instantly upon new order
I am looking for an expert MQL5 developer to build a robust, professional Expert Advisor for Gold (XAUUSD). The EA must be Event-Driven (OnTick) with no 'Sleep' functions, ensuring instant execution. Core Logic: Grid Strategy: Start with 0.02 Buy/Sell. Lot size sequence: 0.02, 0.03, 0.05, 0.09, 0.14, 0.26, 0.44, 0.75, 1.28, 2.18 (Max 10 steps). Dynamic TP: Total basket TP must update instantly upon new order
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
HFT / Latency Arbitrage / Scalper needed
30 - 5000 USD
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or
Hft gold ea live account ic market
30 - 3000 USD
I am looking for an experienced MQL5 or MQL4 developer with a strong understanding of high-frequency trading (HFT) concepts who can explain how certain HFT-style strategies have historically been able to pass proprietary firm evaluations while also being profitable on demo accounts and capable of transitioning successfully to live trading. I am interested in understanding the legitimate trading logic, execution
Developer to build a simple EA
30+ USD
I am looking for an experienced MQL5 developer to code a custom Expert Advisor for MetaTrader 5 based on my own private trading strategy.I have all the specific entry rules, exit conditions, and risk management parameters fully prepared. I will share these exact details with the selected developer via direct message once the job is initiated.The final delivery must include the clean, fully commented source code (.mq5
Hello, I'm interested in a quote to convert my manual trading strategy into an automated strategy for NinjaTrader. Please note, I would like the quote based on the work and not my available budget; therefore, I entered $5 for the budget. Additionally, I would appreciate knowing how long it would take to build/test. I would prefer to have it sooner rather than later but selected 7 days not knowing how long it takes to
Project information
Budget
30+ USD