This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[["{\"base_configuration\": {\"type\": \"sell\", \"lot\": 1, \"balance\": 1000, \"invert_orders\": false, \"is_compound\": \"method 3\", \"orders_maximum\": 1, \"orders_time_to_wait_for_new_orders\": 0, \"investment_maximum\": 1000, \"note\": \"41d813455057c78602e3493b0000000000000000,41d813455057c78602e3493b051fe44100000000\", \"comission\": 0.1, \"laverage\": 2, \"configuration_compound\": {\"method\": 3, \"token\": \"41d82e4a65f04b1f008c086c01a140f50000000000000000\"}}, \"signal_condition\": {\"condition_001\": {\"divisor\": 8, \"multiplicator\": 64}, \"condition_002\": {\"divisor\": 30, \"multiplicator\": 8}, \"condition_003\": {\"divisor\": 30, \"multiplicator\": 1}, \"condition_004\": {\"divisor\": 8, \"multiplicator\": 1}}, \"open_condition\": {\"max_time_to_wait\": 0}, \"close_condition\": {\"take_profit\": 1, \"stop_loss\": 0.015, \"trailing_activation\": 0.01, \"trailing_step\": 0.005}, \"close_condition_dynamic\": {\"activation_percentage\": 0, \"max_open_time\": 1440}, \"token\": \"41d82e4a65f04b1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime, timedelta | |
import time | |
import uuid | |
import random | |
class OrdersManager: | |
__orders = [] | |
__orders_processed = 0 | |
__last_printed_log = datetime.now() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For this mission, you should create a python script that can: | |
- Generate a chart of lines where you will draw the numbers of case by day of Afghanistan and Russia. | |
- Deaths average by day of every country and new cases (save in an Excel) | |
- What country and day have more cases by day? (save in an Excel) | |
Dataset: | |
https://www.kaggle.com/datasets/caesarmario/our-world-in-data-covid19-dataset?resource=download | |
Important: | |
1. You don't can use any library like Pandas or Numpy, instead you should use native Arrays and Loops. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"page": 2, | |
"per_page": 6, | |
"total": 12, | |
"total_pages": 2, | |
"data": [ | |
{ | |
"id": 7, | |
"email": "michael.lawson@reqres.in", | |
"first_name": "Michael", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"id": 2, | |
"email": "janet.weaver@reqres.in", | |
"first_name": "Janet", | |
"last_name": "Weaver", | |
"avatar": "https://reqres.in/img/faces/2-image.jpg" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"status": "success", | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"status": "success", | |
"user": { | |
"id": 2, | |
"email": "janet.weaver@reqres.in", | |
"first_name": "Janet", | |
"last_name": "Weaver", | |
"avatar": "https://reqres.in/img/faces/2-image.jpg" | |
} |