Advertisement
DeukausGames

Pegardados

Jan 29th, 2021
998
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.11 KB | None | 0 0
  1. p = {
  2.     'gale': [
  3.         'gale',
  4.         'martigale',
  5.         'martingale',
  6.         ],
  7.     'sinal': [
  8.         'call',
  9.         'put'
  10.     ]
  11. }
  12.  
  13. m = """😎 LISTA VIP 😎
  14.  
  15. 📈---> 18/01
  16.  
  17. EQUIPE SHARKS 🦈
  18.  
  19. CALL: Pra cima  🟩
  20. PUT: Pra baixo 🟥
  21.  
  22. 🚨 ATÉ 1 MARTIGALE!🚨
  23.  
  24. ⚠️Não entrem contra a tendencia!⚠️
  25.  
  26. 🔥USEM DE 1% A 1,5% DE SUA BANCA A CADA OPERAÇÃO🔥
  27.  
  28. M5
  29. GBP/JPY 01:30 CALL
  30. EUR/CAD 03:20 PUT
  31. GBP/NZD 03:50 CALL
  32. GBP/JPY 06:45 PUT
  33. USD/JPY 07:35 PUT
  34. EUR/GBP 08:50 PUT
  35. EUR/CAD 09:10 CALL
  36. USD/JPY 11:30 PUT
  37. EUR/USD 13:10 PUT
  38. AUD/JPY 14:20 PUT
  39. EUR/JPY 15:25 PUT
  40. AUD/CAD 16:00 PUT
  41.  
  42. 3/4 sinais é o suficiente pra bater a meta!"""
  43.  
  44.  
  45. m2 = """==========//============
  46. 🧙‍♂️🥇🇫🇷Copysignalsbr🇫🇷🥇🧙‍♂️
  47. ==========//=============
  48.  
  49. Cotado para o dia↔️ *13/01/2021
  50. ✅ 📊=5M
  51. ✅ ⏰M5
  52. ✅ NÃO ENTRAR CONTRA TENDÊNCIA
  53. ✅gerenciamento recomendado:1-4%
  54. ✅ Até GALE 2
  55. M5
  56.  
  57. 00:05;EUR/GBP;PUT;5🔴
  58. 00:30;EUR/GBP;PUT;5🔴
  59. 01:05;EUR/GBP;PUT;5🔴
  60. 02:50;EUR/GBP;PUT;5🔴
  61. 07:20;GBP/USD;CALL;5🟢
  62. 07:30;AUD/CAD;CALL;5🟢
  63. 07:40;USD/JPY;CALL;5🟢
  64. 11:25;AUD/CAD;PUT;5🔴
  65. 12:40;EUR/GBP;PUT;5🔴
  66. 15:45;GBP/USD;PUT;5🔴
  67. 16:15;AUD/CAD;PUT;5🔴
  68. 16:25;AUD/CAD;PUT;5🔴
  69. 19:55;GBP/USD;CALL;5🟢
  70. 20:15;EUR/GBP;PUT;5🔴
  71. 22:45;EUR/JPY;PUT;5🔴"""
  72. def pegarDados(temp):
  73.     t = {
  74.         'periodo': 'm5',
  75.         'paridade': None,
  76.         'horario': None,
  77.         'sinal': None,
  78.         'gale': 0
  79.     }
  80.     for word in temp:
  81.         if 'm' in word.lower():
  82.             if word[1].isnumeric():
  83.                 t['periodo'] = word
  84.         elif len(word) == 7:
  85.             if '\\' or '\/' in word:
  86.                 t['paridade'] = word
  87.         elif len(word) == 6:
  88.             t['paridade'] = word
  89.         elif ':' in word:
  90.             t['horario'] = word
  91.         elif 'put' in word.lower() or 'call' in word.lower():
  92.             t['sinal'] = word
  93.         elif 'sem' in word.lower():
  94.             t['gale'] = 0
  95.         elif word.isnumeric():
  96.             t['gale'] = word
  97.     return t
  98.        
  99. def acharSinais(mensagem):
  100.     nList = []
  101.     nnList = []
  102.     nMes = []
  103.     tcolumn = mensagem.lower().split('\n')
  104.     for trow in tcolumn:
  105.         if 'put' in trow or 'call' in trow:
  106.             nList.append(trow)
  107.         nMes.append(trow.split())
  108.     if len(nList) > 1:
  109.         for b in nList:
  110.             t = {
  111.                 'periodo': 'm5',
  112.                 'paridade': None,
  113.                 'horario': None,
  114.                 'sinal': None,
  115.                 'gale': 0
  116.             }
  117.             if b.count(';') > 1:
  118.                 temp = b.split(';')
  119.                 t = pegarDados(temp)
  120.             elif b.count(',') > 1:
  121.                 temp = b.split(',')
  122.                 t = pegarDados(temp)
  123.             else:
  124.                 temp = b.split()
  125.                 t = pegarDados(temp)
  126.             if (t['paridade'] is not None and t['horario'] is not None and t['sinal'] is not None):
  127.                 nnList.append(t)
  128.                 print(t)
  129.     return nnList
  130.     #print(nList)
  131.     #print(nMes)
  132.        
  133. acharSinais(m)
  134.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement