Creation of an API server for integration with a trading bot
Task: Creating an API server for integration with a trading bot
Project Description:
An API server needs to be set up that will interact with our trading bot on MetaTrader 5 (MT5). The server should accept requests from the bot, process them, and return the analysis results.
Main Tasks:
Setting up Google Cloud Platform (GCP):
- Create a new project on GCP.
- Set up the necessary services (Cloud Run, Container Registry).
Containerization of Flask Application:
- Create a
Dockerfilefor the Flask API application. - Build the Docker image and upload it to Google Container Registry (GCR).
- Create a
Deployment on Cloud Run:
- Deploy the container on Cloud Run.
- Configure automatic scaling and service availability.
Security and Authentication:
- Implement authentication using API keys.
- Set up environment variables for storing confidential data (API keys will be provided separately).
Testing and Documentation:
- Check the functionality of the API server.
- Provide brief documentation describing the main routes and usage instructions.
Technical Requirements:
- Programming Language: Python 3.7+
- Framework: Flask
- Containerization: Docker
- Hosting: Google Cloud Platform (Cloud Run)
- Tools: Google Cloud SDK, Gunicorn
- Libraries: Flask, Gunicorn (other dependencies in
requirements.txt)
Expected Results:
Functional API server:
- Accepts and processes requests from the trading bot.
- Returns analysis results in JSON format.
Deployed Service on Cloud Run:
- Accessible via HTTPS URL.
- Secured with API keys.
Brief Documentation:
- Description of main routes and examples of requests.
-
230 Good day! I have experience in API development. Write to discuss the details.
-
449 3 1 1 I propose to implement an API server for integration with a trading bot on MetaTrader 5 using Google Cloud Platform (GCP) and Flask.
Implementation plan:
1. GCP setup:
Creating a project on GCP.
Activating Cloud Run and Container Registry services.
Configuring access through Google Cloud SDK.
2. Containerization of the Flask application:
Developing a Flask API with routes for handling requests (e.g., /analyze, /status).
… Writing a Dockerfile for containerizing the application.
Building the Docker image and uploading it to Google Container Registry (GCR).
3. Deployment on Cloud Run:
Deploying the container on Cloud Run:
Availability via HTTPS.
Configuring automatic scaling.
4. Security:
Implementing authentication via API keys.
Storing sensitive data in GCP environment variables.
5. Testing and documentation:
Testing the API server through test requests.
Preparing documentation with route descriptions, request examples, and instructions.
Result:
Deployed API server on Cloud Run.
Accepts requests from the MT5 bot and returns results in JSON format.
Secured access via API keys.
Documentation for integration and usage.
Ready to discuss details and start implementation. Write for clarification!
-
1970 25 1 Hello, I am working on API development. I can develop the necessary API, but we need to understand its functionality. Shall we chat in private?
-
1118 10 0 Good day!
I am ready to implement it in Python.
Write to me, we will discuss the details and get started!
Best regards, Andriy!
-
95644 1272 1 10 Hello. I have experience with Flask. Can I see the specifications for the functionality in the routes?
Current freelance projects in the category Python
Telegram bot for hiring/searching employees. For job searching.
25 USD
1. General Concept Creation of a Telegram bot for automating recruitment and mutual job searching. The system operates on the principle of active response and mutual confirmation of interest (Double Opt-In). The system includes two roles: Employer (Company Owner) and Worker (Job… Python, Bot Development ∙ 10 hours 38 minutes back ∙ 58 proposals |
Technical support for web platform (Python/Django)There is a working web project that needs to be maintained and gradually organized, without rewriting from scratch. Project stack: Backend: Python, Django, Django Rest Framework Frontend: Next.js Database: PostgreSQL Infrastructure: AWS (EC2), Nginx There are integrations… Python, Web Programming ∙ 12 hours 46 minutes back ∙ 47 proposals |
Development of a web service with paid access to an online chatGood day, it is necessary to develop a web service that includes: * personal links for users; * a page with a description of the service; * payment through PayPal; * online real-time chat; * video display on the user page; * accounting for paid time and automatic access… Python, Web Programming ∙ 1 day 13 hours back ∙ 68 proposals |
Application developmentI wish to create a mobile application for communication, the app should have audio and video calls, group chat creation, the ability to sync with phone contacts, account settings: email binding, 2FA, phone number, the ability to customize app notifications, change the app… Java, Python ∙ 2 days 11 hours back ∙ 36 proposals |
Setting up two-way integration of WhatsApp with Odoo CRMHello! We are looking for a specialist to implement a technical task for setting up a two-way integration of the WhatsApp messenger with the Odoo CRM system. ⚠️ Important technical clarification: The official WhatsApp Business API (WABA) is not considered. It is necessary to… Python, Web Programming ∙ 2 days 21 hours back ∙ 23 proposals |