content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
"""This module contains classes. """ class AnObject: """Defines an object Args: a (bool): This is param `a` description. b (np.array): This is param `b` description. Attributes: a (bool): An attribute. b (np.array): Another attribute. Notes: There's a little of repeatability in paramaters and attributes. Nevertheless, the output is quite different (take a look). """ def __init__(self, a, b): pass def operate_on_attributes(self, operator): """Operates on attributes accordingly to passed method. Args: operator (callable): A function that receives `a` and `b`. """ pass
"""This module contains classes. """ class Anobject: """Defines an object Args: a (bool): This is param `a` description. b (np.array): This is param `b` description. Attributes: a (bool): An attribute. b (np.array): Another attribute. Notes: There's a little of repeatability in paramaters and attributes. Nevertheless, the output is quite different (take a look). """ def __init__(self, a, b): pass def operate_on_attributes(self, operator): """Operates on attributes accordingly to passed method. Args: operator (callable): A function that receives `a` and `b`. """ pass
__all__ = ['ADMIN'] ADMIN = """from django.contrib import admin from . import models {% for model in fields_dict %} @admin.register(models.{{model.name}}) class {{ model.name }}Admin(admin.ModelAdmin): list_display = [{% for field in model.fields %}{% if field == 'id' %}'pk'{% else %}'{{field}}'{% endif %}, {% endfor %}] {% endfor %}"""
__all__ = ['ADMIN'] admin = "from django.contrib import admin\nfrom . import models\n{% for model in fields_dict %}\n\n@admin.register(models.{{model.name}})\nclass {{ model.name }}Admin(admin.ModelAdmin):\n list_display = [{% for field in model.fields %}{% if field == 'id' %}'pk'{% else %}'{{field}}'{% endif %}, {% endfor %}]\n{% endfor %}"
SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID = "select_notices_for_re_package_and_reset_status" TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID = "trigger_worker_for_package_branch" def test_selector_repackage_process_orchestrator(dag_bag): assert dag_bag.import_errors == {} dag = dag_bag.get_dag(dag_id="selector_re_package_process_orchestrator") assert dag is not None assert dag.has_task(SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID) assert dag.has_task(TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID) select_notices_for_re_package_and_reset_status_task = dag.get_task( SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID) trigger_worker_for_package_branch_task = dag.get_task(TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID) assert select_notices_for_re_package_and_reset_status_task assert trigger_worker_for_package_branch_task assert TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID in set( map(lambda task: task.task_id, select_notices_for_re_package_and_reset_status_task.downstream_list)) assert SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID in set( map(lambda task: task.task_id, trigger_worker_for_package_branch_task.upstream_list))
select_notices_for_re_package_and_reset_status_task_id = 'select_notices_for_re_package_and_reset_status' trigger_worker_for_package_branch_task_id = 'trigger_worker_for_package_branch' def test_selector_repackage_process_orchestrator(dag_bag): assert dag_bag.import_errors == {} dag = dag_bag.get_dag(dag_id='selector_re_package_process_orchestrator') assert dag is not None assert dag.has_task(SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID) assert dag.has_task(TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID) select_notices_for_re_package_and_reset_status_task = dag.get_task(SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID) trigger_worker_for_package_branch_task = dag.get_task(TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID) assert select_notices_for_re_package_and_reset_status_task assert trigger_worker_for_package_branch_task assert TRIGGER_WORKER_FOR_PACKAGE_BRANCH_TASK_ID in set(map(lambda task: task.task_id, select_notices_for_re_package_and_reset_status_task.downstream_list)) assert SELECT_NOTICES_FOR_RE_PACKAGE_AND_RESET_STATUS_TASK_ID in set(map(lambda task: task.task_id, trigger_worker_for_package_branch_task.upstream_list))
def taylor(val,precision): next = 1 total = 0 for i in range(0,precision): posorneg = (-1) ** i top = val ** (2 * i + 1 ) * posorneg final = 1 for i in range(next): final = final * (next -i) next +=2 total += top/final print(top,final) return total if __name__ == "__main__": print(taylor(1.57,51))
def taylor(val, precision): next = 1 total = 0 for i in range(0, precision): posorneg = (-1) ** i top = val ** (2 * i + 1) * posorneg final = 1 for i in range(next): final = final * (next - i) next += 2 total += top / final print(top, final) return total if __name__ == '__main__': print(taylor(1.57, 51))
# -*- coding: utf-8 -*- """Project metadata Information to describe this project. NOTE: Be sure to "not" include any dependency here, otherwise they will need to be added to `setup.py` as well. To import it to `setup.py`, use `imp.load_source()` method to directly load it as a module. """ # The package name, which is also the "UNIX name" for the project. package = 'neoRNA' project = "neoRNA" project_no_spaces = project.replace(' ', '_') version = '0.6.6' keywords = 'NGS pipeline RNA' description = 'A Python Toolkit for RNA NGS and Analysis.' authors = ['Lei SHI'] authors_string = ', '.join(authors) emails = ['foxshee@gmail.com'] license = 'MIT' copyright = '2017 ' + authors_string url = 'http://example.com/'
"""Project metadata Information to describe this project. NOTE: Be sure to "not" include any dependency here, otherwise they will need to be added to `setup.py` as well. To import it to `setup.py`, use `imp.load_source()` method to directly load it as a module. """ package = 'neoRNA' project = 'neoRNA' project_no_spaces = project.replace(' ', '_') version = '0.6.6' keywords = 'NGS pipeline RNA' description = 'A Python Toolkit for RNA NGS and Analysis.' authors = ['Lei SHI'] authors_string = ', '.join(authors) emails = ['foxshee@gmail.com'] license = 'MIT' copyright = '2017 ' + authors_string url = 'http://example.com/'
class MathUtils: @staticmethod def average(a, b): return (a + b)/2 if __name__ == '__main__': print(MathUtils.average(1, 2))
class Mathutils: @staticmethod def average(a, b): return (a + b) / 2 if __name__ == '__main__': print(MathUtils.average(1, 2))
# Copyright (c) 2018, Xilinx, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # 3. Neither the name of the copyright holder nor the names of its # contributors may be used to endorse or promote products derived from # this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION). HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. __author__ = "Peter Ogden" __copyright__ = "Copyright 2018, Xilinx" __email__ = "pynq_support@xilinx.com" _DAC_ADP = [ ('BlockAvailable', 'C_DAC_Slice{}{}_Enable', 'int'), ('InvSyncEnable', 'C_DAC_Invsinc_Ctrl{}{}', 'int'), ('MixMode', 'C_DAC_Mixer_Mode{}{}', 'int'), ('DecoderMode', 'C_DAC_Decoder_Mode{}{}', 'int') ] _DAC_DDP = [ ('DataType', 'C_DAC_Data_Type{}{}', 'int'), ('DataWidth', 'C_DAC_Data_Width{}{}', 'int'), ('InterploationMode', 'C_DAC_Interpolation_Mode{}{}', 'int'), # ('FifoEnable', 'C_DAC_Fifo{}{}_Enable', 'int'), # ('AdderEnable', 'C_DAC_Adder{}{}_Enable', 'int'), ('MixerType', 'C_DAC_Mixer_Type{}{}', 'int') ] _ADC_ADP = [ ('BlockAvailable', 'C_ADC_Slice{}{}_Enable', 'int'), ('MixMode', 'C_ADC_Mixer_Mode{}{}', 'int') ] _ADC_DDP = [ ('DataType', 'C_ADC_Data_Type{}{}', 'int'), ('DataWidth', 'C_ADC_Data_Width{}{}', 'int'), ('DecimationMode', 'C_ADC_Decimation_Mode{}{}', 'int'), # ('FifoEnable', 'C_ADC_Fifo{}{}_Enable', 'int'), ('MixerType', 'C_ADC_Mixer_Type{}{}', 'int') ] _DAC_Tile = [ ('Enable', 'C_DAC{}_Enable', 'int'), ('PLLEnable', 'C_DAC{}_PLL_Enable', 'int'), ('SamplingRate', 'C_DAC{}_Sampling_Rate', 'double'), ('RefClkFreq', 'C_DAC{}_Refclk_Freq', 'double'), ('FabClkFreq', 'C_DAC{}_Fabric_Freq', 'double'), ('FeedbackDiv', 'C_DAC{}_FBDIV', 'int'), ('OutputDiv', 'C_DAC{}_OutDiv', 'int'), ('RefClkDiv', 'C_DAC{}_Refclk_Div', 'int'), ('MultibandConfig', 'C_DAC{}_Band', 'int') ] _ADC_Tile = [ ('Enable', 'C_ADC{}_Enable', 'int'), ('PLLEnable', 'C_ADC{}_PLL_Enable', 'int'), ('SamplingRate', 'C_ADC{}_Sampling_Rate', 'double'), ('RefClkFreq', 'C_ADC{}_Refclk_Freq', 'double'), ('FabClkFreq', 'C_ADC{}_Fabric_Freq', 'double'), ('FeedbackDiv', 'C_ADC{}_FBDIV', 'int'), ('OutputDiv', 'C_ADC{}_OutDiv', 'int'), ('RefClkDiv', 'C_ADC{}_Refclk_Div', 'int'), ('MultibandConfig', 'C_ADC{}_Band', 'int') ] _Config = [ ('ADCType', 'C_High_Speed_ADC', 'int'), # ('MasterADCTile', 'C_Sysref_Master', 'int'), # ('MasterDACTile', 'C_Sysref_Master', 'int'), ('ADCSysRefSource', 'C_Sysref_Source', 'int'), ('DACSysRefSource', 'C_Sysref_Source', 'int') ] _bool_dict = { 'true': 1, 'false': 0 } def _to_value(val, dtype): if dtype == 'int': if val in _bool_dict: return _bool_dict[val] return int(val, 0) elif dtype == 'double': return float(val) else: raise ValueError(f"{dtype} is not int or double") def _set_configs(obj, params, config, *args): for c in config: setattr(obj, c[0], _to_value(params[c[1].format(*args)], c[2])) def populate_config(obj, params): _set_configs(obj, params, _Config) for i in range(4): _set_configs(obj.DACTile_Config[i], params, _DAC_Tile, i) _set_configs(obj.ADCTile_Config[i], params, _ADC_Tile, i) for j in range(4): _set_configs(obj.DACTile_Config[i].DACBlock_Analog_Config[j], params, _DAC_ADP, i, j) _set_configs(obj.DACTile_Config[i].DACBlock_Digital_Config[j], params, _DAC_DDP, i, j) _set_configs(obj.ADCTile_Config[i].ADCBlock_Analog_Config[j], params, _ADC_ADP, i, j) _set_configs(obj.ADCTile_Config[i].ADCBlock_Digital_Config[j], params, _ADC_DDP, i, j)
__author__ = 'Peter Ogden' __copyright__ = 'Copyright 2018, Xilinx' __email__ = 'pynq_support@xilinx.com' _dac_adp = [('BlockAvailable', 'C_DAC_Slice{}{}_Enable', 'int'), ('InvSyncEnable', 'C_DAC_Invsinc_Ctrl{}{}', 'int'), ('MixMode', 'C_DAC_Mixer_Mode{}{}', 'int'), ('DecoderMode', 'C_DAC_Decoder_Mode{}{}', 'int')] _dac_ddp = [('DataType', 'C_DAC_Data_Type{}{}', 'int'), ('DataWidth', 'C_DAC_Data_Width{}{}', 'int'), ('InterploationMode', 'C_DAC_Interpolation_Mode{}{}', 'int'), ('MixerType', 'C_DAC_Mixer_Type{}{}', 'int')] _adc_adp = [('BlockAvailable', 'C_ADC_Slice{}{}_Enable', 'int'), ('MixMode', 'C_ADC_Mixer_Mode{}{}', 'int')] _adc_ddp = [('DataType', 'C_ADC_Data_Type{}{}', 'int'), ('DataWidth', 'C_ADC_Data_Width{}{}', 'int'), ('DecimationMode', 'C_ADC_Decimation_Mode{}{}', 'int'), ('MixerType', 'C_ADC_Mixer_Type{}{}', 'int')] _dac__tile = [('Enable', 'C_DAC{}_Enable', 'int'), ('PLLEnable', 'C_DAC{}_PLL_Enable', 'int'), ('SamplingRate', 'C_DAC{}_Sampling_Rate', 'double'), ('RefClkFreq', 'C_DAC{}_Refclk_Freq', 'double'), ('FabClkFreq', 'C_DAC{}_Fabric_Freq', 'double'), ('FeedbackDiv', 'C_DAC{}_FBDIV', 'int'), ('OutputDiv', 'C_DAC{}_OutDiv', 'int'), ('RefClkDiv', 'C_DAC{}_Refclk_Div', 'int'), ('MultibandConfig', 'C_DAC{}_Band', 'int')] _adc__tile = [('Enable', 'C_ADC{}_Enable', 'int'), ('PLLEnable', 'C_ADC{}_PLL_Enable', 'int'), ('SamplingRate', 'C_ADC{}_Sampling_Rate', 'double'), ('RefClkFreq', 'C_ADC{}_Refclk_Freq', 'double'), ('FabClkFreq', 'C_ADC{}_Fabric_Freq', 'double'), ('FeedbackDiv', 'C_ADC{}_FBDIV', 'int'), ('OutputDiv', 'C_ADC{}_OutDiv', 'int'), ('RefClkDiv', 'C_ADC{}_Refclk_Div', 'int'), ('MultibandConfig', 'C_ADC{}_Band', 'int')] __config = [('ADCType', 'C_High_Speed_ADC', 'int'), ('ADCSysRefSource', 'C_Sysref_Source', 'int'), ('DACSysRefSource', 'C_Sysref_Source', 'int')] _bool_dict = {'true': 1, 'false': 0} def _to_value(val, dtype): if dtype == 'int': if val in _bool_dict: return _bool_dict[val] return int(val, 0) elif dtype == 'double': return float(val) else: raise value_error(f'{dtype} is not int or double') def _set_configs(obj, params, config, *args): for c in config: setattr(obj, c[0], _to_value(params[c[1].format(*args)], c[2])) def populate_config(obj, params): _set_configs(obj, params, _Config) for i in range(4): _set_configs(obj.DACTile_Config[i], params, _DAC_Tile, i) _set_configs(obj.ADCTile_Config[i], params, _ADC_Tile, i) for j in range(4): _set_configs(obj.DACTile_Config[i].DACBlock_Analog_Config[j], params, _DAC_ADP, i, j) _set_configs(obj.DACTile_Config[i].DACBlock_Digital_Config[j], params, _DAC_DDP, i, j) _set_configs(obj.ADCTile_Config[i].ADCBlock_Analog_Config[j], params, _ADC_ADP, i, j) _set_configs(obj.ADCTile_Config[i].ADCBlock_Digital_Config[j], params, _ADC_DDP, i, j)
# SD-WAN vManager username and password vManager_USERNAME = "devnetuser" vManager_PASSWORD = "Cisco123!" # DNA Center username and password DNAC_USER = "devnetuser" DNAC_PASSWORD = "Cisco123!" # Meraki API key MERAKI_API_KEY = "6bec40cf957de430a6f1f2baa056b99a4fac9ea0" # E-mail username and password EMAIL_USERNAME = "email_username" EMAIL_PASSWORD = "email_password" # send message to Webex Teams Spaces - DevNetDemo WEBEX_TEAMS_SPACE = "webex_team_space_more_than_70_characters" WEBEX_TEAMS_TOKEN = "webex_teams_token_more_than_100_characters"
v_manager_username = 'devnetuser' v_manager_password = 'Cisco123!' dnac_user = 'devnetuser' dnac_password = 'Cisco123!' meraki_api_key = '6bec40cf957de430a6f1f2baa056b99a4fac9ea0' email_username = 'email_username' email_password = 'email_password' webex_teams_space = 'webex_team_space_more_than_70_characters' webex_teams_token = 'webex_teams_token_more_than_100_characters'
class Solution(object): def maxSlidingWindow(self, nums, k): """ :type nums: List[int] :type k: int :rtype: List[int] """ if not nums: return [] window,res=[],[] #window stores indices,and res stores result for i,x in enumerate(nums): if i>=k and window[0]<=i-k: window.pop(0) while window and nums[window[-1]]<=x: window.pop() window.append(i) if i>=k-1: res.append(nums[window[0]]) return res
class Solution(object): def max_sliding_window(self, nums, k): """ :type nums: List[int] :type k: int :rtype: List[int] """ if not nums: return [] (window, res) = ([], []) for (i, x) in enumerate(nums): if i >= k and window[0] <= i - k: window.pop(0) while window and nums[window[-1]] <= x: window.pop() window.append(i) if i >= k - 1: res.append(nums[window[0]]) return res
class Solution: def searchInsert(self, nums: List[int], target: int) -> int: def divide_conquer(low, high, nums, target): mid = int(low+high)/2 if nums[mid] == target: return mid elif nums[mid] < target: divide_conquer(mid+1, high, nums, target) elif nums[mid] > target: divide_conquer(low, mid-1, nums, target) return mid+1 return divide_conquer(0, len(nums)-1, nums, target) class Solution: def searchInsert(self, nums, T): def search(nums, T, L, R): if L > R: return L mid = (L + R) >> 1 if nums[mid] == T: return mid return search(nums, T, mid + 1, R) if nums[mid] < T else search(nums, T, L, mid - 1) # if nums[mid]< T: # search(nums, T, mid + 1, R) # elif nums[mid]>T: # search(nums, T, L, mid - 1) # return mid+1 return search(nums, T, 0, len(nums)-1)
class Solution: def search_insert(self, nums: List[int], target: int) -> int: def divide_conquer(low, high, nums, target): mid = int(low + high) / 2 if nums[mid] == target: return mid elif nums[mid] < target: divide_conquer(mid + 1, high, nums, target) elif nums[mid] > target: divide_conquer(low, mid - 1, nums, target) return mid + 1 return divide_conquer(0, len(nums) - 1, nums, target) class Solution: def search_insert(self, nums, T): def search(nums, T, L, R): if L > R: return L mid = L + R >> 1 if nums[mid] == T: return mid return search(nums, T, mid + 1, R) if nums[mid] < T else search(nums, T, L, mid - 1) return search(nums, T, 0, len(nums) - 1)
class TestLogicReset: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self else: return self.ctx_.RunTestIdle class RunTestIdle: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.SelectDRScan else: return self class SelectDRScan: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.SelectIRScan else: return self.ctx_.CaptureDR class CaptureDR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): self.ctx_.captureDR() if ( tms ): return self.ctx_.Exit1DR else: return self.ctx_.ShiftDR class ShiftDR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): self.ctx_.shiftDR(tdi) if ( tms ): return self.ctx_.Exit1DR else: return self class Exit1DR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.UpdateDR else: return self.ctx_.PauseDR class PauseDR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.Exit2DR else: return self class Exit2DR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.UpdateDR else: return self.ctx_.ShiftDR class UpdateDR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): self.ctx_.updateDR() if ( tms ): return self.ctx_.SelectDRScan else: return self.ctx_.RunTestIdle class SelectIRScan: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.TestLogicReset else: return self.ctx_.CaptureIR class CaptureIR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): self.ctx_.captureIR() if ( tms ): return self.ctx_.Exit1IR else: return self.ctx_.ShiftIR class ShiftIR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): self.ctx_.shiftIR(tdi) if ( tms ): return self.ctx_.Exit1IR else: return self class Exit1IR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.UpdateIR else: return self.ctx_.PauseIR class PauseIR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.Exit2IR else: return self class Exit2IR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): if ( tms ): return self.ctx_.UpdateIR else: return self.ctx_.ShiftIR class UpdateIR: def __init__(self,ctx): self.ctx_=ctx def advance(self, tms, tdi): self.ctx_.updateIR() if ( tms ): return self.ctx_.SelectDRScan else: return self.ctx_.RunTestIdle class JtagShiftReg: def __init__(self, LIM=0): self.reg_ = 0 self.len_ = 0 self.shr_ = 0 self.shl_ = 0 self.msk_ = 1 self.lim_ = LIM def capture(self): self.shr_ = 0 self.shl_ = 0 self.msk_ = 1 def shift(self, tdi): if ( tdi ): self.shr_ |= self.msk_ self.shl_ += 1 self.msk_ <<= 1 def update(self): if (self.lim_ > 0 and self.shl_ != self.lim_ ): raise RuntimeError("Bad DATA? Register length mismatch") self.reg_ = self.shr_ self.len_ = self.shl_ def getLength(self): return self.len_ def getData(self): return self.reg_ class JtagSniffer: def __init__(self, IR_USER=0x3c2, IR_LEN=10): self.TestLogicReset=TestLogicReset(self) self.RunTestIdle=RunTestIdle(self) self.SelectDRScan=SelectDRScan(self) self.CaptureDR=CaptureDR(self) self.ShiftDR=ShiftDR(self) self.Exit1DR=Exit1DR(self) self.PauseDR=PauseDR(self) self.Exit2DR=Exit2DR(self) self.UpdateDR=UpdateDR(self) self.SelectIRScan=SelectIRScan(self) self.CaptureIR=CaptureIR(self) self.ShiftIR=ShiftIR(self) self.Exit1IR=Exit1IR(self) self.PauseIR=PauseIR(self) self.Exit2IR=Exit2IR(self) self.UpdateIR=UpdateIR(self) self.IR_USR_ = IR_USER self.IR_ULN_ = IR_LEN self.state_ = self.TestLogicReset self.IR_ = ~IR_USER self.IR_SHR_ = 0 self_IR_LEN_ = 0 self.DR_ = 0 self.DR_SHR_ = 0 self.DR_LEN_ = 0 self.DR = JtagShiftReg() self.IR = JtagShiftReg(LIM=IR_LEN) def advance(self, tms, tdi): self.state_ = self.state_.advance(tms, tdi) def isUSER(self): return self.IR.getData() == self.IR_USR_ def captureIR(self): self.IR.capture() def captureDR(self): if (self.isUSER()): self.DR.capture() def shiftIR(self, tdi): self.IR.shift(tdi) def shiftDR(self, tdi): if (self.isUSER()): self.DR.shift(tdi) def updateIR(self): self.IR.update() #print("New IR: 0x{:x}".format(self.IR.getData())) def updateDR(self): if (self.isUSER()): self.DR.update() print("New DR[{}]: {:x}".format(self.DR.getLength(),self.DR.getData())) def processVecs(self, tms, tdi, nbits): for i in range(nbits): self.advance( not not (tms & 1), not not (tdi & 1) ) tms >>= 1 tdi >>= 1
class Testlogicreset: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self else: return self.ctx_.RunTestIdle class Runtestidle: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.SelectDRScan else: return self class Selectdrscan: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.SelectIRScan else: return self.ctx_.CaptureDR class Capturedr: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): self.ctx_.captureDR() if tms: return self.ctx_.Exit1DR else: return self.ctx_.ShiftDR class Shiftdr: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): self.ctx_.shiftDR(tdi) if tms: return self.ctx_.Exit1DR else: return self class Exit1Dr: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.UpdateDR else: return self.ctx_.PauseDR class Pausedr: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.Exit2DR else: return self class Exit2Dr: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.UpdateDR else: return self.ctx_.ShiftDR class Updatedr: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): self.ctx_.updateDR() if tms: return self.ctx_.SelectDRScan else: return self.ctx_.RunTestIdle class Selectirscan: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.TestLogicReset else: return self.ctx_.CaptureIR class Captureir: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): self.ctx_.captureIR() if tms: return self.ctx_.Exit1IR else: return self.ctx_.ShiftIR class Shiftir: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): self.ctx_.shiftIR(tdi) if tms: return self.ctx_.Exit1IR else: return self class Exit1Ir: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.UpdateIR else: return self.ctx_.PauseIR class Pauseir: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.Exit2IR else: return self class Exit2Ir: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): if tms: return self.ctx_.UpdateIR else: return self.ctx_.ShiftIR class Updateir: def __init__(self, ctx): self.ctx_ = ctx def advance(self, tms, tdi): self.ctx_.updateIR() if tms: return self.ctx_.SelectDRScan else: return self.ctx_.RunTestIdle class Jtagshiftreg: def __init__(self, LIM=0): self.reg_ = 0 self.len_ = 0 self.shr_ = 0 self.shl_ = 0 self.msk_ = 1 self.lim_ = LIM def capture(self): self.shr_ = 0 self.shl_ = 0 self.msk_ = 1 def shift(self, tdi): if tdi: self.shr_ |= self.msk_ self.shl_ += 1 self.msk_ <<= 1 def update(self): if self.lim_ > 0 and self.shl_ != self.lim_: raise runtime_error('Bad DATA? Register length mismatch') self.reg_ = self.shr_ self.len_ = self.shl_ def get_length(self): return self.len_ def get_data(self): return self.reg_ class Jtagsniffer: def __init__(self, IR_USER=962, IR_LEN=10): self.TestLogicReset = test_logic_reset(self) self.RunTestIdle = run_test_idle(self) self.SelectDRScan = select_dr_scan(self) self.CaptureDR = capture_dr(self) self.ShiftDR = shift_dr(self) self.Exit1DR = exit1_dr(self) self.PauseDR = pause_dr(self) self.Exit2DR = exit2_dr(self) self.UpdateDR = update_dr(self) self.SelectIRScan = select_ir_scan(self) self.CaptureIR = capture_ir(self) self.ShiftIR = shift_ir(self) self.Exit1IR = exit1_ir(self) self.PauseIR = pause_ir(self) self.Exit2IR = exit2_ir(self) self.UpdateIR = update_ir(self) self.IR_USR_ = IR_USER self.IR_ULN_ = IR_LEN self.state_ = self.TestLogicReset self.IR_ = ~IR_USER self.IR_SHR_ = 0 self_ir_len_ = 0 self.DR_ = 0 self.DR_SHR_ = 0 self.DR_LEN_ = 0 self.DR = jtag_shift_reg() self.IR = jtag_shift_reg(LIM=IR_LEN) def advance(self, tms, tdi): self.state_ = self.state_.advance(tms, tdi) def is_user(self): return self.IR.getData() == self.IR_USR_ def capture_ir(self): self.IR.capture() def capture_dr(self): if self.isUSER(): self.DR.capture() def shift_ir(self, tdi): self.IR.shift(tdi) def shift_dr(self, tdi): if self.isUSER(): self.DR.shift(tdi) def update_ir(self): self.IR.update() def update_dr(self): if self.isUSER(): self.DR.update() print('New DR[{}]: {:x}'.format(self.DR.getLength(), self.DR.getData())) def process_vecs(self, tms, tdi, nbits): for i in range(nbits): self.advance(not not tms & 1, not not tdi & 1) tms >>= 1 tdi >>= 1
class Node: def __init__(self, doc): self.doc = doc
class Node: def __init__(self, doc): self.doc = doc
class Images: @staticmethod def save(data,filename): result="" for i in data: result+=chr(i); saveBytes(filename,result) @staticmethod def visualize(data,height,width,offsetH=0,offsetW=0,scale=1): x=0 y=0 for elem in data: pixel=ord(elem) for s in range(scale): for ss in range(scale): set(((x+offsetW)*scale)+s,((y+offsetH)*scale)+ss,color(pixel)) x=(x+1)%width if(x==0): y=(y+1)%height
class Images: @staticmethod def save(data, filename): result = '' for i in data: result += chr(i) save_bytes(filename, result) @staticmethod def visualize(data, height, width, offsetH=0, offsetW=0, scale=1): x = 0 y = 0 for elem in data: pixel = ord(elem) for s in range(scale): for ss in range(scale): set((x + offsetW) * scale + s, (y + offsetH) * scale + ss, color(pixel)) x = (x + 1) % width if x == 0: y = (y + 1) % height
class printerClass(): def print_table(self, data, header): data = list(data) MaxLength = 0 data.insert(0, header) for i in range(0, len(data)): for x in data[i]: MaxLength = len(str(x)) if MaxLength < len(str(x)) else MaxLength print("-" * MaxLength * len(data[i]) + "----------") for i in range(0, len(data)): for x in range(0, len(data[i])): Length = MaxLength - len(str(data[i][x])) print("| " + str(data[i][x]) + (" " * Length), end=" ") print("|") if (not i): print("-" * MaxLength * len(data[i]) + "----------") print("-" * MaxLength * len(data[i]) + "----------")
class Printerclass: def print_table(self, data, header): data = list(data) max_length = 0 data.insert(0, header) for i in range(0, len(data)): for x in data[i]: max_length = len(str(x)) if MaxLength < len(str(x)) else MaxLength print('-' * MaxLength * len(data[i]) + '----------') for i in range(0, len(data)): for x in range(0, len(data[i])): length = MaxLength - len(str(data[i][x])) print('| ' + str(data[i][x]) + ' ' * Length, end=' ') print('|') if not i: print('-' * MaxLength * len(data[i]) + '----------') print('-' * MaxLength * len(data[i]) + '----------')
class SVG_map: """ This class generates the svg for the API response This class initializes itself with title, total range and progress. It calculates the necessary measurements from these info to generate the SVG. Attributes ---------- __title__ : str title of the progress-bar __title_width__ : int width of title for svg __total_width__ : int total width of svg __progress__ : int percentage of progress __progressbar_width__ : width of the progress-bar __progress_color__ : str color of the progress-bar depending on the perentage of progress __green__ if progress > 66 __yellow__ if 66 >= progress > 33 __red__ if 33 >= progress > 0 __progress_details_x__ : int position of progress details in X axis __red__ : str fill:rgb(240,113,120) __yellow__ : str fill:rgb(255,203,107) __green__ : str fill:rgb(195,232,141)" __keys__ : tuple of str keys for the svg_data_list dictionary Methods ------- generate() generates and returns the SVG """ def __init__(self, title="Prog", total=100, progress=30): """ Parameters ---------- title : str title of the progress-bar total : int total range of work progress : int progress of the work """ self.__set_default__() self.__title__ = title self.__title_width__ = len(title) * 8.5 + 10 self.__total_width__ = self.__title_width__ + 70 self.__progress__ = int(progress / total * 100) self.__progress__ = self.__progress__ if self.__progress__ <= 100 else 100 self.__progressbar_width__ = int(self.__progress__ / 100 * 70) self.__progress_color__ = self.__get_progress_color__(self.__progress__) self.__progress_details_x__ = self.__get_progress_details_x__(self.__progress__) def __set_default__(self): """ sets default attributes """ self.__green__ = "#c3e88d" self.__red__ = "#f07178" self.__yellow__ = "#ffcb6b" self.__keys__ = ( "start", "title_rect", "title", "progress_box", "progress_bar", "progress_details", "error_text", "end", ) def __get_progress_details_x__(self, progress): """ Parameters ---------- progress : int percentage of progress Returns ------- int position of progress details in X axis """ if progress <= 9: return self.__title_width__ + 25 elif progress <= 99: return self.__title_width__ + 20 return self.__title_width__ + 15 def __get_progress_color__(self, progress): """ Parameters ---------- progress: int percentage of progress Returns ------- str returns __green__, __yellow__ or __red__ """ if progress <= 33: return self.__red__ elif progress <= 66: return self.__yellow__ return self.__green__ def generate(self): """ Returns ------- str generates and returns SVG data as a str """ svg_data = { "start": '<svg xmlns="http://www.w3.org/2000/svg" width="' + str(self.__total_width__) + '" height="20">', "title_rect": '<rect rx="3" width="' + str(self.__title_width__) + '" height="20" fill="#0f111a"/>', "title": '<text x="5" y="14" fill="#c792ea" style="font:700 13px sans-serif">' + self.__title__ + "</text>", "progress_box": '<rect x="' + str(self.__title_width__ - 5) + '" rx="3" width="70" height="20" fill="#464b5d"/>', "progress_bar": '<rect x="' + str(self.__title_width__ - 5) + '" rx="3" width="' + str(self.__progressbar_width__) + '" height="20" fill="' + self.__progress_color__ + '"/>', "progress_details": '<text x="' + str(self.__progress_details_x__) + '" y="14" class="txt" ' + 'fill="#fff" style="align:center;font:13px sans-serif">' + str(self.__progress__) + "%</text>", "error_text": "Sorry, your browser does not support inline SVG.", "end": "</svg>", } svg_data_list = [svg_data[key] for key in self.__keys__] return "".join(svg_data_list)
class Svg_Map: """ This class generates the svg for the API response This class initializes itself with title, total range and progress. It calculates the necessary measurements from these info to generate the SVG. Attributes ---------- __title__ : str title of the progress-bar __title_width__ : int width of title for svg __total_width__ : int total width of svg __progress__ : int percentage of progress __progressbar_width__ : width of the progress-bar __progress_color__ : str color of the progress-bar depending on the perentage of progress __green__ if progress > 66 __yellow__ if 66 >= progress > 33 __red__ if 33 >= progress > 0 __progress_details_x__ : int position of progress details in X axis __red__ : str fill:rgb(240,113,120) __yellow__ : str fill:rgb(255,203,107) __green__ : str fill:rgb(195,232,141)" __keys__ : tuple of str keys for the svg_data_list dictionary Methods ------- generate() generates and returns the SVG """ def __init__(self, title='Prog', total=100, progress=30): """ Parameters ---------- title : str title of the progress-bar total : int total range of work progress : int progress of the work """ self.__set_default__() self.__title__ = title self.__title_width__ = len(title) * 8.5 + 10 self.__total_width__ = self.__title_width__ + 70 self.__progress__ = int(progress / total * 100) self.__progress__ = self.__progress__ if self.__progress__ <= 100 else 100 self.__progressbar_width__ = int(self.__progress__ / 100 * 70) self.__progress_color__ = self.__get_progress_color__(self.__progress__) self.__progress_details_x__ = self.__get_progress_details_x__(self.__progress__) def __set_default__(self): """ sets default attributes """ self.__green__ = '#c3e88d' self.__red__ = '#f07178' self.__yellow__ = '#ffcb6b' self.__keys__ = ('start', 'title_rect', 'title', 'progress_box', 'progress_bar', 'progress_details', 'error_text', 'end') def __get_progress_details_x__(self, progress): """ Parameters ---------- progress : int percentage of progress Returns ------- int position of progress details in X axis """ if progress <= 9: return self.__title_width__ + 25 elif progress <= 99: return self.__title_width__ + 20 return self.__title_width__ + 15 def __get_progress_color__(self, progress): """ Parameters ---------- progress: int percentage of progress Returns ------- str returns __green__, __yellow__ or __red__ """ if progress <= 33: return self.__red__ elif progress <= 66: return self.__yellow__ return self.__green__ def generate(self): """ Returns ------- str generates and returns SVG data as a str """ svg_data = {'start': '<svg xmlns="http://www.w3.org/2000/svg" width="' + str(self.__total_width__) + '" height="20">', 'title_rect': '<rect rx="3" width="' + str(self.__title_width__) + '" height="20" fill="#0f111a"/>', 'title': '<text x="5" y="14" fill="#c792ea" style="font:700 13px sans-serif">' + self.__title__ + '</text>', 'progress_box': '<rect x="' + str(self.__title_width__ - 5) + '" rx="3" width="70" height="20" fill="#464b5d"/>', 'progress_bar': '<rect x="' + str(self.__title_width__ - 5) + '" rx="3" width="' + str(self.__progressbar_width__) + '" height="20" fill="' + self.__progress_color__ + '"/>', 'progress_details': '<text x="' + str(self.__progress_details_x__) + '" y="14" class="txt" ' + 'fill="#fff" style="align:center;font:13px sans-serif">' + str(self.__progress__) + '%</text>', 'error_text': 'Sorry, your browser does not support inline SVG.', 'end': '</svg>'} svg_data_list = [svg_data[key] for key in self.__keys__] return ''.join(svg_data_list)
class Solution: """ @param matrix: an integer matrix @return: the length of the longest increasing path """ def longestIncreasingPath(self, matrix): # write your code here m = len(matrix) if m == 0: return 0 cache = {} n = len(matrix[0]) maxLen = 0 def dfs(row, col): if (row, col) in cache: return cache[(row, col)] ml = 1 for dr, dc in ((-1, 0), (1, 0), (0, -1), (0, 1)): nr = row + dr nc = col + dc if nr >= 0 and nr < m and nc >= 0 and nc < n and matrix[nr][nc] > matrix[row][col]: ml = max(ml, 1 + dfs(nr, nc)) cache[(row, col)] = ml return ml for i in range(m): for j in range(n): maxLen = max(maxLen, dfs(i, j)) return maxLen
class Solution: """ @param matrix: an integer matrix @return: the length of the longest increasing path """ def longest_increasing_path(self, matrix): m = len(matrix) if m == 0: return 0 cache = {} n = len(matrix[0]) max_len = 0 def dfs(row, col): if (row, col) in cache: return cache[row, col] ml = 1 for (dr, dc) in ((-1, 0), (1, 0), (0, -1), (0, 1)): nr = row + dr nc = col + dc if nr >= 0 and nr < m and (nc >= 0) and (nc < n) and (matrix[nr][nc] > matrix[row][col]): ml = max(ml, 1 + dfs(nr, nc)) cache[row, col] = ml return ml for i in range(m): for j in range(n): max_len = max(maxLen, dfs(i, j)) return maxLen
class Solution: def kthSmallestPrimeFraction(self, A: List[int], K: int) -> List[int]: lo, hi = 0, 1 n = len(A) while True: mid = (lo + hi) / 2 idxes = [bisect.bisect(A, num / mid) for num in A] cnt = sum(n - idx for idx in idxes) if cnt < K: lo = mid elif cnt > K: hi = mid else: return max([(A[i], A[idx]) for i, idx in enumerate(idxes) if idx < n], key=lambda x : (x[0] / x[1]))
class Solution: def kth_smallest_prime_fraction(self, A: List[int], K: int) -> List[int]: (lo, hi) = (0, 1) n = len(A) while True: mid = (lo + hi) / 2 idxes = [bisect.bisect(A, num / mid) for num in A] cnt = sum((n - idx for idx in idxes)) if cnt < K: lo = mid elif cnt > K: hi = mid else: return max([(A[i], A[idx]) for (i, idx) in enumerate(idxes) if idx < n], key=lambda x: x[0] / x[1])
# Search directories (list is searched downward until file is found) # cwd is searched first by default # Set to get resolver messages through stderr # (helpful for observing and debugging path resolution) # setting _more lists every path resolution attempt resolver_debug = False resolver_debug_more = False fhs_dirs = { "dld": [ #dld directories "./dld/", "~/dml/dld/", "/usr/local/share/dml/dld/", "/usr/share/dml/dld/", "/etc/dml/dld/" ], "dss": [ #DSS files "./dss/", "~/dml/dss/", "/usr/local/share/dml/dss/", "/usr/share/dml/dss/", "/etc/dml/dss/" ] } windows_dirs = { "dld": [], "dss": [] }
resolver_debug = False resolver_debug_more = False fhs_dirs = {'dld': ['./dld/', '~/dml/dld/', '/usr/local/share/dml/dld/', '/usr/share/dml/dld/', '/etc/dml/dld/'], 'dss': ['./dss/', '~/dml/dss/', '/usr/local/share/dml/dss/', '/usr/share/dml/dss/', '/etc/dml/dss/']} windows_dirs = {'dld': [], 'dss': []}
class Graph: def __init__(self, vertexes: int) -> None: self.vertexes = vertexes self.graph = [[float("inf") for _ in range(self.vertexes)] for _ in range(self.vertexes)] def connect(self, u: int, v: int, w: int) -> None: self.graph[u][v] = w def show(self, matrix: list) -> None: for i in range(len(matrix)): for j in range(len(matrix)): print(f"{matrix[i][j]}", end=" ") print() def floyd(self) -> None: matrix = self.graph.copy() for i in range(self.vertexes): for u in range(self.vertexes): for v in range(self.vertexes): matrix[u][v] = min([matrix[u][v], matrix[u][i] + matrix[i][v]]) self.show(matrix) graph = Graph(5) graph.connect(0, 1, -1) graph.connect(0, 2, 4) graph.connect(1, 2, 3) graph.connect(1, 3, 2) graph.connect(1, 4, 2) graph.connect(3, 2, 5) graph.connect(3, 1, 1) graph.connect(4, 3, -3) graph.floyd()
class Graph: def __init__(self, vertexes: int) -> None: self.vertexes = vertexes self.graph = [[float('inf') for _ in range(self.vertexes)] for _ in range(self.vertexes)] def connect(self, u: int, v: int, w: int) -> None: self.graph[u][v] = w def show(self, matrix: list) -> None: for i in range(len(matrix)): for j in range(len(matrix)): print(f'{matrix[i][j]}', end=' ') print() def floyd(self) -> None: matrix = self.graph.copy() for i in range(self.vertexes): for u in range(self.vertexes): for v in range(self.vertexes): matrix[u][v] = min([matrix[u][v], matrix[u][i] + matrix[i][v]]) self.show(matrix) graph = graph(5) graph.connect(0, 1, -1) graph.connect(0, 2, 4) graph.connect(1, 2, 3) graph.connect(1, 3, 2) graph.connect(1, 4, 2) graph.connect(3, 2, 5) graph.connect(3, 1, 1) graph.connect(4, 3, -3) graph.floyd()
# -*- coding: utf-8 -*- """ Created on Tue Jan 9 15:40:19 2018 @author: User """ class Airlines(object): ''' Fields: code(Str), dates(Int), price(Nat)''' allAirlines = [] allCodes = [] allDates = [] allPrices = [] registry = [] def addAir(self, name, code, dates, price): # self.allAirlines.append(name) # self.allAirlines.append(code) # self.allAirlines.append(dates) # self.allAirlines.append(price) self.registry.append(self) def __init__(self, name, code, dates, price): self.name = name self.code = code self.dates = dates self.price = price def __str__(self): return "Code: {0.code}; Dates: {0.dates}; Price: {0.price}".format(self) def chooseAir(a1, a2): if a1.price > a2.price: print( True) else: print (False) def giveInfo(self): print(self.code, self.dates, self.price) def main(): airline1 = Airlines('airline1','AC027', 245, 600) airline2 = Airlines('airline2', 'AC027', 256, 800) airline3 = Airlines('airline3', 'AC115', 256, 700) airline4 = Airlines('airline4', 'AC028', 300, 400) airline1.addAir('airline1','AC027', 245, 600) airline2.addAir('airline2', 'AC027', 256, 800) airline3.addAir('airline3', 'AC115', 256, 700) airline4.addAir('airline4', 'AC028', 300, 400) # Airlines.chooseAir(airline4, airline1) # Airlines.giveInfo(airline1) # print(Airlines.allAirlines) if __name__ == "__main__": main() def theChooseFn(L, min, max): finalList = [] for a in L: if a.dates > min and a.dates <= max: newL = [a.code, a.dates, a.price] finalList.append(newL) return finalList print(theChooseFn(Airlines.registry, 250, 300)) #def binarySearch(L, d1, d2): # lower = 0 # upper = len(L) # while lower < upper: # x = lower + (upper - lower) // 2 # val = L.dates # if d1 == val: # return x # elif target > val: # if lower == x: # this two are the actual lines # break # you're looking for # lower = x # elif target < val: # upper = x ############################ # One way of doing it, possibly not acceptable within rubric #def returnDates(L, d1, d2): # firstList = (list(filter(lambda x: (x[1] >=d1), L))) # secondList = (list(filter(lambda x: (x[1] <=d2), firstList))) # print(secondList) #returnDates(allAirlines, 266,270) ############################# #airline1 = Airlines('AC027',245,600) #airline2 = Airlines('AC027', 256, 800) #airline3 = Airlines('AC115', 256, 700) #airline4 = Airlines('AC028', 300, 400) #print(airline4.code) #print(airline4) #print(sorted(allAirlines, key = lambda x: (x[1] >266))) #this works #print(list(filter(lambda x: (x[1] >266), allAirlines))) # this works as well
""" Created on Tue Jan 9 15:40:19 2018 @author: User """ class Airlines(object): """ Fields: code(Str), dates(Int), price(Nat)""" all_airlines = [] all_codes = [] all_dates = [] all_prices = [] registry = [] def add_air(self, name, code, dates, price): self.registry.append(self) def __init__(self, name, code, dates, price): self.name = name self.code = code self.dates = dates self.price = price def __str__(self): return 'Code: {0.code}; Dates: {0.dates}; Price: {0.price}'.format(self) def choose_air(a1, a2): if a1.price > a2.price: print(True) else: print(False) def give_info(self): print(self.code, self.dates, self.price) def main(): airline1 = airlines('airline1', 'AC027', 245, 600) airline2 = airlines('airline2', 'AC027', 256, 800) airline3 = airlines('airline3', 'AC115', 256, 700) airline4 = airlines('airline4', 'AC028', 300, 400) airline1.addAir('airline1', 'AC027', 245, 600) airline2.addAir('airline2', 'AC027', 256, 800) airline3.addAir('airline3', 'AC115', 256, 700) airline4.addAir('airline4', 'AC028', 300, 400) if __name__ == '__main__': main() def the_choose_fn(L, min, max): final_list = [] for a in L: if a.dates > min and a.dates <= max: new_l = [a.code, a.dates, a.price] finalList.append(newL) return finalList print(the_choose_fn(Airlines.registry, 250, 300))
# Runtime: 40 ms, faster than 91.18% of Python3 online submissions for Find Peak Element. # Memory Usage: 13.9 MB, less than 5.88% of Python3 online submissions for Find Peak Element. class Solution: def findPeakElement(self, nums: List[int]) -> int: left, right = 0, len(nums) - 1 while left < right: mid = (left + right) // 2 if nums[mid] > nums[mid - 1] and nums[mid] > nums[(mid + 1)]: return mid if nums[mid] < nums[mid + 1]: # ascending slope left = mid + 1 else: # descending slope right = mid - 1 return left if __name__ == '__main__': nums = [1,2,3] # [5,4,3,2,1] sol = Solution() print(sol.findPeakElement(nums))
class Solution: def find_peak_element(self, nums: List[int]) -> int: (left, right) = (0, len(nums) - 1) while left < right: mid = (left + right) // 2 if nums[mid] > nums[mid - 1] and nums[mid] > nums[mid + 1]: return mid if nums[mid] < nums[mid + 1]: left = mid + 1 else: right = mid - 1 return left if __name__ == '__main__': nums = [1, 2, 3] sol = solution() print(sol.findPeakElement(nums))
__author__ = "Lukhnos Liu and The McBopomofo Authors" __copyright__ = "Copyright 2022 and onwards The McBopomofo Authors" __license__ = "MIT" HEADER = '# format org.openvanilla.mcbopomofo.sorted\n' def convert_vks_rows_to_sorted_kvs_rows(vks_rows): """Converts value-key-score rows to key-value-score rows, sorted by key.""" key_to_vss = {} for value, key, score in vks_rows: if type(score) is float: # Use the default (which is '%.6f') format score = '%f' % score if key not in key_to_vss: key_to_vss[key] = [] key_to_vss[key].append((value, score)) keys = sorted(key_to_vss.keys(), key=lambda k: k.encode('utf-8')) output = [] for key in keys: # stable sort, so it's ok for values that have the same scores as their # "natural" order in the list will be preserved; this is important for # rows from the plain BPMF list. vs_rows = sorted(key_to_vss[key], key=lambda vs: float(vs[1]), reverse=True) for vs_row in vs_rows: output.append((key, vs_row[0], vs_row[1])) return output
__author__ = 'Lukhnos Liu and The McBopomofo Authors' __copyright__ = 'Copyright 2022 and onwards The McBopomofo Authors' __license__ = 'MIT' header = '# format org.openvanilla.mcbopomofo.sorted\n' def convert_vks_rows_to_sorted_kvs_rows(vks_rows): """Converts value-key-score rows to key-value-score rows, sorted by key.""" key_to_vss = {} for (value, key, score) in vks_rows: if type(score) is float: score = '%f' % score if key not in key_to_vss: key_to_vss[key] = [] key_to_vss[key].append((value, score)) keys = sorted(key_to_vss.keys(), key=lambda k: k.encode('utf-8')) output = [] for key in keys: vs_rows = sorted(key_to_vss[key], key=lambda vs: float(vs[1]), reverse=True) for vs_row in vs_rows: output.append((key, vs_row[0], vs_row[1])) return output
# _SequenceManipulation.py __module_name__ = "_SequenceManipulation.py" __author__ = ", ".join(["Michael E. Vinyard"]) __email__ = ", ".join(["vinyard@g.harvard.edu",]) class _SequenceManipulation: """ Get the complement or reverse compliment of a DNA sequence. Parameters: ----------- sequence Returns: -------- complement_sequence reverse_sequence reverse_complement_sequence Notes: ------ (1) No dependencies required. Pure python. """ def __init__(self, sequence): self.sequence = sequence self.ComplimentDict = {"C": "G", "G": "C", "T": "A", "A": "T", "N": "N"} self.complement_sequence = "" self.reverse_complement_sequence = "" def complement(self): """ Get the complement of a DNA sequence. Parameters: ----------- sequence (passed during instantiation). Returns: -------- complement_sequence Notes: ------ (1) No dependencies required. Pure python. """ for nucleotide in self.sequence: self.complement_sequence += self.ComplimentDict[nucleotide] return self.complement_sequence def reverse(self): """ Get the reverse of a DNA sequence. Parameters: ----------- sequence (passed during instantiation). Returns: -------- reverse_sequence Notes: ------ (1) No dependencies required. Pure python. """ self.reverse_sequence = self.sequence[::-1] def reverse_complement(self): """ Get the reverse complement of a DNA sequence. Parameters: ----------- sequence (passed during instantiation). Returns: -------- reverse_complement_sequence Notes: ------ (1) No dependencies required. Pure python. """ ComplimentDict = self.ComplimentDict complement_sequence = "" for nucleotide in self.sequence: complement_sequence += ComplimentDict[nucleotide] self.complement_sequence = complement_sequence self.reverse_complement_sequence = complement_sequence[::-1] return self.reverse_complement_sequence
__module_name__ = '_SequenceManipulation.py' __author__ = ', '.join(['Michael E. Vinyard']) __email__ = ', '.join(['vinyard@g.harvard.edu']) class _Sequencemanipulation: """ Get the complement or reverse compliment of a DNA sequence. Parameters: ----------- sequence Returns: -------- complement_sequence reverse_sequence reverse_complement_sequence Notes: ------ (1) No dependencies required. Pure python. """ def __init__(self, sequence): self.sequence = sequence self.ComplimentDict = {'C': 'G', 'G': 'C', 'T': 'A', 'A': 'T', 'N': 'N'} self.complement_sequence = '' self.reverse_complement_sequence = '' def complement(self): """ Get the complement of a DNA sequence. Parameters: ----------- sequence (passed during instantiation). Returns: -------- complement_sequence Notes: ------ (1) No dependencies required. Pure python. """ for nucleotide in self.sequence: self.complement_sequence += self.ComplimentDict[nucleotide] return self.complement_sequence def reverse(self): """ Get the reverse of a DNA sequence. Parameters: ----------- sequence (passed during instantiation). Returns: -------- reverse_sequence Notes: ------ (1) No dependencies required. Pure python. """ self.reverse_sequence = self.sequence[::-1] def reverse_complement(self): """ Get the reverse complement of a DNA sequence. Parameters: ----------- sequence (passed during instantiation). Returns: -------- reverse_complement_sequence Notes: ------ (1) No dependencies required. Pure python. """ compliment_dict = self.ComplimentDict complement_sequence = '' for nucleotide in self.sequence: complement_sequence += ComplimentDict[nucleotide] self.complement_sequence = complement_sequence self.reverse_complement_sequence = complement_sequence[::-1] return self.reverse_complement_sequence
class Solution(object): def findMedianSortedArrays(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: float """ new = sorted(nums1 + nums2) if len(new)%2 == 0: return (new[len(new)/2-1]+new[len(new)/2])/2.0 else: return new[len(new)/2]
class Solution(object): def find_median_sorted_arrays(self, nums1, nums2): """ :type nums1: List[int] :type nums2: List[int] :rtype: float """ new = sorted(nums1 + nums2) if len(new) % 2 == 0: return (new[len(new) / 2 - 1] + new[len(new) / 2]) / 2.0 else: return new[len(new) / 2]
# -*- coding: utf-8 -*- """ Created on Sun Nov 14 00:56:21 2021 @author: Alexis """ perm_dict = { "newbie":[ "/bq_user help", "/bq_user refresh", "/help", "/tell", "/chant (witchery)", "/afk", "/back", "/bal (see your money)", "/balancetop (shows the richest people on the server, takes time to process)", "/compass", "/plugins", "/depth", "/ec", "/ext", "/getpos", "/helpop", "/ignore (stop receiving /msg from someone)", "/info (bind some debugger on the item you have on hand, then you right-click to get data from blocks)", """ /kits <ul align="left" style="padding-left:40px"> <li>newbie</li> <li>stamps 1n</li> <li>stamps 20n</li> <li>stamps 2n</li> </ul> """, "/list (list the online players with their rank)", "/mail (mail system in-game through commands)", "/motd (print the message of the day)", "/msg", "/home", "/warp", "/pay", "/ping (answers pong as soon as received by the server)", """ /powertool (command used to bind commands to an item) <ul align="left" style="padding-left:40px"> <li>append (stack the commands on one item)</li> <li>toggle</li> </ul> """, "/realname (see the name of a nicknamed player)", """ custom essentials sign uses: <ul align="left" style="padding-left:40px"> <li> can break custom essential signs about: <ul align="left" style="padding-left:60px"> <li>balance</li> <li>disposal</li> <li>mail</li> <li>protection</li> </ul> </li> <li> can create custom essential signs about: <ul align="left" style="padding-left:60px"> <li>balance</li> <li>disposal</li> <li>mail</li> <li>protection</li> </ul> </li> <li> can use custom essential signs about: <ul align="left" style="padding-left:60px"> <li>balance <li>buy</li> <li>disposal</li> <li>free</li> <li>info</li> <li>kit</li> <li>mail</li> <li>protection</li> <li>sell</li> <li>spawnmob</li> <li>trade</li> <li>warp</li> </ul> </li> </ul>""", "/time", "/tpa, tpaccept, tpahere", "/tptoggle (enable/disable rejecting tp/tpa targettting, staff can still /tpo to tp to them)", "/craft (open a crafting table)", "chunkloader coin T1 availiable in /jobs shops", "/gchelp (link to the gc wiki)", "/joinrace (gc command)", "/ssinvite (gc command)", "/ssuninvite (gc command)", "/mvcoord (multiverse commands)", "/mvlist", "/mvspawn", "/mvp list", "/iskamiunlocked (thaumic tinkerer)", "/rankup (to rank up in the ranks)", "/vote yes and /vote no for the server votes", "/rg info (tells info about the worldguard region you are currently in)", "/ext (short for extinguish, stop the current fire on you)"], "nomad":[ "3 homes", """ Additional custom essential sign perms: <ul align="left" style="padding-left:40px> <li>can use and create custom "trade" essentials signs</li> <li>can use custom essentials signs with "heal"</li> </ul>""", "can use /mytownweb verify (to link your account to the mtw<server>.gtnewhorizons.com, a website to see stuff about your towns)", "/mytown (allows the claiming of chunks)", "/foodlist (command to see the progression with unique food eaten)", "/vote night, /vote day and /vote rain are now availiable"], "dweller":["/vote restart (starts a vote to restart the server, however, always ask an admin to trackdown lag before rebooting the server, as it will hide the issue instead of fixing it)", "chunkloader coin T2", "5 homes"], "villager":["7 homes"], "resident":["9 homes", "veto on votes (/vote veto)", "chunkloader coin T3"], "citizen":["12 homes"], "elite":["16 homes", "chunkloader coin T4", "No more delay between a teleport command and the actual teleport"], "nolife":["can place a stargate in the world", "/back without monthly goal", "/me", "/nick (with color and format)", "is not counted in the sleep count", "can join the full server", "can use color and format in chat", "chunkloader coin T5"], "helper":[], "moderator":[], "admin":[] } a=""" <h2 class="title">Ranks and Commands</h2><br> <ol align="center" style="-webkit-padding-end:40px"> """ def rank(name, perms): b = f""" <h2><li> {name}</h2><br> """ c=""" <ul align="left" style="padding-left:20px"> """+" \n".join([f"\t\t\t\t\t<li>{x}</li>" for x in perms])+""" </ul> </li><br> """ return b+c d=""" </ol> """ print(a+"\n".join([rank(k,v) for k,v in perm_dict.items()])+d)
""" Created on Sun Nov 14 00:56:21 2021 @author: Alexis """ perm_dict = {'newbie': ['/bq_user help', '/bq_user refresh', '/help', '/tell', '/chant (witchery)', '/afk', '/back', '/bal (see your money)', '/balancetop (shows the richest people on the server, takes time to process)', '/compass', '/plugins', '/depth', '/ec', '/ext', '/getpos', '/helpop', '/ignore (stop receiving /msg from someone)', '/info (bind some debugger on the item you have on hand, then you right-click to get data from blocks)', '\n /kits\n <ul align="left" style="padding-left:40px">\n <li>newbie</li>\n <li>stamps 1n</li>\n <li>stamps 20n</li>\n <li>stamps 2n</li>\n </ul>\n ', '/list (list the online players with their rank)', '/mail (mail system in-game through commands)', '/motd (print the message of the day)', '/msg', '/home', '/warp', '/pay', '/ping (answers pong as soon as received by the server)', '\n /powertool (command used to bind commands to an item)\n <ul align="left" style="padding-left:40px">\n <li>append (stack the commands on one item)</li>\n <li>toggle</li>\n </ul>\n ', '/realname (see the name of a nicknamed player)', '\n custom essentials sign uses:\n <ul align="left" style="padding-left:40px">\n <li>\n can break custom essential signs about:\n <ul align="left" style="padding-left:60px">\n <li>balance</li>\n <li>disposal</li>\n <li>mail</li>\n <li>protection</li>\n </ul>\n </li>\n <li>\n can create custom essential signs about:\n <ul align="left" style="padding-left:60px">\n <li>balance</li>\n <li>disposal</li>\n <li>mail</li>\n <li>protection</li>\n </ul>\n </li>\n <li>\n can use custom essential signs about:\n <ul align="left" style="padding-left:60px">\n <li>balance\n <li>buy</li>\n <li>disposal</li>\n <li>free</li>\n <li>info</li>\n <li>kit</li>\n <li>mail</li>\n <li>protection</li>\n <li>sell</li>\n <li>spawnmob</li>\n <li>trade</li>\n <li>warp</li>\n </ul>\n </li>\n </ul>', '/time', '/tpa, tpaccept, tpahere', '/tptoggle (enable/disable rejecting tp/tpa targettting, staff can still /tpo to tp to them)', '/craft (open a crafting table)', 'chunkloader coin T1 availiable in /jobs shops', '/gchelp (link to the gc wiki)', '/joinrace (gc command)', '/ssinvite (gc command)', '/ssuninvite (gc command)', '/mvcoord (multiverse commands)', '/mvlist', '/mvspawn', '/mvp list', '/iskamiunlocked (thaumic tinkerer)', '/rankup (to rank up in the ranks)', '/vote yes and /vote no for the server votes', '/rg info (tells info about the worldguard region you are currently in)', '/ext (short for extinguish, stop the current fire on you)'], 'nomad': ['3 homes', '\n Additional custom essential sign perms:\n <ul align="left" style="padding-left:40px>\n <li>can use and create custom "trade" essentials signs</li>\n <li>can use custom essentials signs with "heal"</li>\n </ul>', 'can use /mytownweb verify (to link your account to the mtw<server>.gtnewhorizons.com, a website to see stuff about your towns)', '/mytown (allows the claiming of chunks)', '/foodlist (command to see the progression with unique food eaten)', '/vote night, /vote day and /vote rain are now availiable'], 'dweller': ['/vote restart (starts a vote to restart the server, however, always ask an admin to trackdown lag before rebooting the server, as it will hide the issue instead of fixing it)', 'chunkloader coin T2', '5 homes'], 'villager': ['7 homes'], 'resident': ['9 homes', 'veto on votes (/vote veto)', 'chunkloader coin T3'], 'citizen': ['12 homes'], 'elite': ['16 homes', 'chunkloader coin T4', 'No more delay between a teleport command and the actual teleport'], 'nolife': ['can place a stargate in the world', '/back without monthly goal', '/me', '/nick (with color and format)', 'is not counted in the sleep count', 'can join the full server', 'can use color and format in chat', 'chunkloader coin T5'], 'helper': [], 'moderator': [], 'admin': []} a = '\n\t\t\t<h2 class="title">Ranks and Commands</h2><br>\n\t\t\t<ol align="center" style="-webkit-padding-end:40px">\n' def rank(name, perms): b = f'\n\t\t\t\t<h2><li>\n {name}</h2><br>\n ' c = '\n <ul align="left" style="padding-left:20px">\n ' + ' \n'.join([f'\t\t\t\t\t<li>{x}</li>' for x in perms]) + '\t\t\n </ul>\n\t\t\t\t</li><br>\n ' return b + c d = '\n\t\t\t</ol>\n ' print(a + '\n'.join([rank(k, v) for (k, v) in perm_dict.items()]) + d)
rows, cols = [int(x) for x in input().split()] matrix = [[x for x in input().split()] for _ in range(rows)] squares_found = 0 for row in range(rows - 1): for col in range(cols - 1): if matrix[row][col] == \ matrix[row][col + 1] == \ matrix[row + 1][col] == \ matrix[row + 1][col + 1]: squares_found += 1 print(squares_found)
(rows, cols) = [int(x) for x in input().split()] matrix = [[x for x in input().split()] for _ in range(rows)] squares_found = 0 for row in range(rows - 1): for col in range(cols - 1): if matrix[row][col] == matrix[row][col + 1] == matrix[row + 1][col] == matrix[row + 1][col + 1]: squares_found += 1 print(squares_found)
str_year = input("what is your birth year:") year = int(str_year) age = 2020-year-1 print(f"hello, your age is {age}")
str_year = input('what is your birth year:') year = int(str_year) age = 2020 - year - 1 print(f'hello, your age is {age}')
""" Demonstrates a try...except statement with else and finally clauses """ #Prompts the user to enter a number. line = input("Enter a number: ") try: #Converts the input to an int. number = int(line) except ValueError: #This statement will execute if the input could not be #converted to an int (raised a ValueError) print("Invalid value") else: #Prints the number the user entered. #This statement will only execute if all statements in the #try block executed without raising an exception. print(number) finally: #Prints goodbye to show the program has ended. #This statement will only execute REGARDLESS of if all statements #in the try block executed without raising an exception or not. print("Goodbye!")
""" Demonstrates a try...except statement with else and finally clauses """ line = input('Enter a number: ') try: number = int(line) except ValueError: print('Invalid value') else: print(number) finally: print('Goodbye!')
# -*- coding: utf-8 -*- description = 'Detector data acquisition setup' group = 'lowlevel' display_order = 25 includes = ['counter'] excludes = ['virtual_daq'] sysconfig = dict( datasinks = ['kwsformat', 'yamlformat', 'binaryformat', 'livesink'], ) tango_base = 'tango://phys.kws2.frm2:10000/kws2/' devices = dict( kwsformat = device('nicos_mlz.kws2.devices.kwsfileformat.KWSFileSink', transpose = True, detectors = ['det'], ), yamlformat = device('nicos_mlz.kws2.devices.yamlformat.YAMLFileSink', detectors = ['det'], ), binaryformat = device('nicos_mlz.kws1.devices.yamlformat.BinaryArraySink', detectors = ['det'], ), livesink = device('nicos.devices.datasinks.LiveViewSink'), det_mode = device('nicos.devices.generic.ReadonlyParamDevice', description = 'Current detector mode', device = 'det_img', parameter = 'mode', ), det_img_ge = device('nicos_mlz.kws1.devices.daq.GEImageChannel', description = 'Image for the large KWS detector', tangodevice = tango_base + 'ge/det', timer = 'timer', highvoltage = 'gedet_HV', fmtstr = '%d (%.1f cps)', rebin8x8 = True, ), det_img_jum = device('nicos_mlz.kws1.devices.daq.KWSImageChannel', description = 'Image for the small KWS detector', tangodevice = tango_base + 'jumiom/det', timer = 'timer', fmtstr = '%d (%.1f cps)', ), det_roi = device('nicos_mlz.kws1.devices.daq.ROIRateChannel', description = 'Counts inside beamstop area', bs_x = 'beamstop_x', bs_y = 'beamstop_y', timer = 'timer', xscale = (0.125, 72), yscale = (0.125, 62), size = (10, 10), ), det = device('nicos_mlz.kws1.devices.daq.KWSDetector', description = 'KWS detector', timers = ['timer'], monitors = ['mon1', 'mon2', 'selctr'], images = ['det_img'], counters = ['det_roi'], others = [], postprocess = [('det_roi', 'det_img')], shutter = 'shutter', liveinterval = 2.0, ), det_img = device('nicos.devices.generic.DeviceAlias', alias = 'det_img_ge', devclass = 'nicos_mlz.kws1.devices.daq.KWSImageChannel', ), ) extended = dict( poller_cache_reader = ['shutter', 'gedet_HV', 'beamstop_x', 'beamstop_y'], representative = 'det_img', )
description = 'Detector data acquisition setup' group = 'lowlevel' display_order = 25 includes = ['counter'] excludes = ['virtual_daq'] sysconfig = dict(datasinks=['kwsformat', 'yamlformat', 'binaryformat', 'livesink']) tango_base = 'tango://phys.kws2.frm2:10000/kws2/' devices = dict(kwsformat=device('nicos_mlz.kws2.devices.kwsfileformat.KWSFileSink', transpose=True, detectors=['det']), yamlformat=device('nicos_mlz.kws2.devices.yamlformat.YAMLFileSink', detectors=['det']), binaryformat=device('nicos_mlz.kws1.devices.yamlformat.BinaryArraySink', detectors=['det']), livesink=device('nicos.devices.datasinks.LiveViewSink'), det_mode=device('nicos.devices.generic.ReadonlyParamDevice', description='Current detector mode', device='det_img', parameter='mode'), det_img_ge=device('nicos_mlz.kws1.devices.daq.GEImageChannel', description='Image for the large KWS detector', tangodevice=tango_base + 'ge/det', timer='timer', highvoltage='gedet_HV', fmtstr='%d (%.1f cps)', rebin8x8=True), det_img_jum=device('nicos_mlz.kws1.devices.daq.KWSImageChannel', description='Image for the small KWS detector', tangodevice=tango_base + 'jumiom/det', timer='timer', fmtstr='%d (%.1f cps)'), det_roi=device('nicos_mlz.kws1.devices.daq.ROIRateChannel', description='Counts inside beamstop area', bs_x='beamstop_x', bs_y='beamstop_y', timer='timer', xscale=(0.125, 72), yscale=(0.125, 62), size=(10, 10)), det=device('nicos_mlz.kws1.devices.daq.KWSDetector', description='KWS detector', timers=['timer'], monitors=['mon1', 'mon2', 'selctr'], images=['det_img'], counters=['det_roi'], others=[], postprocess=[('det_roi', 'det_img')], shutter='shutter', liveinterval=2.0), det_img=device('nicos.devices.generic.DeviceAlias', alias='det_img_ge', devclass='nicos_mlz.kws1.devices.daq.KWSImageChannel')) extended = dict(poller_cache_reader=['shutter', 'gedet_HV', 'beamstop_x', 'beamstop_y'], representative='det_img')
#!/usr/bin/env python3 with open('27985_B.txt') as f: nums = list([int(x) for x in f.readlines()][1:]) r2, r7, r14 = 0, 0, 0 for num in nums: if num % 14 == 0: r14 = max(r14, num) if num % 2 == 0: r2 = max(r2, num) if num % 7 == 0: r7 = max(r7, num) print(max(r2 * r7, r14 * max(nums)))
with open('27985_B.txt') as f: nums = list([int(x) for x in f.readlines()][1:]) (r2, r7, r14) = (0, 0, 0) for num in nums: if num % 14 == 0: r14 = max(r14, num) if num % 2 == 0: r2 = max(r2, num) if num % 7 == 0: r7 = max(r7, num) print(max(r2 * r7, r14 * max(nums)))
# -*- coding: utf-8 -*- """Registry keeping track of all registered pluggable components""" # Dictionary storying all cache policy implementations keyed by ID CACHE_POLICY = {} # Dictionary storying all repo storage policy implementations keyed by ID REPO_POLICY = {} # Dictionary storying all strategy implementations keyed by ID STRATEGY = {} # Dictionary storying all network topologies keyed by ID TOPOLOGY_FACTORY = {} # Dictionary storying all cache placement functions keyed by ID CACHE_PLACEMENT = {} # Dictionary storying all computation placement functions keyed by ID COMPUTATION_PLACEMENT = {} # Dictionary storying all content placement functions keyed by ID CONTENT_PLACEMENT = {} # Dictionary storying all workload generators keyed by ID WORKLOAD = {} # Dictionary storying all data collector classes keyed by ID DATA_COLLECTOR = {} # Dictionary storying all results reader functions keyed by ID RESULTS_READER = {} # Dictionary storying all results writer functions keyed by ID RESULTS_WRITER = {} # Dictionary storying all continuous logging parameters keyed by ID LOGGING_PARAMETERS = {} def register_decorator(register): """Returns a decorator that register a class or function to a specified register Parameters ---------- register : dict The register to which the class or function is register Returns ------- decorator : func The decorator """ def decorator(name): """Decorator that register a class or a function to a register. Parameters ---------- name : str The name assigned to the class or function to store in the register """ def _decorator(function): register[name] = function function.name = name return function return _decorator return decorator register_cache_policy = register_decorator(CACHE_POLICY) register_repo_policy = register_decorator(REPO_POLICY) register_strategy = register_decorator(STRATEGY) register_topology_factory = register_decorator(TOPOLOGY_FACTORY) register_cache_placement = register_decorator(CACHE_PLACEMENT) register_computation_placement = register_decorator(COMPUTATION_PLACEMENT) register_content_placement = register_decorator(CONTENT_PLACEMENT) register_workload = register_decorator(WORKLOAD) register_data_collector = register_decorator(DATA_COLLECTOR) register_results_reader = register_decorator(RESULTS_READER) register_results_writer = register_decorator(RESULTS_WRITER) # register_log_writer = register_decorator(LOGGING_PARAMETERS)
"""Registry keeping track of all registered pluggable components""" cache_policy = {} repo_policy = {} strategy = {} topology_factory = {} cache_placement = {} computation_placement = {} content_placement = {} workload = {} data_collector = {} results_reader = {} results_writer = {} logging_parameters = {} def register_decorator(register): """Returns a decorator that register a class or function to a specified register Parameters ---------- register : dict The register to which the class or function is register Returns ------- decorator : func The decorator """ def decorator(name): """Decorator that register a class or a function to a register. Parameters ---------- name : str The name assigned to the class or function to store in the register """ def _decorator(function): register[name] = function function.name = name return function return _decorator return decorator register_cache_policy = register_decorator(CACHE_POLICY) register_repo_policy = register_decorator(REPO_POLICY) register_strategy = register_decorator(STRATEGY) register_topology_factory = register_decorator(TOPOLOGY_FACTORY) register_cache_placement = register_decorator(CACHE_PLACEMENT) register_computation_placement = register_decorator(COMPUTATION_PLACEMENT) register_content_placement = register_decorator(CONTENT_PLACEMENT) register_workload = register_decorator(WORKLOAD) register_data_collector = register_decorator(DATA_COLLECTOR) register_results_reader = register_decorator(RESULTS_READER) register_results_writer = register_decorator(RESULTS_WRITER)
# Tai Sakuma <tai.sakuma@gmail.com> ##__________________________________________________________________|| def create_files_start_length_list( files, func_get_nevents_in_file=None, max_events=-1, max_events_per_run=-1, max_files=-1, max_files_per_run=1): files = _apply_max_files(files, max_files) if max_events == 0 or max_events_per_run == 0: return [ ] if max_events < 0 and max_events_per_run < 0: return _fast_path(files, max_files_per_run) return _full_path(files, func_get_nevents_in_file, max_events, max_events_per_run, max_files_per_run) ##__________________________________________________________________|| def _apply_max_files(files, max_files): if max_files < 0: return files return files[:min(max_files, len(files))] def _fast_path(files, max_files_per_run): if not files: return [ ] if max_files_per_run < 0: return [(files, 0, -1)] if max_files_per_run == 0: return [ ] return [(files[i:(i + max_files_per_run)], 0, -1) for i in range(0, len(files), max_files_per_run)] def _full_path(files, func_get_nevents_in_file, max_events, max_events_per_run, max_files_per_run): if max_events == 0 or max_events_per_run == 0 or max_files_per_run == 0: return [ ] # this can be slow file_nevents_list = _file_nevents_list( files, func_get_nevents_in_file=func_get_nevents_in_file, max_events=max_events ) file_nevents_list = _apply_max_events_total( file_nevents_list, max_events ) files_start_length_list = _files_start_length_list( file_nevents_list, max_events_per_run, max_files_per_run ) return files_start_length_list def _file_nevents_list(files, func_get_nevents_in_file, max_events): total_events = 0 ret = [ ] for f in files: if 0 <= max_events <= total_events: break # this can be slow n = func_get_nevents_in_file(f) if n is None: continue if n == 0: continue ret.append((f, n)) total_events += n return ret def _apply_max_events_total(file_nevents_list, max_events_total): if max_events_total < 0: return file_nevents_list ret = [ ] for file, nevents in file_nevents_list: if max_events_total == 0: break nevents = min(max_events_total, nevents) ret.append((file, nevents)) max_events_total -= nevents return ret ##__________________________________________________________________|| def _files_start_length_list(file_nevents_list, max_events_per_run, max_files_per_run): if not file_nevents_list: return [ ] if max_events_per_run == 0 or max_files_per_run == 0: return [ ] total_nevents = sum([n for f, n, in file_nevents_list]) if total_nevents == 0: return [ ] if max_events_per_run < 0: max_events_per_run = total_nevents total_nfiles = len(set([f for f, n, in file_nevents_list])) if max_files_per_run < 0: max_files_per_run = total_nfiles ## files = [ ] nevents = [ ] start = [ ] length = [ ] i = 0 for file_, nev in file_nevents_list: if nev == 0: continue if i == len(files): # create a new run files.append([ ]) nevents.append(0) start.append(0) length.append(0) files[i].append(file_) nevents[i] += nev if max_events_per_run >= nevents[i]: length[i] = nevents[i] else: dlength = max_events_per_run - length[i] length[i] = max_events_per_run i += 1 files.append([file_]) nevents.append(nevents[i-1] - length[i-1]) start.append(dlength) while max_events_per_run < nevents[i]: length.append(max_events_per_run) i += 1 files.append([file_]) nevents.append(nevents[i-1] - length[i-1]) start.append(start[i-1] + length[i-1]) length.append(nevents[i]) if max_events_per_run == nevents[i]: i += 1 # to next run continue if max_files_per_run == len(files[i]): i += 1 # to next run return list(zip(files, start, length)) ##__________________________________________________________________||
def create_files_start_length_list(files, func_get_nevents_in_file=None, max_events=-1, max_events_per_run=-1, max_files=-1, max_files_per_run=1): files = _apply_max_files(files, max_files) if max_events == 0 or max_events_per_run == 0: return [] if max_events < 0 and max_events_per_run < 0: return _fast_path(files, max_files_per_run) return _full_path(files, func_get_nevents_in_file, max_events, max_events_per_run, max_files_per_run) def _apply_max_files(files, max_files): if max_files < 0: return files return files[:min(max_files, len(files))] def _fast_path(files, max_files_per_run): if not files: return [] if max_files_per_run < 0: return [(files, 0, -1)] if max_files_per_run == 0: return [] return [(files[i:i + max_files_per_run], 0, -1) for i in range(0, len(files), max_files_per_run)] def _full_path(files, func_get_nevents_in_file, max_events, max_events_per_run, max_files_per_run): if max_events == 0 or max_events_per_run == 0 or max_files_per_run == 0: return [] file_nevents_list = _file_nevents_list(files, func_get_nevents_in_file=func_get_nevents_in_file, max_events=max_events) file_nevents_list = _apply_max_events_total(file_nevents_list, max_events) files_start_length_list = _files_start_length_list(file_nevents_list, max_events_per_run, max_files_per_run) return files_start_length_list def _file_nevents_list(files, func_get_nevents_in_file, max_events): total_events = 0 ret = [] for f in files: if 0 <= max_events <= total_events: break n = func_get_nevents_in_file(f) if n is None: continue if n == 0: continue ret.append((f, n)) total_events += n return ret def _apply_max_events_total(file_nevents_list, max_events_total): if max_events_total < 0: return file_nevents_list ret = [] for (file, nevents) in file_nevents_list: if max_events_total == 0: break nevents = min(max_events_total, nevents) ret.append((file, nevents)) max_events_total -= nevents return ret def _files_start_length_list(file_nevents_list, max_events_per_run, max_files_per_run): if not file_nevents_list: return [] if max_events_per_run == 0 or max_files_per_run == 0: return [] total_nevents = sum([n for (f, n) in file_nevents_list]) if total_nevents == 0: return [] if max_events_per_run < 0: max_events_per_run = total_nevents total_nfiles = len(set([f for (f, n) in file_nevents_list])) if max_files_per_run < 0: max_files_per_run = total_nfiles files = [] nevents = [] start = [] length = [] i = 0 for (file_, nev) in file_nevents_list: if nev == 0: continue if i == len(files): files.append([]) nevents.append(0) start.append(0) length.append(0) files[i].append(file_) nevents[i] += nev if max_events_per_run >= nevents[i]: length[i] = nevents[i] else: dlength = max_events_per_run - length[i] length[i] = max_events_per_run i += 1 files.append([file_]) nevents.append(nevents[i - 1] - length[i - 1]) start.append(dlength) while max_events_per_run < nevents[i]: length.append(max_events_per_run) i += 1 files.append([file_]) nevents.append(nevents[i - 1] - length[i - 1]) start.append(start[i - 1] + length[i - 1]) length.append(nevents[i]) if max_events_per_run == nevents[i]: i += 1 continue if max_files_per_run == len(files[i]): i += 1 return list(zip(files, start, length))
# time complexity O(n^2) def find3Numbers(A, arr_size, sum): A.sort() # Now fix the first element # one by one and find the # other two elements for i in range(0, arr_size-2): # To find the other two elements, # start two index variables from # two corners of the array and # move them toward each other # index of the first element # in the remaining elements l = i + 1 r = arr_size-1 while (l < r): if( A[i] + A[l] + A[r] == sum): print("Triplet is", A[i], ', ', A[l], ', ', A[r]); return True elif (A[i] + A[l] + A[r] < sum): l += 1 else: # A[i] + A[l] + A[r] > sum r -= 1 # If we reach here, then # no triplet was found return False A = [1, 4, 45, 6, 10, 8] sum = 22 arr_size = len(A) find3Numbers(A, arr_size, sum)
def find3_numbers(A, arr_size, sum): A.sort() for i in range(0, arr_size - 2): l = i + 1 r = arr_size - 1 while l < r: if A[i] + A[l] + A[r] == sum: print('Triplet is', A[i], ', ', A[l], ', ', A[r]) return True elif A[i] + A[l] + A[r] < sum: l += 1 else: r -= 1 return False a = [1, 4, 45, 6, 10, 8] sum = 22 arr_size = len(A) find3_numbers(A, arr_size, sum)
r = input() s = input() a = r.split(",") b = s.split(",") count = 0 k = 0 for i in range(len(b)): count = count + int(b[k]) k += 1 for j in a: n = j.split(":") if count == int(n[0]): count = int(n[1]) if count>= 100: print("Yes", end="") else: print("No", end="")
r = input() s = input() a = r.split(',') b = s.split(',') count = 0 k = 0 for i in range(len(b)): count = count + int(b[k]) k += 1 for j in a: n = j.split(':') if count == int(n[0]): count = int(n[1]) if count >= 100: print('Yes', end='') else: print('No', end='')
# Get a list of space-separated input ints. Multiply a new input nums = input().split() multiplier = int(input()) result = [int(item) * multiplier for item in nums] for item in result: print(item, end = ' ') print()
nums = input().split() multiplier = int(input()) result = [int(item) * multiplier for item in nums] for item in result: print(item, end=' ') print()
class Solution: def validTicTacToe(self, board: List[str]) -> bool: def win( c ): col = [0]*3 row = [0]*3 right = 0 left = 0 total = 0 for i in range(3): for j in range(3): if board[i][j] == c: total += 1 col[j] += 1 row[i] += 1 if i == j: right += 1 if (i+j) == 2: left += 1 return total, (3 in col or 3 in row or left == 3 or right == 3) Ocount, Owin = win("O") Xcount, Xwin = win("X") # both win if Owin and Xwin: return False # not win if not Owin and not Xwin: return (Ocount == Xcount) or (Ocount == Xcount-1) # X win if Xwin: return Xcount == Ocount+1 # O win return Xcount == Ocount
class Solution: def valid_tic_tac_toe(self, board: List[str]) -> bool: def win(c): col = [0] * 3 row = [0] * 3 right = 0 left = 0 total = 0 for i in range(3): for j in range(3): if board[i][j] == c: total += 1 col[j] += 1 row[i] += 1 if i == j: right += 1 if i + j == 2: left += 1 return (total, 3 in col or 3 in row or left == 3 or (right == 3)) (ocount, owin) = win('O') (xcount, xwin) = win('X') if Owin and Xwin: return False if not Owin and (not Xwin): return Ocount == Xcount or Ocount == Xcount - 1 if Xwin: return Xcount == Ocount + 1 return Xcount == Ocount
def square(number): answer = number * number return answer # note: this is not an eror, return an answer # main code starts here : useNumber = input("Enter a number: ") useNumber = float(useNumber) # convert to float numberSquarred = square(useNumber) # call the function and save the result print("The sequare of your number is", numberSquarred) # numberSquarred = None
def square(number): answer = number * number return answer use_number = input('Enter a number: ') use_number = float(useNumber) number_squarred = square(useNumber) print('The sequare of your number is', numberSquarred)
class Constants: def __init__(self): self.D20 = 20 self.D4 = 4 self.D6 = 6 self.D8 = 8 self.D10 = 10 self.D12 = 12 self.D100 = 100 self.CRITICALROLL = 20 self.CRITICAL = 100 self.FAILROLL = 1 self.FAIL = -100 self.ITEMATTACK = -200 self.HIT = 150 self.MISS = -150 self.STRENGTH = "Strength" self.DEXTERITY = "Dexterity" self.CONSTITUTION = "Constitution" self.INTELLIGENCE = "Intelligence" self.WISDOM = "Wisdom" self.CHARISMA = "Charisma" self.HEALTH = "Health" self.ARMOR = "Armor" self.ICE = "Ice" self.FIRE = "Fire" self.THUNDER = "Thunder" self.BLUDGEONING = "Bludgeoning" self.SLASHING = "Slashing" self.PIERCING = "Piercing" self.NONE = "None" self.WALL = "Wall" self.LOCKED = "Locked" self.NORTH = "NORTH" self.EAST = "EAST" self.SOUTH = "SOUTH" self.WEST = "WEST" self.ORIGIN = "ORIGIN" self.ROOMRATE = 100
class Constants: def __init__(self): self.D20 = 20 self.D4 = 4 self.D6 = 6 self.D8 = 8 self.D10 = 10 self.D12 = 12 self.D100 = 100 self.CRITICALROLL = 20 self.CRITICAL = 100 self.FAILROLL = 1 self.FAIL = -100 self.ITEMATTACK = -200 self.HIT = 150 self.MISS = -150 self.STRENGTH = 'Strength' self.DEXTERITY = 'Dexterity' self.CONSTITUTION = 'Constitution' self.INTELLIGENCE = 'Intelligence' self.WISDOM = 'Wisdom' self.CHARISMA = 'Charisma' self.HEALTH = 'Health' self.ARMOR = 'Armor' self.ICE = 'Ice' self.FIRE = 'Fire' self.THUNDER = 'Thunder' self.BLUDGEONING = 'Bludgeoning' self.SLASHING = 'Slashing' self.PIERCING = 'Piercing' self.NONE = 'None' self.WALL = 'Wall' self.LOCKED = 'Locked' self.NORTH = 'NORTH' self.EAST = 'EAST' self.SOUTH = 'SOUTH' self.WEST = 'WEST' self.ORIGIN = 'ORIGIN' self.ROOMRATE = 100
'''This is a custom layout for the WordClock widget. Custom layouts can be created for the widget by creating a new file in the "qtile_extras.resources.wordclock" folder. Each layout must have the following variables: LAYOUT: The grid layout. Must be a single string. MAP: The mapping required for various times (see notes below) COLS: The number of columns required for the grid layout ROWS: The number of rows required for the grid layout ''' # Layout is a single string variable which will be looped over by the parser. LAYOUT = ("ITQISHCUBMWLRPI" "AOQUARTERFDHALF" "TWENTYSFIVEGTEN" "TOXPASTNYTWELVE" "ONESIXTHREENINE" "SEVENTWOXELEVEN" "EIGHTENFOURFIVE" "QTIO'CLOCKHAMPM") # Map instructions: # The clock works by rounding the time to the nearest 5 minutes. # This means that you need to have settngs for each five minute interval "m00" # "m00", "m05". # The clock also works on a 12 hour basis rather than 24 hour: # "h00", "h01" etc. # There are three optional parameters: # "all": Anything that is always shown regardless of the time e.g. "It is..." # "am": Wording/symbol to indicate morning. # "pm": Wording/symbol to indicate afternoon/evening MAP = { "all": [0, 1, 3, 4], "m00": [108, 109, 110, 111, 112, 113, 114], "m05": [37, 38, 39, 40, 48, 49, 50, 51], "m10": [42, 43, 44, 48, 49, 50, 51], "m15": [15, 17, 18, 19, 20, 21, 22, 23, 48, 49, 50, 51], "m20": [30, 31, 32, 33, 34, 35, 48, 49, 50, 51], "m25": [30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 48, 49, 50, 51], "m30": [26, 27, 28, 29, 48, 49, 50, 51], "m35": [30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 45, 46], "m40": [30, 31, 32, 33, 34, 35, 45, 46], "m45": [15, 17, 18, 19, 20, 21, 22, 23, 45, 46], "m50": [42, 43, 44, 45, 46], "m55": [37, 38, 39, 40, 45, 46], "h01": [60, 61, 62], "h02": [80, 81, 82], "h03": [66, 67, 68, 69, 70], "h04": [97, 98, 99, 100], "h05": [101, 102, 103, 104], "h06": [63, 64, 65], "h07": [75, 76, 77, 78, 79], "h08": [90, 91, 92, 93, 94], "h09": [71, 72, 73, 74], "h10": [94, 95, 96], "h11": [84, 85, 86, 87, 88, 89], "h12": [54, 55, 56, 57, 58, 59], "am": [116, 117], "pm": [118, 119] } # Number of rows columns in grid layout ROWS = 8 COLS = 15 # Is our language one where we need to increment the hour after 30 mins # e.g. 9:40 is "Twenty to ten" HOUR_INCREMENT = True HOUR_INCREMENT_TIME = 30
"""This is a custom layout for the WordClock widget. Custom layouts can be created for the widget by creating a new file in the "qtile_extras.resources.wordclock" folder. Each layout must have the following variables: LAYOUT: The grid layout. Must be a single string. MAP: The mapping required for various times (see notes below) COLS: The number of columns required for the grid layout ROWS: The number of rows required for the grid layout """ layout = "ITQISHCUBMWLRPIAOQUARTERFDHALFTWENTYSFIVEGTENTOXPASTNYTWELVEONESIXTHREENINESEVENTWOXELEVENEIGHTENFOURFIVEQTIO'CLOCKHAMPM" map = {'all': [0, 1, 3, 4], 'm00': [108, 109, 110, 111, 112, 113, 114], 'm05': [37, 38, 39, 40, 48, 49, 50, 51], 'm10': [42, 43, 44, 48, 49, 50, 51], 'm15': [15, 17, 18, 19, 20, 21, 22, 23, 48, 49, 50, 51], 'm20': [30, 31, 32, 33, 34, 35, 48, 49, 50, 51], 'm25': [30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 48, 49, 50, 51], 'm30': [26, 27, 28, 29, 48, 49, 50, 51], 'm35': [30, 31, 32, 33, 34, 35, 37, 38, 39, 40, 45, 46], 'm40': [30, 31, 32, 33, 34, 35, 45, 46], 'm45': [15, 17, 18, 19, 20, 21, 22, 23, 45, 46], 'm50': [42, 43, 44, 45, 46], 'm55': [37, 38, 39, 40, 45, 46], 'h01': [60, 61, 62], 'h02': [80, 81, 82], 'h03': [66, 67, 68, 69, 70], 'h04': [97, 98, 99, 100], 'h05': [101, 102, 103, 104], 'h06': [63, 64, 65], 'h07': [75, 76, 77, 78, 79], 'h08': [90, 91, 92, 93, 94], 'h09': [71, 72, 73, 74], 'h10': [94, 95, 96], 'h11': [84, 85, 86, 87, 88, 89], 'h12': [54, 55, 56, 57, 58, 59], 'am': [116, 117], 'pm': [118, 119]} rows = 8 cols = 15 hour_increment = True hour_increment_time = 30
dummy_dict = {"Yes": 1, "No": 0} internet_dict = {"No": 0, "No internet service": 1, "Yes": 2} train_yesno_cols = [ "Partner", "Dependents", "PhoneService", "PaperlessBilling", "Churn", ] inference_yesno_cols = ["Partner", "Dependents", "PhoneService", "PaperlessBilling"] internet_cols = [ "OnlineSecurity", "OnlineBackup", "DeviceProtection", "TechSupport", "StreamingTV", "StreamingMovies", ] # preprocessing categorical features def data_transformations(data, dummy_dict, internet_dict, yesno_cols, internet_cols): data[yesno_cols] = data[yesno_cols].apply(lambda x: x.map(dummy_dict)) data[internet_cols] = data[internet_cols].apply(lambda x: x.map(internet_dict)) # manual map data["gender"] = data["gender"].map({"Female": 0, "Male": 1}) data["MultipleLines"] = data["MultipleLines"].map( {"No": 0, "No phone service": 1, "Yes": 2} ) data["InternetService"] = data["InternetService"].map( {"DSL": 0, "Fiber optic": 1, "No": 2} ) data["Contract"] = data["Contract"].map( {"Month-to-month": 0, "One year": 1, "Two year": 2} ) data["PaymentMethod"] = data["PaymentMethod"].map( { "Bank transfer (automatic)": 0, "Credit card (automatic)": 1, "Electronic check": 2, "Mailed check": 3, } ) return data
dummy_dict = {'Yes': 1, 'No': 0} internet_dict = {'No': 0, 'No internet service': 1, 'Yes': 2} train_yesno_cols = ['Partner', 'Dependents', 'PhoneService', 'PaperlessBilling', 'Churn'] inference_yesno_cols = ['Partner', 'Dependents', 'PhoneService', 'PaperlessBilling'] internet_cols = ['OnlineSecurity', 'OnlineBackup', 'DeviceProtection', 'TechSupport', 'StreamingTV', 'StreamingMovies'] def data_transformations(data, dummy_dict, internet_dict, yesno_cols, internet_cols): data[yesno_cols] = data[yesno_cols].apply(lambda x: x.map(dummy_dict)) data[internet_cols] = data[internet_cols].apply(lambda x: x.map(internet_dict)) data['gender'] = data['gender'].map({'Female': 0, 'Male': 1}) data['MultipleLines'] = data['MultipleLines'].map({'No': 0, 'No phone service': 1, 'Yes': 2}) data['InternetService'] = data['InternetService'].map({'DSL': 0, 'Fiber optic': 1, 'No': 2}) data['Contract'] = data['Contract'].map({'Month-to-month': 0, 'One year': 1, 'Two year': 2}) data['PaymentMethod'] = data['PaymentMethod'].map({'Bank transfer (automatic)': 0, 'Credit card (automatic)': 1, 'Electronic check': 2, 'Mailed check': 3}) return data
expected_output = { "instance": { "65109": { "areas": { "0.0.0.8": { "interfaces": { "Loopback0": { "ip_address": "10.169.197.254/32", "cost": 1, "state": "LOOP", "nbrs_full": 0, "nbrs_count": 0, }, "GigabitEthernet4": { "ip_address": "10.169.197.98/30", "cost": 1000, "state": "P2P", "nbrs_full": 1, "nbrs_count": 1, }, "GigabitEthernet2": { "ip_address": "10.169.197.94/30", "cost": 1000, "state": "BDR", "nbrs_full": 1, "nbrs_count": 1, }, } } } } } }
expected_output = {'instance': {'65109': {'areas': {'0.0.0.8': {'interfaces': {'Loopback0': {'ip_address': '10.169.197.254/32', 'cost': 1, 'state': 'LOOP', 'nbrs_full': 0, 'nbrs_count': 0}, 'GigabitEthernet4': {'ip_address': '10.169.197.98/30', 'cost': 1000, 'state': 'P2P', 'nbrs_full': 1, 'nbrs_count': 1}, 'GigabitEthernet2': {'ip_address': '10.169.197.94/30', 'cost': 1000, 'state': 'BDR', 'nbrs_full': 1, 'nbrs_count': 1}}}}}}}
datasetFile = open("datasets/rosalind_ba1d.txt", "r") pattern = datasetFile.readline().strip() genome = datasetFile.readline().strip() def findInText(pattern, genome): indices = [] for i in range(len(genome) - len(pattern) + 1): if genome[i:i+len(pattern)] == pattern: indices.append(i) return indices solution = " ".join(map(lambda x: str(x), findInText(pattern, genome))) outputFile = open("output/rosalind_ba1d.txt", "a") outputFile.write(solution)
dataset_file = open('datasets/rosalind_ba1d.txt', 'r') pattern = datasetFile.readline().strip() genome = datasetFile.readline().strip() def find_in_text(pattern, genome): indices = [] for i in range(len(genome) - len(pattern) + 1): if genome[i:i + len(pattern)] == pattern: indices.append(i) return indices solution = ' '.join(map(lambda x: str(x), find_in_text(pattern, genome))) output_file = open('output/rosalind_ba1d.txt', 'a') outputFile.write(solution)
#f row=0 while row<9: col =0 while col<10: if (col==4 and row!=0)or (row==0 and col==5)or (row==0 and col==6)or (row==0 and col==7)or (row==4): print("*",end=" ") else: print(" ",end=" ") col +=1 row +=1 print()
row = 0 while row < 9: col = 0 while col < 10: if col == 4 and row != 0 or (row == 0 and col == 5) or (row == 0 and col == 6) or (row == 0 and col == 7) or (row == 4): print('*', end=' ') else: print(' ', end=' ') col += 1 row += 1 print()
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. default_sim_settings = { # settings shared by example.py and benchmark.py "max_frames": 1000, "width": 640, "height": 480, "scene": "test.glb", # default scene: test.glb "default_agent": 0, "sensor_height": 1.5, "color_sensor": True, # RGB sensor (default: ON) "semantic_sensor": False, # semantic sensor (default: OFF) "depth_sensor": False, # depth sensor (default: OFF) "seed": 1, "silent": False, # do not print log info (default: OFF) # settings exclusive to example.py "save_png": False, # save the pngs to disk (default: OFF) "print_semantic_scene": False, "print_semantic_mask_stats": False, "compute_shortest_path": False, "compute_action_shortest_path": False, "goal_position": [-9.423, 0.072_447, -0.373], "goal_headings": [[0.0, -0.471_395, 0.0, 0.881_922], [0.0, 1.0, 0.0, 0.0]], }
default_sim_settings = {'max_frames': 1000, 'width': 640, 'height': 480, 'scene': 'test.glb', 'default_agent': 0, 'sensor_height': 1.5, 'color_sensor': True, 'semantic_sensor': False, 'depth_sensor': False, 'seed': 1, 'silent': False, 'save_png': False, 'print_semantic_scene': False, 'print_semantic_mask_stats': False, 'compute_shortest_path': False, 'compute_action_shortest_path': False, 'goal_position': [-9.423, 0.072447, -0.373], 'goal_headings': [[0.0, -0.471395, 0.0, 0.881922], [0.0, 1.0, 0.0, 0.0]]}
""" # SINGLE NUMBER II Given a non-empty array of integers, every element appears three times except for one, which appears exactly once. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? Example 1: Input: [2,2,3,2] Output: 3 Example 2: Input: [0,1,0,1,0,1,99] Output: 99 """ class Solution: def singleNumber(self, nums) -> int: visited = {} for i, el in enumerate(nums): if el in visited: visited[nums[i]] += 1 else: visited[nums[i]] = 1 for x in visited: if visited[x] == 1: return x # PLEASE CHECK THE BITWISE APPROACH FOR THIS
""" # SINGLE NUMBER II Given a non-empty array of integers, every element appears three times except for one, which appears exactly once. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? Example 1: Input: [2,2,3,2] Output: 3 Example 2: Input: [0,1,0,1,0,1,99] Output: 99 """ class Solution: def single_number(self, nums) -> int: visited = {} for (i, el) in enumerate(nums): if el in visited: visited[nums[i]] += 1 else: visited[nums[i]] = 1 for x in visited: if visited[x] == 1: return x
class AssertRaises(object): def __init__(self, expected): self.expected = expected def __enter__(self): return self def __exit__(self, exc_type, exc_value, tb): if exc_type is None: try: exc_name = self.expected.__name__ except AttributeError: exc_name = str(self.expected) raise AssertionError("{0} not raised".format(exc_name)) if not issubclass(exc_type, self.expected): # let unexpected exceptions pass through return False return True
class Assertraises(object): def __init__(self, expected): self.expected = expected def __enter__(self): return self def __exit__(self, exc_type, exc_value, tb): if exc_type is None: try: exc_name = self.expected.__name__ except AttributeError: exc_name = str(self.expected) raise assertion_error('{0} not raised'.format(exc_name)) if not issubclass(exc_type, self.expected): return False return True
# Demo Python Dictionaries - Dictionary ''' Dictionary A dictionary is a collection which is unordered, changeable and indexed. In Python dictionaries are written with curly brackets, and they have keys and values. Loop Through a Dictionary You can loop through a dictionary by using a for loop. When looping through a dictionary, the return value are the keys of the dictionary, but there are methods to return the values as well. Check if Key Exists To determine if a specified key is present in a dictionary use the in keyword: Dictionary Length To determine how many items (key-value pairs) a dictionary has, use the len() method. Adding Items Adding an item to the dictionary is done by using a new index key and assigning a value to it. Removing Items There are several methods to remove items from a dictionary: pop(), popitem(), del, clear() Copy a Dictionary You cannot copy a dictionary simply by typing dict2 = dict1, because: dict2 will only be a reference to dict1, and changes made in dict1 will automatically also be made in dict2. There are ways to make a copy, one way is to use the built-in Dictionary method copy(). Another way to make a copy is to use the built-in method dict(). Nested Dictionaries A dictionary can also contain many dictionaries, this is called nested dictionaries. The dict() Constructor It is also possible to use the dict() constructor to make a new dictionary: Dictionary Methods Python has a set of built-in methods that you can use on dictionaries. clear() Removes all the elements from the dictionary copy() Returns a copy of the dictionary fromkeys() Returns a dictionary with the specified keys and values get() Returns the value of the specified key items() Returns a list containing a tuple for each key value pair keys() Returns a list containing the dictionary's keys pop() Removes the element with the specified key popitem() Removes the last inserted key-value pair setdefault() Returns the value of the specified key. If the key does not exist: insert the key, with the specified value update() Updates the dictionary with the specified key-value pairs values() Returns a list of all the values in the dictionary ''' # Create and print a dictionary: thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 } print(thisdict)
""" Dictionary A dictionary is a collection which is unordered, changeable and indexed. In Python dictionaries are written with curly brackets, and they have keys and values. Loop Through a Dictionary You can loop through a dictionary by using a for loop. When looping through a dictionary, the return value are the keys of the dictionary, but there are methods to return the values as well. Check if Key Exists To determine if a specified key is present in a dictionary use the in keyword: Dictionary Length To determine how many items (key-value pairs) a dictionary has, use the len() method. Adding Items Adding an item to the dictionary is done by using a new index key and assigning a value to it. Removing Items There are several methods to remove items from a dictionary: pop(), popitem(), del, clear() Copy a Dictionary You cannot copy a dictionary simply by typing dict2 = dict1, because: dict2 will only be a reference to dict1, and changes made in dict1 will automatically also be made in dict2. There are ways to make a copy, one way is to use the built-in Dictionary method copy(). Another way to make a copy is to use the built-in method dict(). Nested Dictionaries A dictionary can also contain many dictionaries, this is called nested dictionaries. The dict() Constructor It is also possible to use the dict() constructor to make a new dictionary: Dictionary Methods Python has a set of built-in methods that you can use on dictionaries. clear() Removes all the elements from the dictionary copy() Returns a copy of the dictionary fromkeys() Returns a dictionary with the specified keys and values get() Returns the value of the specified key items() Returns a list containing a tuple for each key value pair keys() Returns a list containing the dictionary's keys pop() Removes the element with the specified key popitem() Removes the last inserted key-value pair setdefault() Returns the value of the specified key. If the key does not exist: insert the key, with the specified value update() Updates the dictionary with the specified key-value pairs values() Returns a list of all the values in the dictionary """ thisdict = {'brand': 'Ford', 'model': 'Mustang', 'year': 1964} print(thisdict)
#!/usr/bin/env python3.10 #FILE = 'test_0.txt' # sol: 1384 #FILE = 'test.txt' # sol: 4140 FILE='input.txt' # sol: 3647 def parse_input(file): lines = [] with open(file, 'r') as f: for line in f: lines.append(line.rstrip()) #print(f'lines: {lines}') return lines def to_string(n): if isinstance(n, int): return str(n) string = '[' for i in range(len(n)): string += to_string(n[i]) if i < len(n) - 1: string += ',' string += ']' return string def compute_sum(left, right): # Step 1: merge nb = left.copy() nb.extend(right) # Step 2: increase depth for i in range(len(nb)): nb[i] = (nb[i][0], nb[i][1]+1) print(f'merged: {nb}') # Step 3: reduce updated = True while updated: updated , nb = try_explode(nb) if updated: print(f'explode: {nb}') continue updated, nb = try_split(nb) if updated: print(f'split: {nb}') pass return nb def try_explode(nb): exploded = False previous = None for i in range(len(nb)-1): if nb[i][1] == 5 and nb[i+1][1] == 5: # add left if previous != None: nb[previous] = (nb[previous][0] + nb[i][0], nb[previous][1]) # add right if len(nb) > i+2: nb[i+2] = (nb[i+2][0] + nb[i+1][0], nb[i+2][1]) #remove pair del nb[i+1] nb[i] = (0, nb[i][1]-1) exploded = True break else: previous = i; return exploded, nb def try_split(nb): for idx, t in enumerate(nb): if t[0] >= 10: depth = t[1] left = t[0] // 2 right = t[0] - left nb[idx] = (left, depth+1) nb.insert(idx+1, (right, depth+1)) return True, nb return False, nb def parse_number(line): out = [] tmp = '' depth = 0 for k in line: match k: case '[': if tmp != '': out.append((int(tmp), depth)) tmp = '' depth += 1 case ']': if tmp != '': out.append((int(tmp), depth)) tmp = '' depth -= 1 case ',': if tmp != '': out.append((int(tmp), depth)) tmp = '' case _: tmp += k return out def amplitude(nb): if len(nb) == 1: return nb[0][0] elif len(nb) == 2: return 3 * nb[0][0] + 2 * nb[1][0] else: out = [] i = 0 while i < len(nb)-1: if nb[i][1] == nb[i+1][1]: out.append((3 * nb[i][0] + 2 * nb[i+1][0], nb[i][1] - 1)) i += 1 else: out.append(nb[i]) i += 1 if nb[-1][1] != nb[-2][1]: out.append(nb[-1]) if len(out) == len(nb): return 3 * nb[0][0] + 2 * amplitude(out[1:]) else: return amplitude(out) # Main # Test amplitude #print(f'143: {amplitude(parse_number("[[1,2],[[3,4],5]]"))}') #print(f'1384: {amplitude(parse_number("[[[[0,7],4],[[7,8],[6,0]]],[8,1]]"))}') #print(f'445: {amplitude(parse_number("[[[[1,1],[2,2]],[3,3]],[4,4]]"))}') #print(f'791: {amplitude(parse_number("[[[[3,0],[5,3]],[4,4]],[5,5]]"))}') #print(f'1137: {amplitude(parse_number("[[[[5,0],[7,4]],[5,5]],[6,6]]"))}') #print(f'3488: {amplitude(parse_number("[[[[8,7],[7,7]],[[8,6],[7,7]]],[[[0,7],[6,6]],[8,7]]]"))}') lines = parse_input(FILE) number = parse_number(lines[0]) print(f'init: {number}') for i in range(1, len(lines)): number = compute_sum(number, parse_number(lines[i])) print(f'sum {number}') value = amplitude(number) print(f'result {value}')
file = 'input.txt' def parse_input(file): lines = [] with open(file, 'r') as f: for line in f: lines.append(line.rstrip()) return lines def to_string(n): if isinstance(n, int): return str(n) string = '[' for i in range(len(n)): string += to_string(n[i]) if i < len(n) - 1: string += ',' string += ']' return string def compute_sum(left, right): nb = left.copy() nb.extend(right) for i in range(len(nb)): nb[i] = (nb[i][0], nb[i][1] + 1) print(f'merged: {nb}') updated = True while updated: (updated, nb) = try_explode(nb) if updated: print(f'explode: {nb}') continue (updated, nb) = try_split(nb) if updated: print(f'split: {nb}') pass return nb def try_explode(nb): exploded = False previous = None for i in range(len(nb) - 1): if nb[i][1] == 5 and nb[i + 1][1] == 5: if previous != None: nb[previous] = (nb[previous][0] + nb[i][0], nb[previous][1]) if len(nb) > i + 2: nb[i + 2] = (nb[i + 2][0] + nb[i + 1][0], nb[i + 2][1]) del nb[i + 1] nb[i] = (0, nb[i][1] - 1) exploded = True break else: previous = i return (exploded, nb) def try_split(nb): for (idx, t) in enumerate(nb): if t[0] >= 10: depth = t[1] left = t[0] // 2 right = t[0] - left nb[idx] = (left, depth + 1) nb.insert(idx + 1, (right, depth + 1)) return (True, nb) return (False, nb) def parse_number(line): out = [] tmp = '' depth = 0 for k in line: match k: case '[': if tmp != '': out.append((int(tmp), depth)) tmp = '' depth += 1 case ']': if tmp != '': out.append((int(tmp), depth)) tmp = '' depth -= 1 case ',': if tmp != '': out.append((int(tmp), depth)) tmp = '' case _: tmp += k return out def amplitude(nb): if len(nb) == 1: return nb[0][0] elif len(nb) == 2: return 3 * nb[0][0] + 2 * nb[1][0] else: out = [] i = 0 while i < len(nb) - 1: if nb[i][1] == nb[i + 1][1]: out.append((3 * nb[i][0] + 2 * nb[i + 1][0], nb[i][1] - 1)) i += 1 else: out.append(nb[i]) i += 1 if nb[-1][1] != nb[-2][1]: out.append(nb[-1]) if len(out) == len(nb): return 3 * nb[0][0] + 2 * amplitude(out[1:]) else: return amplitude(out) lines = parse_input(FILE) number = parse_number(lines[0]) print(f'init: {number}') for i in range(1, len(lines)): number = compute_sum(number, parse_number(lines[i])) print(f'sum {number}') value = amplitude(number) print(f'result {value}')
__author__ = 'rolandh' INFORMATION = 0 OK = 1 WARNING = 2 ERROR = 3 CRITICAL = 4 INTERACTION = 5 STATUSCODE = ["INFORMATION", "OK", "WARNING", "ERROR", "CRITICAL", "INTERACTION"]
__author__ = 'rolandh' information = 0 ok = 1 warning = 2 error = 3 critical = 4 interaction = 5 statuscode = ['INFORMATION', 'OK', 'WARNING', 'ERROR', 'CRITICAL', 'INTERACTION']
INF = 10**9 class Edge: def __init__(self, _source, _target, _weight): self.source = _source self.target = _target self.weight = _weight def BellmanFord(s): dist = [INF] * n dist[s] = 0 for i in range(n - 1): for edge in graph: u, v, w = edge.source, edge.target, edge.weight if dist[u] != INF and dist[u] + w < dist[v]: dist[v] = dist[u] + w for edge in graph: u, v, w = edge.source, edge.target, edge.weight if dist[u] != INF and dist[u] + w < dist[v]: return False return True T = int(input()) for _ in range(T): n, m = map(int, input().split()) graph = [] for i in range(m): u, v, w = map(int, input().split()) graph.append(Edge(u, v, w)) print("possible" if BellmanFord(0) == False else "not possible")
inf = 10 ** 9 class Edge: def __init__(self, _source, _target, _weight): self.source = _source self.target = _target self.weight = _weight def bellman_ford(s): dist = [INF] * n dist[s] = 0 for i in range(n - 1): for edge in graph: (u, v, w) = (edge.source, edge.target, edge.weight) if dist[u] != INF and dist[u] + w < dist[v]: dist[v] = dist[u] + w for edge in graph: (u, v, w) = (edge.source, edge.target, edge.weight) if dist[u] != INF and dist[u] + w < dist[v]: return False return True t = int(input()) for _ in range(T): (n, m) = map(int, input().split()) graph = [] for i in range(m): (u, v, w) = map(int, input().split()) graph.append(edge(u, v, w)) print('possible' if bellman_ford(0) == False else 'not possible')
""" @author: acfromspace """ def better_fibonacci(n): n1, n2 = 0, 1 for index in range(n): n1, n2 = n2, n1 + n2 return n1 n = int(input("Input an integer: ")) print("better_fibonacci():", better_fibonacci(n))
""" @author: acfromspace """ def better_fibonacci(n): (n1, n2) = (0, 1) for index in range(n): (n1, n2) = (n2, n1 + n2) return n1 n = int(input('Input an integer: ')) print('better_fibonacci():', better_fibonacci(n))
def generate_rule_nums(): base1 = 3 base2 = 5 my_sum = 0 my_max = 10000 for i in range(1, 10000): if i%base1 == 0 or i%base2 == 0: my_sum += i print(my_sum) generate_rule_nums()
def generate_rule_nums(): base1 = 3 base2 = 5 my_sum = 0 my_max = 10000 for i in range(1, 10000): if i % base1 == 0 or i % base2 == 0: my_sum += i print(my_sum) generate_rule_nums()
""" [REF] https://docs.python.org/3/tutorial/modules.html#packages Este arquivo nao deve ser apagado Ele serve para que o python interprete a pasta atual como um modulo, isto eh, uma biblioteca python. Entao podemos importar os arquivos que estao aqui dentro como pacotes da biblioteca usando o comando 'import'. """
""" [REF] https://docs.python.org/3/tutorial/modules.html#packages Este arquivo nao deve ser apagado Ele serve para que o python interprete a pasta atual como um modulo, isto eh, uma biblioteca python. Entao podemos importar os arquivos que estao aqui dentro como pacotes da biblioteca usando o comando 'import'. """
class Solution: def isAlienSorted(self, words, order): for i in range(20): tmp = [-1 if len(word) <= i else order.index(word[i]) for word in words] if tmp != sorted(tmp): return False if tmp == sorted(tmp) and len(tmp) == len(set(tmp)): return True return True
class Solution: def is_alien_sorted(self, words, order): for i in range(20): tmp = [-1 if len(word) <= i else order.index(word[i]) for word in words] if tmp != sorted(tmp): return False if tmp == sorted(tmp) and len(tmp) == len(set(tmp)): return True return True
#!/usr/bin/python #coding:utf8 def GC_content(s): ''' Calculate GC content of DNA. ''' s = s.upper() G_content = s.count('G') C_content = s.count('C') ratio = (G_content + C_content) / float(len(s)) return format(ratio, '.2%') def r_complement(s): s = s.upper() dict = {'A':'T', 'T':'A', 'G':'C', 'C':'G'} rc_s = '' for base in s: rc_s = dict[base] + rc_s return rc_s RE = {'HindIII':'AAGCTT', 'BamHI':'GGATCC', 'BglII':'AGATCT'} def primers(s, length = 21, f_addon = '', r_addon = ''): ''' This function is to design primers for a DNA sequence. ''' s = s.upper() for base in s: if not base in ['A', 'T', 'G', 'C']: break return 'Illegal character found. Please check your sequence.' result = [[],[],[]] f_primer = f_addon + s[0:length] r_primer = r_addon + r_complement(s[-length:]) attr = [(str(length) + '-' + 'mer'), {'f_primer_GC':GC_content(f_primer)}, {'r_primer_GC':GC_content(r_primer)}] result[0].extend(attr) result[1].append({'f_primer':f_primer}) result[2].append({'r_primer':r_primer}) return result
def gc_content(s): """ Calculate GC content of DNA. """ s = s.upper() g_content = s.count('G') c_content = s.count('C') ratio = (G_content + C_content) / float(len(s)) return format(ratio, '.2%') def r_complement(s): s = s.upper() dict = {'A': 'T', 'T': 'A', 'G': 'C', 'C': 'G'} rc_s = '' for base in s: rc_s = dict[base] + rc_s return rc_s re = {'HindIII': 'AAGCTT', 'BamHI': 'GGATCC', 'BglII': 'AGATCT'} def primers(s, length=21, f_addon='', r_addon=''): """ This function is to design primers for a DNA sequence. """ s = s.upper() for base in s: if not base in ['A', 'T', 'G', 'C']: break return 'Illegal character found. Please check your sequence.' result = [[], [], []] f_primer = f_addon + s[0:length] r_primer = r_addon + r_complement(s[-length:]) attr = [str(length) + '-' + 'mer', {'f_primer_GC': gc_content(f_primer)}, {'r_primer_GC': gc_content(r_primer)}] result[0].extend(attr) result[1].append({'f_primer': f_primer}) result[2].append({'r_primer': r_primer}) return result
# Insertion sorting Algorithm # @python def insertion_sort(list_): for x in range(1, len(list_)): cursor = list_[x] pos = x while pos > 0 and list_[pos - 1] > cursor: list_[pos] = list_[pos - 1] pos = pos - 1 list_[pos] = cursor return list_ array = [15, 2, 4, 50, 30, 2, 0, 1, 4] sorted = insertion_sort(array) print(sorted)
def insertion_sort(list_): for x in range(1, len(list_)): cursor = list_[x] pos = x while pos > 0 and list_[pos - 1] > cursor: list_[pos] = list_[pos - 1] pos = pos - 1 list_[pos] = cursor return list_ array = [15, 2, 4, 50, 30, 2, 0, 1, 4] sorted = insertion_sort(array) print(sorted)
s={'A',"A",99,96.5} print(s) #{96.5, 99, 'A'} print(type(s)) #<class 'set'> #print(s[2]) #'set' object does not support indexing #s[0]="ASIT" #'set' object does not support item assignment print(id(s)) s.add("ASIT") print(s) print(id(s))
s = {'A', 'A', 99, 96.5} print(s) print(type(s)) print(id(s)) s.add('ASIT') print(s) print(id(s))
""" Custom errors used by PrivacyPanda """ class PrivacyError(RuntimeError): def __init__(self, message): super().__init__(message)
""" Custom errors used by PrivacyPanda """ class Privacyerror(RuntimeError): def __init__(self, message): super().__init__(message)
class Solution: def rotate(self, nums, k): k %= len(nums) self.reverseArray(nums, 0, len(nums)-1) self.reverseArray(nums, 0, k-1) self.reverseArray(nums, k, len(nums)-1) def reverseArray(self, nums, start, end): while start < end: nums[start], nums[end] = nums[end], nums[start] start, end = start + 1, end - 1
class Solution: def rotate(self, nums, k): k %= len(nums) self.reverseArray(nums, 0, len(nums) - 1) self.reverseArray(nums, 0, k - 1) self.reverseArray(nums, k, len(nums) - 1) def reverse_array(self, nums, start, end): while start < end: (nums[start], nums[end]) = (nums[end], nums[start]) (start, end) = (start + 1, end - 1)
def add_native_methods(clazz): def nOpen__int__(a0, a1): raise NotImplementedError() def nClose__long__(a0, a1): raise NotImplementedError() def nGetPortCount__long__(a0, a1): raise NotImplementedError() def nGetPortType__long__int__(a0, a1, a2): raise NotImplementedError() def nGetPortName__long__int__(a0, a1, a2): raise NotImplementedError() def nGetControls__long__int__java_util_Vector__(a0, a1, a2, a3): raise NotImplementedError() def nControlSetIntValue__long__int__(a0, a1, a2): raise NotImplementedError() def nControlGetIntValue__long__(a0, a1): raise NotImplementedError() def nControlSetFloatValue__long__float__(a0, a1, a2): raise NotImplementedError() def nControlGetFloatValue__long__(a0, a1): raise NotImplementedError() clazz.nOpen__int__ = staticmethod(nOpen__int__) clazz.nClose__long__ = staticmethod(nClose__long__) clazz.nGetPortCount__long__ = staticmethod(nGetPortCount__long__) clazz.nGetPortType__long__int__ = staticmethod(nGetPortType__long__int__) clazz.nGetPortName__long__int__ = staticmethod(nGetPortName__long__int__) clazz.nGetControls__long__int__java_util_Vector__ = staticmethod(nGetControls__long__int__java_util_Vector__) clazz.nControlSetIntValue__long__int__ = staticmethod(nControlSetIntValue__long__int__) clazz.nControlGetIntValue__long__ = staticmethod(nControlGetIntValue__long__) clazz.nControlSetFloatValue__long__float__ = staticmethod(nControlSetFloatValue__long__float__) clazz.nControlGetFloatValue__long__ = staticmethod(nControlGetFloatValue__long__)
def add_native_methods(clazz): def n_open__int__(a0, a1): raise not_implemented_error() def n_close__long__(a0, a1): raise not_implemented_error() def n_get_port_count__long__(a0, a1): raise not_implemented_error() def n_get_port_type__long__int__(a0, a1, a2): raise not_implemented_error() def n_get_port_name__long__int__(a0, a1, a2): raise not_implemented_error() def n_get_controls__long__int__java_util__vector__(a0, a1, a2, a3): raise not_implemented_error() def n_control_set_int_value__long__int__(a0, a1, a2): raise not_implemented_error() def n_control_get_int_value__long__(a0, a1): raise not_implemented_error() def n_control_set_float_value__long__float__(a0, a1, a2): raise not_implemented_error() def n_control_get_float_value__long__(a0, a1): raise not_implemented_error() clazz.nOpen__int__ = staticmethod(nOpen__int__) clazz.nClose__long__ = staticmethod(nClose__long__) clazz.nGetPortCount__long__ = staticmethod(nGetPortCount__long__) clazz.nGetPortType__long__int__ = staticmethod(nGetPortType__long__int__) clazz.nGetPortName__long__int__ = staticmethod(nGetPortName__long__int__) clazz.nGetControls__long__int__java_util_Vector__ = staticmethod(nGetControls__long__int__java_util_Vector__) clazz.nControlSetIntValue__long__int__ = staticmethod(nControlSetIntValue__long__int__) clazz.nControlGetIntValue__long__ = staticmethod(nControlGetIntValue__long__) clazz.nControlSetFloatValue__long__float__ = staticmethod(nControlSetFloatValue__long__float__) clazz.nControlGetFloatValue__long__ = staticmethod(nControlGetFloatValue__long__)
# -*- coding: utf-8 -*- """ Implementation of simple database containing some values (coordinates and intensity - like 2D image) @author: ssklykov """ class ImageDict(): """Base class - containing a list with points (dictionary): coordinates of a point and its intensity""" point = {} # initializer for single point - a dictionary arrayOfPoints = [] # enpty list for holding points keys = ['x', 'y', 'intensity'] def __init__(self, x: int = 0, y: int = 0, intensity: int = 0): values = [x, y, intensity] self.point = dict(zip(self.keys, values)) # initializing of point as dictionary using zipping of two lists self.arrayOfPoints.append(self.point) def insertNewPoint(self, x: int, y: int, intensity: int): self.point = {self.keys[0]: x, self.keys[1]: y, self.keys[2]: intensity} # hard coding of assignig values self.arrayOfPoints.append(self.point) # adding a point to the array def getPoint(self, n: int): """ Retrieving a point. If index exceeding the actual amount of points, returns None Parameters ---------- n : int Index of a point for retrieving Returns ------- pointToReturn : dict A point - single dictionary entry with intialized keys. """ try: pointToReturn = self.arrayOfPoints[n] except IndexError: print("There isn't point #", n) pointToReturn = None return pointToReturn # %% Testing image1 = ImageDict(1, 2, 100) image1.insertNewPoint(2, 2, 2) point1 = image1.getPoint(0) noPoint = image1.getPoint(2)
""" Implementation of simple database containing some values (coordinates and intensity - like 2D image) @author: ssklykov """ class Imagedict: """Base class - containing a list with points (dictionary): coordinates of a point and its intensity""" point = {} array_of_points = [] keys = ['x', 'y', 'intensity'] def __init__(self, x: int=0, y: int=0, intensity: int=0): values = [x, y, intensity] self.point = dict(zip(self.keys, values)) self.arrayOfPoints.append(self.point) def insert_new_point(self, x: int, y: int, intensity: int): self.point = {self.keys[0]: x, self.keys[1]: y, self.keys[2]: intensity} self.arrayOfPoints.append(self.point) def get_point(self, n: int): """ Retrieving a point. If index exceeding the actual amount of points, returns None Parameters ---------- n : int Index of a point for retrieving Returns ------- pointToReturn : dict A point - single dictionary entry with intialized keys. """ try: point_to_return = self.arrayOfPoints[n] except IndexError: print("There isn't point #", n) point_to_return = None return pointToReturn image1 = image_dict(1, 2, 100) image1.insertNewPoint(2, 2, 2) point1 = image1.getPoint(0) no_point = image1.getPoint(2)
class NetworkSegmentInterface: def build_network_segment(self, input_nodes): raise Exception("Not implemented error")
class Networksegmentinterface: def build_network_segment(self, input_nodes): raise exception('Not implemented error')
# https://stackoverflow.com/questions/3192095/where-exactly-the-singleton-pattern-is-used-in-real-application # https://dzone.com/articles/design-patterns-singleton # https://www.tutorialspoint.com/python_design_patterns/python_design_patterns_singleton.htm # https://code.google.com/archive/p/google-singleton-detector/wikis/WhySingletonsAreControversial.wiki # https://www.vojtechruzicka.com/singleton-pattern-pitfalls/ # https://www.youtube.com/watch?v=-FRm3VPhseI class Singleton(): __instance = None def __init__(self): if Singleton.__instance != None: raise Exception("This class is a singleton!") else: Singleton.__instance = self def get_instance(self): if Singleton.__instance == None: Singleton.__instance = Singleton() return Singleton.__instance s = Singleton() print(s) print(s.get_instance()) print(s.get_instance())
class Singleton: __instance = None def __init__(self): if Singleton.__instance != None: raise exception('This class is a singleton!') else: Singleton.__instance = self def get_instance(self): if Singleton.__instance == None: Singleton.__instance = singleton() return Singleton.__instance s = singleton() print(s) print(s.get_instance()) print(s.get_instance())
def rek(n): if n == 1: return 1 if n == 0: return 1 return 4*rek(n-1)+5 print(rek(2)) print(rek(23))
def rek(n): if n == 1: return 1 if n == 0: return 1 return 4 * rek(n - 1) + 5 print(rek(2)) print(rek(23))
# -*- coding: utf-8 -*- """ @author: JulienWuthrich """ width = 28 height = 28 show_n_images = 5 # number of images to show during the training batch_size = 32 z_dim = 100 # the dimension of z learning_rate = .005 beta1 = .4 # the exponential decay rate for the 1st moment in the optimizer epochs = 100 alpha = .01 use_gpu = True
""" @author: JulienWuthrich """ width = 28 height = 28 show_n_images = 5 batch_size = 32 z_dim = 100 learning_rate = 0.005 beta1 = 0.4 epochs = 100 alpha = 0.01 use_gpu = True
dnas = [ ['pX3Eo\\]', 38, 146, 1069.71, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['k[3Eo\\]', 38, 146, 1030.13, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 267, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['kP3Eo\\e', 37, 139, 1082.78, 35, 28, -29.22, {'qty_to_risk': 7, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 43}], ['FJa00oP', 28, 98, 365.62, 33, 12, 16.07, {'qty_to_risk': 4, 'target_pnl': 186, 'stop': 140, 'donchlen': 27, 'treshold': 28, 'ema_fast': 18, 'ema_slow': 36}], ['<Q4g6_w', 39, 82, 155.73, 33, 12, -9.72, {'qty_to_risk': 4, 'target_pnl': 220, 'stop': 37, 'donchlen': 161, 'treshold': 34, 'ema_fast': 15, 'ema_slow': 50}], ['vTJpoL_', 30, 128, 1745.08, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['\\VkQcqv', 33, 84, 413.65, 35, 14, -4.28, {'qty_to_risk': 6, 'target_pnl': 243, 'stop': 163, 'donchlen': 108, 'treshold': 80, 'ema_fast': 19, 'ema_slow': 50}], [':Wso^YR', 33, 113, 346.06, 30, 13, -8.96, {'qty_to_risk': 3, 'target_pnl': 248, 'stop': 181, 'donchlen': 181, 'treshold': 75, 'ema_fast': 13, 'ema_slow': 36}], [']Vdom\\a', 33, 103, 707.66, 33, 12, -28.46, {'qty_to_risk': 6, 'target_pnl': 243, 'stop': 147, 'donchlen': 181, 'treshold': 90, 'ema_fast': 14, 'ema_slow': 42}], ['vP3Ep\\g', 36, 141, 1354.18, 29, 27, -35.49, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 44}], ['7\\lUAmD', 37, 88, 205.96, 28, 14, -14.69, {'qty_to_risk': 3, 'target_pnl': 272, 'stop': 165, 'donchlen': 117, 'treshold': 45, 'ema_fast': 18, 'ema_slow': 31}], ['v[JpoL_', 30, 128, 2365.3, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vP3EpJl', 36, 152, 1098.34, 36, 25, -23.1, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 46}], ['[QIuPr7', 36, 110, 1317.14, 15, 13, -40.34, {'qty_to_risk': 6, 'target_pnl': 220, 'stop': 85, 'donchlen': 195, 'treshold': 61, 'ema_fast': 19, 'ema_slow': 27}], ['vXJpoL_', 30, 128, 2498.01, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['8=Hq`W7', 33, 130, 175.83, 37, 16, 11.82, {'qty_to_risk': 3, 'target_pnl': 125, 'stop': 83, 'donchlen': 185, 'treshold': 77, 'ema_fast': 13, 'ema_slow': 27}], ['Mlo/YnH', 35, 110, 1170.47, 38, 18, 57.63, {'qty_to_risk': 5, 'target_pnl': 348, 'stop': 172, 'donchlen': 25, 'treshold': 70, 'ema_fast': 18, 'ema_slow': 33}], ['DOLnrsd', 39, 87, 351.48, 33, 12, -20.77, {'qty_to_risk': 4, 'target_pnl': 210, 'stop': 92, 'donchlen': 178, 'treshold': 95, 'ema_fast': 19, 'ema_slow': 43}], ['vP3Ea\\l', 35, 137, 1265.15, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 78, 'ema_fast': 14, 'ema_slow': 46}], ['4[qSS>o', 23, 119, 146.98, 31, 16, -3.48, {'qty_to_risk': 3, 'target_pnl': 267, 'stop': 176, 'donchlen': 113, 'treshold': 64, 'ema_fast': 7, 'ema_slow': 47}], ['v]JpoL_', 30, 128, 2726.18, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vP3Ek\\l', 34, 138, 1209.83, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 88, 'ema_fast': 14, 'ema_slow': 46}], ['1[:@YZH', 41, 140, 296.69, 31, 22, 2.86, {'qty_to_risk': 3, 'target_pnl': 267, 'stop': 51, 'donchlen': 66, 'treshold': 70, 'ema_fast': 13, 'ema_slow': 33}], ['DAduF:U', 28, 147, 277.95, 31, 19, -7.77, {'qty_to_risk': 4, 'target_pnl': 144, 'stop': 147, 'donchlen': 195, 'treshold': 50, 'ema_fast': 6, 'ema_slow': 38}], ['vvJpoL_', 30, 128, 2249.55, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 395, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vP3Ep[l', 34, 138, 1209.83, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['vP3Ew\\l', 34, 139, 1152.6, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 100, 'ema_fast': 14, 'ema_slow': 46}], ['vdJp\\L_', 30, 126, 2105.9, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 73, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpaL_', 30, 127, 2103.54, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 78, 'ema_fast': 10, 'ema_slow': 41}], ['vjJpoL_', 30, 128, 1936.28, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 338, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJvoL_', 31, 128, 2106.04, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 198, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['wdJpoL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJqoL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 185, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpoL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJplL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 89, 'ema_fast': 10, 'ema_slow': 41}], ['vdwpoL_', 30, 124, 2547.18, 38, 13, -22.82, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 190, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdNpoL_', 30, 128, 2185.17, 28, 14, -22.55, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdtpoL_', 30, 124, 2016.4, 38, 13, -22.82, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 183, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdYpoL_', 30, 126, 2041.22, 35, 14, -24.07, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 122, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['cbUlsOb', 30, 120, 1093.9, 30, 13, -25.37, {'qty_to_risk': 6, 'target_pnl': 300, 'stop': 113, 'donchlen': 173, 'treshold': 96, 'ema_fast': 11, 'ema_slow': 42}], ['vdapoL_', 30, 124, 2274.04, 35, 14, -26.51, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 140, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['wiUvMZ]', 33, 108, 2347.41, 33, 12, -36.39, {'qty_to_risk': 8, 'target_pnl': 334, 'stop': 113, 'donchlen': 198, 'treshold': 57, 'ema_fast': 13, 'ema_slow': 40}], ['woIT+t:', 33, 78, 1225.74, 55, 9, 33.19, {'qty_to_risk': 8, 'target_pnl': 362, 'stop': 85, 'donchlen': 115, 'treshold': 23, 'ema_fast': 19, 'ema_slow': 28}], ['`HiuQd/', 33, 124, 778.12, 25, 16, -12.38, {'qty_to_risk': 6, 'target_pnl': 177, 'stop': 158, 'donchlen': 195, 'treshold': 62, 'ema_fast': 16, 'ema_slow': 24}], ['vdJpDL_', 30, 122, 2259.28, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 48, 'ema_fast': 10, 'ema_slow': 41}], ['vPJpF;s', 28, 138, 3152.11, 23, 17, -34.81, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 6, 'ema_slow': 49}], ['kN3ko9r', 35, 152, 1396.09, 28, 21, -29.79, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 48}], ['G?Iu.?n', 29, 105, 312.72, 16, 12, -16.71, {'qty_to_risk': 4, 'target_pnl': 134, 'stop': 85, 'donchlen': 195, 'treshold': 26, 'ema_fast': 7, 'ema_slow': 47}], ['vdJpSL_', 30, 124, 2348.38, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 64, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpoLe', 29, 124, 2134.97, 35, 14, -26.58, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 43}], ['vdOpoLd', 29, 124, 2241.98, 28, 14, -29.34, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 43}], [']_nl?Fi', 29, 115, 1128.7, 28, 14, -27.26, {'qty_to_risk': 6, 'target_pnl': 286, 'stop': 169, 'donchlen': 173, 'treshold': 43, 'ema_fast': 9, 'ema_slow': 45}], ['ps3Eo\\]', 38, 146, 982.76, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 381, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['pw3Eo\\]', 38, 146, 982.76, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 400, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['1auvefX', 38, 96, 435.14, 27, 11, -14.3, {'qty_to_risk': 3, 'target_pnl': 296, 'stop': 185, 'donchlen': 198, 'treshold': 82, 'ema_fast': 16, 'ema_slow': 39}], ['KbpY`wG', 37, 88, 487.95, 33, 12, 11.94, {'qty_to_risk': 5, 'target_pnl': 300, 'stop': 174, 'donchlen': 127, 'treshold': 77, 'ema_fast': 20, 'ema_slow': 32}], ['`hvt6fr', 41, 79, 1660.27, 22, 9, -18.87, {'qty_to_risk': 6, 'target_pnl': 329, 'stop': 188, 'donchlen': 193, 'treshold': 34, 'ema_fast': 16, 'ema_slow': 48}], ['vdJpML_', 30, 124, 2348.38, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 57, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpOL_', 30, 124, 2348.38, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 59, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpoL`', 30, 123, 2107.11, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 42}], ['kP9Eo9r', 32, 159, 934.31, 24, 25, -19.97, {'qty_to_risk': 7, 'target_pnl': 215, 'stop': 49, 'donchlen': 78, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 48}], ['vdJp3L_', 31, 107, 4377.89, 22, 9, -22.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 31, 'ema_fast': 10, 'ema_slow': 41}], ['R];A2sC', 41, 99, 1061.26, 50, 14, 41.43, {'qty_to_risk': 5, 'target_pnl': 277, 'stop': 53, 'donchlen': 69, 'treshold': 30, 'ema_fast': 19, 'ema_slow': 31}], ['k\\3EoR]', 38, 154, 982.81, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 272, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['sXvp5;l', 29, 124, 5036.25, 20, 15, -39.71, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 46}], ['vdOpoL\\', 31, 128, 2652.8, 28, 14, -23.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 40}], ['ke3Eo\\]', 38, 146, 1043.58, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 315, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['Qn`0e]D', 29, 134, 355.67, 29, 17, -14.58, {'qty_to_risk': 5, 'target_pnl': 357, 'stop': 138, 'donchlen': 27, 'treshold': 82, 'ema_fast': 14, 'ema_slow': 31}], ['vdJpoL]', 30, 128, 2444.91, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 40}], ['kb3Eo\\]', 38, 146, 1030.12, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 300, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['vYon5;`', 30, 130, 3029.38, 25, 16, -35.11, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 42}], ['v;3sp1l', 30, 181, 1323.4, 31, 29, -25.15, {'qty_to_risk': 8, 'target_pnl': 115, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vdJpoLV', 29, 125, 1781.93, 38, 13, -17.48, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 38}], ['vdJpoB_', 28, 135, 2251.95, 31, 16, -24.5, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 8, 'ema_slow': 41}], ['k_3EoR]', 38, 154, 1007.64, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 286, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['.blr^UG', 33, 120, 156.42, 25, 16, -9.84, {'qty_to_risk': 2, 'target_pnl': 300, 'stop': 165, 'donchlen': 188, 'treshold': 75, 'ema_fast': 12, 'ema_slow': 32}], ['vaJpJ;^', 29, 143, 2197.13, 35, 20, -26.69, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 41}], ['qudn8bC', 34, 97, 2097.05, 22, 9, 47.77, {'qty_to_risk': 8, 'target_pnl': 391, 'stop': 147, 'donchlen': 178, 'treshold': 36, 'ema_fast': 15, 'ema_slow': 31}], ['UYLBTX@', 36, 116, 762.8, 42, 21, -12.8, {'qty_to_risk': 5, 'target_pnl': 258, 'stop': 92, 'donchlen': 71, 'treshold': 65, 'ema_fast': 13, 'ema_slow': 30}], ['Xhpl>Ak', 31, 116, 1368.89, 26, 15, -28.19, {'qty_to_risk': 6, 'target_pnl': 329, 'stop': 174, 'donchlen': 173, 'treshold': 42, 'ema_fast': 8, 'ema_slow': 46}], ['vaJpJ;[', 30, 143, 2372.41, 38, 21, 19.37, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 40}], ['vYon5=`', 29, 118, 4118.64, 20, 15, -39.08, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 42}], ['YK<V:WK', 31, 106, 298.04, 50, 14, 63.22, {'qty_to_risk': 6, 'target_pnl': 191, 'stop': 56, 'donchlen': 120, 'treshold': 38, 'ema_fast': 13, 'ema_slow': 34}], ['-qF<RNL', 34, 132, 105.58, 40, 22, 3.05, {'qty_to_risk': 2, 'target_pnl': 372, 'stop': 78, 'donchlen': 57, 'treshold': 63, 'ema_fast': 11, 'ema_slow': 34}], ['vP3EODf', 37, 154, 1273.12, 42, 28, -22.3, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 59, 'ema_fast': 8, 'ema_slow': 44}], [']muo_<U', 29, 140, 943.6, 41, 17, 29.01, {'qty_to_risk': 6, 'target_pnl': 353, 'stop': 185, 'donchlen': 181, 'treshold': 76, 'ema_fast': 7, 'ema_slow': 38}], ['kd9?o_H', 42, 150, 1239.52, 40, 25, 9.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 15, 'ema_slow': 33}], ['kd9?o`H', 42, 150, 1239.52, 40, 25, 9.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 15, 'ema_slow': 33}], ['kd:EoR]', 36, 139, 1471.03, 36, 22, 0.21, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 51, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['vdJp:L_', 30, 114, 3472.8, 36, 11, -13.96, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 38, 'ema_fast': 10, 'ema_slow': 41}], ['W@Iob+W', 24, 216, 347.92, 32, 28, 31.43, {'qty_to_risk': 6, 'target_pnl': 139, 'stop': 85, 'donchlen': 181, 'treshold': 79, 'ema_fast': 3, 'ema_slow': 38}], ['?eg)2Qw', 34, 100, 984.75, 40, 15, 29.06, {'qty_to_risk': 4, 'target_pnl': 315, 'stop': 154, 'donchlen': 10, 'treshold': 30, 'ema_fast': 11, 'ema_slow': 50}], ['v>3so1l', 30, 181, 1240.57, 31, 29, -25.15, {'qty_to_risk': 8, 'target_pnl': 129, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sXvp55l', 29, 134, 4086.17, 22, 18, -39.78, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['vbHKpUJ', 33, 118, 690.48, 43, 16, -5.56, {'qty_to_risk': 8, 'target_pnl': 300, 'stop': 83, 'donchlen': 93, 'treshold': 93, 'ema_fast': 12, 'ema_slow': 33}], ['o0Anf]W', 36, 110, 317.52, 30, 13, -9.8, {'qty_to_risk': 7, 'target_pnl': 63, 'stop': 67, 'donchlen': 178, 'treshold': 83, 'ema_fast': 14, 'ema_slow': 38}], ['Yaop5;q', 30, 124, 3140.89, 20, 15, -28.81, {'qty_to_risk': 6, 'target_pnl': 296, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 48}], ['vdos5>l', 29, 119, 5804.19, 21, 14, -40.86, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 46}], ['vdfp5@l', 28, 118, 5572.38, 21, 14, -40.86, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 46}], [':Ggnu1\\', 25, 176, 145.78, 36, 25, 14.84, {'qty_to_risk': 3, 'target_pnl': 172, 'stop': 154, 'donchlen': 178, 'treshold': 98, 'ema_fast': 4, 'ema_slow': 40}], ['vaJp\\;g', 29, 139, 3026.37, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 73, 'ema_fast': 6, 'ema_slow': 44}], ['vdds59l', 30, 125, 4270.78, 20, 15, -39.71, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 46}], ['vNJp2._', 23, 181, 1897.78, 34, 23, 61.03, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vP3Ep8l', 34, 169, 1107.02, 42, 28, -14.65, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 6, 'ema_slow': 46}], ['hQ0D1jv', 39, 119, 707.59, 38, 18, -24.86, {'qty_to_risk': 7, 'target_pnl': 220, 'stop': 28, 'donchlen': 76, 'treshold': 29, 'ema_fast': 17, 'ema_slow': 50}], ['v:3so1l', 30, 181, 1256.96, 31, 29, -28.78, {'qty_to_risk': 8, 'target_pnl': 110, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['oqTqk4j', 29, 154, 1636.42, 26, 23, -30.47, {'qty_to_risk': 7, 'target_pnl': 372, 'stop': 110, 'donchlen': 185, 'treshold': 88, 'ema_fast': 5, 'ema_slow': 45}], ['vaJpp;g', 29, 142, 3317.1, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 93, 'ema_fast': 6, 'ema_slow': 44}], ['vYon`1`', 25, 175, 1637.6, 37, 24, 46.75, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 77, 'ema_fast': 4, 'ema_slow': 42}], ['kd9?o^H', 42, 154, 1267.35, 34, 23, 14.3, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 33}], ['KtKEg9e', 28, 132, 445.51, 38, 21, 6.49, {'qty_to_risk': 5, 'target_pnl': 386, 'stop': 90, 'donchlen': 78, 'treshold': 84, 'ema_fast': 6, 'ema_slow': 43}], ['vYon:1`', 25, 163, 2063.5, 40, 20, 61.56, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 38, 'ema_fast': 4, 'ema_slow': 42}], ['vu3Ep\\l', 34, 138, 1227.23, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 391, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['vY3?5)l', 26, 210, 1230.95, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['lr;N.eU', 35, 77, 900.49, 50, 12, 46.65, {'qty_to_risk': 7, 'target_pnl': 376, 'stop': 53, 'donchlen': 100, 'treshold': 26, 'ema_fast': 16, 'ema_slow': 38}], ['kd3EbR]', 38, 153, 1018.09, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 79, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EiR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 86, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EfR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 83, 'ema_fast': 12, 'ema_slow': 40}], ['vB3so1l', 30, 181, 1130.16, 31, 29, -23.33, {'qty_to_risk': 8, 'target_pnl': 148, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sXvp5.d', 21, 189, 1911.75, 36, 22, 65.51, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 43}], ['sYvp5.l', 21, 183, 1763.91, 33, 24, 51.26, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['v93pt1l', 30, 183, 1017.62, 32, 28, -21.13, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 183, 'treshold': 97, 'ema_fast': 4, 'ema_slow': 46}], ['vn3Ep\\l', 34, 138, 1227.23, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['vYonC1`', 25, 167, 2094.76, 39, 23, 48.94, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 47, 'ema_fast': 4, 'ema_slow': 42}], ['seHtAe4', 34, 117, 1865.52, 23, 17, -9.45, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 83, 'donchlen': 193, 'treshold': 45, 'ema_fast': 16, 'ema_slow': 25}], ['kX3EQH]', 36, 153, 986.47, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['vT3?5)l', 26, 210, 1101.01, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['kd3?oR]', 39, 168, 1316.32, 41, 24, -16.21, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3DoR]', 38, 154, 1018.64, 38, 21, -16.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 76, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kf3EoR]', 38, 154, 986.67, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EoR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EpR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 12, 'ema_slow': 40}], ['fd3EoR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3FoR]', 39, 151, 1081.64, 33, 21, -19.85, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 81, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['td3EoR]', 38, 154, 1289.09, 36, 22, -22.62, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['v_3Ep\\l', 34, 138, 1339.57, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['[uiH3MG', 29, 97, 826.0, 58, 12, 40.05, {'qty_to_risk': 6, 'target_pnl': 391, 'stop': 158, 'donchlen': 86, 'treshold': 31, 'ema_fast': 10, 'ema_slow': 32}], ['kU3EQH]', 36, 153, 969.47, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['vYos51l', 26, 153, 2408.51, 25, 20, -13.89, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vP3Eo>f', 36, 169, 1130.8, 42, 28, -15.83, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 44}], ['vYon55`', 28, 142, 2859.04, 33, 18, -2.12, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 42}], ['sXvp51l', 26, 153, 2493.23, 30, 20, -5.57, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vXds51l', 26, 153, 2367.79, 25, 20, -13.89, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vd2poL_', 35, 136, 1700.25, 33, 15, -22.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 33, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vXJp3._', 23, 185, 3158.93, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 31, 'ema_fast': 3, 'ema_slow': 41}], ['sXvp5._', 22, 189, 2570.78, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['vXJp5._', 23, 189, 2484.11, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['vYHn51`', 27, 159, 2464.05, 36, 19, 50.3, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 83, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['sYon51`', 26, 159, 2530.66, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vY\\n51`', 26, 159, 2497.07, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 128, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vYSn51`', 27, 159, 2590.06, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 108, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vYnn51`', 26, 159, 2553.93, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 169, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vYon51`', 26, 159, 2530.66, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['^XJp5._', 23, 189, 1266.82, 34, 23, 39.99, {'qty_to_risk': 6, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['R<js+/0', 25, 207, 378.94, 22, 27, 29.95, {'qty_to_risk': 5, 'target_pnl': 120, 'stop': 160, 'donchlen': 190, 'treshold': 23, 'ema_fast': 4, 'ema_slow': 24}], ['vYo+51`', 25, 170, 2506.12, 39, 23, 26.0, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 15, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['][[ta0Z', 26, 183, 1014.77, 25, 24, 9.29, {'qty_to_risk': 6, 'target_pnl': 267, 'stop': 126, 'donchlen': 193, 'treshold': 78, 'ema_fast': 4, 'ema_slow': 39}], ['kd3EoO]', 40, 153, 1626.41, 31, 22, -18.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 11, 'ema_slow': 40}], ['kd3EoQ]', 40, 153, 1626.41, 31, 22, -18.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 11, 'ema_slow': 40}], ['kd3EoP]', 40, 153, 1626.41, 31, 22, -18.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 11, 'ema_slow': 40}], ['vaJpC;g', 29, 132, 3485.85, 26, 19, -34.41, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 47, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpD;g', 29, 133, 3136.76, 26, 19, -34.41, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 48, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpJ@g', 27, 138, 2179.89, 23, 17, -36.36, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 7, 'ema_slow': 44}], ['vaJp4;g', 30, 122, 4327.08, 18, 16, -38.13, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 32, 'ema_fast': 6, 'ema_slow': 44}], ['sXvp5.`', 22, 189, 2033.02, 33, 24, 57.65, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vaJpJ;S', 29, 144, 2403.35, 40, 22, 27.33, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 37}], ['vP3E>1f', 33, 166, 1116.84, 43, 23, 24.18, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 42, 'ema_fast': 4, 'ema_slow': 44}], ['vd3EoJ_', 38, 157, 1761.7, 31, 22, -18.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vd3EoM_', 38, 157, 1761.7, 31, 22, -18.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vd3poL_', 36, 136, 1442.87, 26, 15, -24.81, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vd3soK_', 36, 135, 1614.49, 25, 16, -28.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vXon51`', 26, 159, 2248.09, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['kd3EoRY', 38, 154, 1036.61, 36, 22, -17.84, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 39}], ['md3EpIl', 36, 152, 950.08, 36, 25, -18.9, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 46}], ['pU3ko7j', 33, 163, 1077.02, 29, 24, -30.26, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 45}], ['q^TkJ8d', 28, 135, 1785.82, 25, 20, -32.11, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 110, 'donchlen': 171, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 43}], ['vaJp5;g', 30, 122, 4327.08, 23, 17, -37.62, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 44}], ['vdfp53l', 29, 134, 3752.98, 22, 18, -39.78, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['vdos54l', 29, 134, 3585.68, 22, 18, -42.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['vdos57l', 29, 134, 3585.68, 22, 18, -42.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['v_fp5.l', 21, 183, 1858.03, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['savp5.l', 21, 183, 1980.57, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['v[JtJ/g', 27, 168, 2267.42, 26, 23, 10.37, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['v[MtJ/g', 27, 167, 2589.49, 26, 23, 7.42, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 94, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['v[OtJ/g', 27, 167, 2392.53, 26, 23, 7.94, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 99, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['v[dtJ/g', 26, 167, 2380.55, 26, 23, 6.14, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 147, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['vaJpF;g', 29, 133, 3136.76, 26, 19, -34.41, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpH;g', 29, 134, 2960.01, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 52, 'ema_fast': 6, 'ema_slow': 44}], ['vaJp9;g', 29, 124, 3801.16, 23, 17, -37.62, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 37, 'ema_fast': 6, 'ema_slow': 44}], ['vVJp4._', 23, 188, 2406.45, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 32, 'ema_fast': 3, 'ema_slow': 41}], ['vdJpo7_', 28, 163, 1836.74, 34, 23, 18.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 41}], ['vdJpo5_', 28, 163, 1836.74, 34, 23, 18.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 41}], ['vP3E;1f', 33, 159, 1141.61, 40, 22, 13.19, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 39, 'ema_fast': 4, 'ema_slow': 44}], ['GbU[3aj', 36, 77, 256.86, 45, 11, 2.89, {'qty_to_risk': 4, 'target_pnl': 300, 'stop': 113, 'donchlen': 132, 'treshold': 31, 'ema_fast': 15, 'ema_slow': 45}], ['pD3vo1]', 29, 186, 1037.73, 35, 28, -5.09, {'qty_to_risk': 7, 'target_pnl': 158, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kD3so1]', 29, 185, 885.39, 35, 28, -6.62, {'qty_to_risk': 7, 'target_pnl': 158, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['ad3EpIe', 39, 156, 886.94, 34, 23, -15.14, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 43}], ['vG3so1l', 30, 181, 1285.38, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 172, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vG3sp1l', 30, 181, 1285.38, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 172, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['v\\on51`', 26, 159, 2332.0, 36, 19, 53.27, {'qty_to_risk': 8, 'target_pnl': 272, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vcKpF4b', 28, 153, 2437.63, 36, 22, 24.71, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 90, 'donchlen': 183, 'treshold': 50, 'ema_fast': 5, 'ema_slow': 42}], ['vdJpS4_', 28, 157, 1782.23, 34, 23, 18.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 64, 'ema_fast': 5, 'ema_slow': 41}], ['vcvpF4b', 28, 152, 2365.78, 28, 21, 0.79, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 188, 'donchlen': 183, 'treshold': 50, 'ema_fast': 5, 'ema_slow': 42}], ['vaJpN;g', 29, 137, 2908.28, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 58, 'ema_fast': 6, 'ema_slow': 44}], ['vXJp7._', 22, 192, 2063.79, 37, 24, 73.34, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 35, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp7._', 22, 192, 1959.47, 37, 24, 73.34, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 35, 'ema_fast': 3, 'ema_slow': 41}], ['vWJpo1_', 25, 179, 1702.78, 36, 25, 46.47, {'qty_to_risk': 8, 'target_pnl': 248, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vT3?o1l', 31, 198, 983.48, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vF3?o1l', 31, 198, 926.08, 48, 35, 35.96, {'qty_to_risk': 8, 'target_pnl': 167, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vP3po1f', 30, 182, 1223.09, 40, 25, 8.77, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 44}], ['vP3wo1f', 30, 182, 1527.73, 37, 27, -1.8, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 44}], ['safs51l', 26, 153, 2928.33, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vF3sp1l', 30, 181, 1378.71, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 167, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vT3sp1l', 30, 181, 1350.3, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['sXvp5.Y', 23, 196, 2146.89, 34, 23, 61.53, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 39}], ['kD9?o1H', 29, 217, 897.86, 39, 28, 18.95, {'qty_to_risk': 7, 'target_pnl': 158, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vdOpoL9', 30, 146, 1863.92, 31, 19, 9.84, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 27}], ['vdOpoL8', 30, 146, 1863.92, 31, 19, 9.84, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 27}], ['s`fs51l', 26, 153, 2825.29, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vahpJ;g', 28, 135, 3360.68, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 156, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaQpJ;g', 29, 135, 3270.91, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 103, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vappJ;g', 28, 135, 3200.73, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 174, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaepJ;g', 28, 135, 3420.86, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 149, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vafpJ;g', 28, 135, 3408.73, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 151, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaPpJ;g', 29, 135, 3351.67, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 101, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vajpJ;g', 28, 135, 3323.26, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 160, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaVpJ;g', 29, 135, 3311.56, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 115, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaYpJ;g', 28, 135, 3207.91, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 122, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vatpJ;g', 28, 135, 3131.95, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 183, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['raJpJ;g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpJ:g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['saJpJ;g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaJoJ;g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 181, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['v`JpJ;g', 29, 136, 2996.35, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['v^JpJ;g', 29, 136, 2967.74, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaLpJ;g', 29, 135, 3887.32, 20, 20, -37.06, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 92, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaMpJ;g', 29, 135, 3762.28, 20, 20, -37.29, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 94, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['sXvp5.[', 23, 195, 2114.7, 34, 23, 59.17, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 40}], ['v^op5/`', 27, 159, 2668.1, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['v^Jpi/Y', 25, 182, 1949.23, 36, 25, 40.65, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 86, 'ema_fast': 4, 'ema_slow': 39}], ['Uqeo@3b', 28, 151, 974.31, 33, 21, 21.58, {'qty_to_risk': 5, 'target_pnl': 372, 'stop': 149, 'donchlen': 181, 'treshold': 44, 'ema_fast': 5, 'ema_slow': 42}], ['v93po1c', 30, 186, 1084.16, 40, 25, -4.7, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 43}], ['vZ3p51l', 29, 154, 1344.09, 28, 21, -5.65, {'qty_to_risk': 8, 'target_pnl': 262, 'stop': 35, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['pC3vo1]', 29, 186, 1019.18, 35, 28, -9.67, {'qty_to_risk': 7, 'target_pnl': 153, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vJ3so1l', 30, 181, 1425.72, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 186, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vJ3sp1l', 30, 181, 1425.72, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 186, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vI3so1l', 30, 181, 1307.83, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 182, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['v^JpF/g', 26, 165, 2391.66, 39, 23, 46.35, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 44}], ['vS3?o1l', 31, 198, 964.5, 48, 35, 45.11, {'qty_to_risk': 8, 'target_pnl': 229, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sdfs61l', 26, 154, 2076.54, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 34, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?ohl', 40, 142, 1108.06, 39, 28, -24.58, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 17, 'ema_slow': 46}], ['vaJp=;g', 29, 131, 3645.68, 27, 18, -29.96, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 41, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpJ;i', 29, 139, 2871.34, 21, 19, -38.75, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 45}], ['vVJ/2._', 23, 188, 3181.8, 38, 26, 84.61, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 25, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vXJp/._', 22, 171, 2206.25, 33, 21, 82.07, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 27, 'ema_fast': 3, 'ema_slow': 41}], ['vVjp2._', 22, 181, 2617.23, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 160, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJo2._', 23, 181, 2570.32, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 181, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2.^', 23, 181, 2570.32, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2._', 23, 181, 2570.32, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVRp2._', 22, 181, 2551.84, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 106, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVTp2._', 22, 181, 2512.34, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 110, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVXp2._', 22, 181, 2413.63, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 119, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVNp2._', 22, 181, 2538.94, 34, 23, 52.46, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 97, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJ)2._', 23, 195, 1481.09, 35, 28, 48.64, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 10, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['lVJp2._', 23, 181, 1855.41, 34, 23, 47.77, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['iVJp2._', 23, 181, 1855.41, 34, 23, 47.77, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['nVJp2._', 23, 181, 1855.41, 34, 23, 47.77, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJr2._', 23, 181, 2551.79, 30, 23, 44.52, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 188, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vW3so1l', 30, 181, 1480.15, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 248, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], [']a2A;ov', 38, 121, 437.51, 34, 23, -21.89, {'qty_to_risk': 6, 'target_pnl': 296, 'stop': 33, 'donchlen': 69, 'treshold': 39, 'ema_fast': 18, 'ema_slow': 50}], ['vXJp.._', 22, 170, 2249.7, 33, 21, 82.07, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 26, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp.._', 22, 170, 2126.6, 33, 21, 82.07, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 26, 'ema_fast': 3, 'ema_slow': 41}], ['vYJn31_', 26, 155, 3183.64, 35, 20, 48.12, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 87, 'donchlen': 178, 'treshold': 31, 'ema_fast': 4, 'ema_slow': 41}], ['vdfp5(l', 21, 218, 1955.95, 28, 28, 36.7, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['sdfs5(l', 21, 218, 1934.64, 25, 28, 26.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['vdds=1l', 26, 163, 2273.86, 27, 22, 4.95, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 41, 'ema_fast': 4, 'ema_slow': 46}], ['vdos>1l', 26, 163, 2131.45, 26, 23, -4.29, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 42, 'ema_fast': 4, 'ema_slow': 46}], ['vddsf1l', 26, 172, 1717.54, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 83, 'ema_fast': 4, 'ema_slow': 46}], ['vV3sp1l', 30, 181, 1480.15, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['voJpJ;g', 29, 136, 2553.58, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 362, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vZJp2._', 23, 181, 2760.32, 34, 23, 56.94, {'qty_to_risk': 8, 'target_pnl': 262, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2.Q', 24, 200, 2138.78, 32, 25, 55.45, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 36}], ['vqop5.W', 23, 196, 2827.28, 33, 24, 50.59, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 38}], ['mQS_l.S', 21, 211, 279.1, 31, 29, 41.06, {'qty_to_risk': 7, 'target_pnl': 220, 'stop': 108, 'donchlen': 142, 'treshold': 89, 'ema_fast': 3, 'ema_slow': 37}], ['*dLU8YD', 34, 93, 108.48, 30, 13, -2.74, {'qty_to_risk': 2, 'target_pnl': 310, 'stop': 92, 'donchlen': 117, 'treshold': 36, 'ema_fast': 13, 'ema_slow': 31}], ['kd3E.H]', 36, 116, 1430.81, 40, 15, -3.23, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 26, 'ema_fast': 9, 'ema_slow': 40}], ['vqom5.`', 23, 189, 2124.49, 33, 24, 47.02, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 176, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vqop5.a', 22, 189, 2115.73, 33, 24, 47.02, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vqsp5.`', 22, 189, 2063.58, 33, 24, 47.02, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 181, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vaJpJ1g', 26, 167, 2729.22, 37, 24, 45.25, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['vaJtJ/g', 27, 168, 2861.0, 26, 23, 2.49, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['p<3vo1]', 29, 186, 1049.6, 35, 28, -14.03, {'qty_to_risk': 7, 'target_pnl': 120, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vH3so1l', 30, 181, 1247.74, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 177, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vVJp2.Y', 23, 189, 2010.14, 34, 23, 61.5, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 39}], ['vdfp5.d', 21, 189, 1846.81, 36, 22, 53.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 43}], ['vdfp5.e', 21, 189, 1846.81, 36, 22, 53.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 43}], ['vYJpF._', 22, 199, 1787.28, 34, 26, 52.34, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vN3Bo,a', 29, 223, 1144.73, 39, 33, 37.29, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 71, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['pN3oo,j', 25, 212, 761.07, 37, 29, 18.24, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 181, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 45}], ['vN3wo,a', 25, 216, 1027.22, 34, 32, 13.34, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['vN3vo,a', 25, 216, 1027.22, 34, 32, 13.34, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['vN3to,a', 25, 216, 1027.11, 34, 32, 9.39, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['vd3EoHS', 38, 162, 1270.34, 43, 23, -11.34, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 9, 'ema_slow': 37}], ['vYon51Q', 26, 168, 3395.1, 36, 19, 51.71, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 36}], ['vkop5.U', 23, 196, 2358.35, 33, 24, 50.59, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 38}], ['vXopF._', 22, 199, 1777.92, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 172, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vXqpF._', 22, 199, 1777.92, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 176, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v^Jpn/Y', 25, 185, 2127.4, 36, 25, 40.65, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 91, 'ema_fast': 4, 'ema_slow': 39}], ['v^Jpv/Y', 25, 185, 2045.77, 36, 25, 40.65, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 99, 'ema_fast': 4, 'ema_slow': 39}], ['vVBp2._', 23, 181, 1828.71, 34, 23, 33.55, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 69, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vXJ@F._', 23, 186, 2427.9, 29, 27, 26.48, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 66, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vdJpoL:', 29, 145, 1384.92, 33, 18, 13.71, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 28}], ['vdOpoL;', 30, 145, 1627.22, 27, 18, 11.81, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 28}], ['vP3no1a', 30, 186, 1122.07, 40, 25, 3.26, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 178, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['iJovj:)', 24, 239, 484.69, 28, 38, -10.21, {'qty_to_risk': 7, 'target_pnl': 186, 'stop': 172, 'donchlen': 198, 'treshold': 87, 'ema_fast': 6, 'ema_slow': 21}], ['pd3voA]', 34, 143, 1203.03, 29, 17, -24.03, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 8, 'ema_slow': 40}], ['vVJpF/Y', 25, 174, 2063.8, 37, 24, 52.8, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['vXMpB._', 22, 198, 1840.3, 34, 26, 47.73, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 94, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['vXbpB._', 22, 198, 1925.97, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 142, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['vXjpB._', 22, 198, 1925.97, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 160, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['vXtpB._', 22, 198, 1925.97, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 183, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['sdvp5.l', 21, 183, 1559.26, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['sfvp5.l', 21, 183, 1766.85, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 319, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['v^JpF/]', 26, 169, 2680.74, 37, 24, 39.51, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 40}], ['sdMp5.l', 22, 183, 1607.27, 33, 24, 39.23, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 94, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['sdNp5.l', 22, 183, 1523.95, 33, 24, 39.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['vdft5.l', 22, 184, 1766.37, 29, 24, 32.67, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 193, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['sdfs5-l', 21, 183, 1455.82, 29, 24, 32.67, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['vaJpJ;N', 30, 150, 2617.14, 39, 23, 29.55, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 35}], ['9]JIo0S', 24, 174, 222.6, 41, 24, 27.33, {'qty_to_risk': 3, 'target_pnl': 277, 'stop': 87, 'donchlen': 88, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 37}], ['vVJ@F._', 23, 186, 2305.19, 29, 27, 26.48, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 66, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v[JtJ.g', 21, 210, 1659.0, 24, 25, 16.36, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 3, 'ema_slow': 44}], ['vP3Ep)l', 26, 249, 565.29, 35, 34, 12.78, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 2, 'ema_slow': 46}], ['kdOqo1l', 27, 175, 1345.74, 30, 26, 1.32, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 99, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kdVqo1l', 27, 174, 1263.47, 30, 26, 1.4, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 115, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdOpo/l', 27, 175, 1780.29, 30, 26, -0.92, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdOpo1l', 27, 175, 1780.29, 30, 26, -0.92, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kdaqo1l', 26, 172, 1151.76, 30, 26, -2.06, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 140, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['-c1W<Zf', 37, 109, 65.94, 53, 15, -2.54, {'qty_to_risk': 2, 'target_pnl': 305, 'stop': 31, 'donchlen': 122, 'treshold': 40, 'ema_fast': 13, 'ema_slow': 44}], ['vdRso1l', 27, 174, 1874.45, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 106, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdRsp1l', 27, 174, 1874.45, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 106, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vdYso1l', 27, 174, 1837.85, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 122, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdZso1l', 27, 174, 1817.62, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 124, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdZsp1l', 27, 174, 1817.62, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 124, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd[so1l', 27, 174, 1781.49, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 126, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdjso1l', 26, 173, 1554.68, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 160, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdoso1l', 26, 173, 1501.98, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdLso1l', 27, 175, 2221.88, 24, 25, -14.45, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 92, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vN3BO,f', 28, 217, 1223.92, 43, 30, 57.71, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 71, 'treshold': 59, 'ema_fast': 3, 'ema_slow': 44}], ['vkop5._', 22, 189, 2763.54, 34, 23, 44.1, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['sXvp5.N', 21, 210, 1468.64, 29, 27, 40.57, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 35}], ['sXvp5.O', 21, 210, 1468.64, 29, 27, 40.57, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 35}], ['kX9?o1H', 29, 217, 1459.94, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['v=3so1_', 30, 185, 1086.95, 35, 28, -17.14, {'qty_to_risk': 8, 'target_pnl': 125, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['v[JtJ/r', 28, 160, 2567.97, 20, 24, -44.08, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 48}], ['vC9pY1F', 25, 216, 416.4, 39, 28, 60.67, {'qty_to_risk': 8, 'target_pnl': 153, 'stop': 49, 'donchlen': 183, 'treshold': 70, 'ema_fast': 4, 'ema_slow': 32}], ['vVJp\\._', 22, 207, 1435.09, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 73, 'ema_fast': 3, 'ema_slow': 41}], ['vVJpZ._', 22, 205, 1297.72, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 71, 'ema_fast': 3, 'ema_slow': 41}], ['k89?o1H', 29, 217, 601.17, 39, 28, 9.23, {'qty_to_risk': 7, 'target_pnl': 101, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vdds?1l', 26, 164, 2211.02, 26, 23, -4.29, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 43, 'ema_fast': 4, 'ema_slow': 46}], ['vdos?1l', 26, 164, 2070.71, 26, 23, -4.29, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 43, 'ema_fast': 4, 'ema_slow': 46}], ['vdos;1l', 27, 160, 2381.13, 23, 21, -7.6, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 39, 'ema_fast': 4, 'ema_slow': 46}], ['vVJpI._', 22, 200, 1459.43, 34, 26, 50.53, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 53, 'ema_fast': 3, 'ema_slow': 41}], ['vqon51`', 26, 159, 2576.59, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vjop5/`', 27, 159, 2329.85, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 338, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['Rm^VO9P', 26, 138, 257.04, 45, 22, 33.24, {'qty_to_risk': 5, 'target_pnl': 353, 'stop': 133, 'donchlen': 120, 'treshold': 59, 'ema_fast': 6, 'ema_slow': 36}], ['bXfqL=C', 29, 156, 993.95, 42, 21, 26.66, {'qty_to_risk': 6, 'target_pnl': 253, 'stop': 151, 'donchlen': 185, 'treshold': 56, 'ema_fast': 7, 'ema_slow': 31}], ['stfs51l', 26, 153, 2659.87, 25, 20, 2.97, {'qty_to_risk': 8, 'target_pnl': 386, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdbp5/`', 27, 159, 2445.12, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 142, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdkp5/`', 27, 159, 2311.66, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 163, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdIp5/`', 27, 159, 2157.96, 36, 19, 40.54, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 85, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdMp5/`', 27, 159, 2626.21, 36, 19, 39.15, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 94, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdNp5/`', 27, 159, 2497.15, 36, 19, 38.34, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vXJpw._', 22, 211, 1704.65, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 100, 'ema_fast': 3, 'ema_slow': 41}], ['vXJpo._', 22, 211, 1704.65, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vVJpq._', 22, 211, 1632.94, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 94, 'ema_fast': 3, 'ema_slow': 41}], ['vXPpo._', 22, 211, 1617.93, 32, 28, 33.2, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 101, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['eXJpo._', 22, 211, 1313.2, 32, 28, 31.39, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdds51b', 27, 159, 2391.88, 31, 19, 30.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vXUpo._', 22, 210, 1714.35, 32, 28, 30.42, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 113, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['pdPvo1]', 27, 180, 1394.93, 28, 25, 7.47, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 101, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pdfvo1]', 26, 178, 1301.86, 28, 25, 6.92, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 151, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pdtvo1]', 26, 178, 1202.36, 28, 25, 6.92, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 183, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vXZro._', 22, 209, 1717.65, 25, 28, 5.04, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 124, 'donchlen': 188, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdop5/l', 26, 153, 2185.44, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['srfs51l', 26, 153, 2659.87, 25, 20, 2.97, {'qty_to_risk': 8, 'target_pnl': 376, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sqfs51l', 26, 153, 2562.68, 25, 20, 2.97, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdfm51l', 26, 153, 2349.09, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 176, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vddq51l', 26, 153, 2318.55, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 185, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdfq51l', 26, 153, 2295.84, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 185, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vpds51l', 26, 153, 2587.75, 25, 20, -0.02, {'qty_to_risk': 8, 'target_pnl': 367, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['kdYso1]', 26, 178, 1746.41, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 122, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdWso1]', 27, 178, 1743.61, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 117, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdXso1]', 26, 178, 1713.65, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 119, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd]so1]', 26, 178, 1683.84, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 131, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd^so1]', 26, 178, 1655.87, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 133, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdaso1]', 26, 177, 1576.22, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 140, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdoso1]', 26, 177, 1466.59, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd_so1]', 26, 177, 1416.56, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 135, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['smfs51l', 26, 153, 2416.95, 25, 20, -2.0, {'qty_to_risk': 8, 'target_pnl': 353, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vXZto._', 23, 211, 2219.58, 22, 27, -3.27, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 124, 'donchlen': 193, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdds51l', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdds51l', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdds51k', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['qdds51l', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdds51m', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sefs51l', 26, 153, 2298.26, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdUs51l', 27, 153, 2289.59, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 113, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdVs51l', 26, 153, 2266.23, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 115, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdis51l', 26, 153, 2255.92, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 158, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdXs51l', 26, 153, 2185.08, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 119, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['wdos51l', 26, 153, 2167.56, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdos51l', 26, 153, 2167.56, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdts51l', 26, 153, 2105.65, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 183, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vd]s51l', 26, 153, 2093.14, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 131, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdKs51l', 26, 153, 2508.39, 25, 20, -5.96, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 90, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdJs51l', 26, 153, 2183.0, 25, 20, -5.65, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['ad3EpIS', 37, 158, 881.62, 40, 22, -5.42, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 37}], ['ad3EpIT', 37, 158, 881.62, 40, 22, -5.42, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 37}], ['vdOs51l', 27, 153, 2340.46, 25, 20, -6.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdosD1l', 26, 165, 1882.63, 25, 24, -9.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 48, 'ema_fast': 4, 'ema_slow': 46}], ['vqop5.v', 23, 171, 2692.26, 26, 23, -23.96, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 50}], ['sdfs51s', 26, 148, 2312.51, 20, 20, -41.08, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 49}], ['vdfp5.j', 22, 184, 2022.81, 34, 23, 46.39, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 45}], ['v_JpF.b', 23, 198, 2047.16, 33, 27, 44.66, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 42}], ['PbIT=>K', 28, 125, 349.21, 45, 20, 33.26, {'qty_to_risk': 5, 'target_pnl': 300, 'stop': 85, 'donchlen': 115, 'treshold': 41, 'ema_fast': 7, 'ema_slow': 34}], ['pdJvo1]', 26, 181, 1159.85, 28, 25, 10.4, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 87, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdJso1]', 26, 180, 1363.27, 25, 24, -0.37, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 87, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['scfs51l', 26, 153, 2264.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['ev7CNRG', 39, 138, 851.01, 28, 25, -13.3, {'qty_to_risk': 7, 'target_pnl': 395, 'stop': 44, 'donchlen': 74, 'treshold': 58, 'ema_fast': 12, 'ema_slow': 32}], ['vdop5,v', 23, 171, 2421.44, 26, 23, -23.96, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 50}], ['vdop5)`', 20, 236, 1966.67, 29, 31, 61.73, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 42}], ['vdop5*`', 20, 236, 1966.67, 29, 31, 61.73, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 42}], ['vdop5,Z', 23, 196, 2397.56, 34, 23, 50.28, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 39}], ['pU3Bo,j', 29, 223, 946.14, 44, 34, 39.01, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 71, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 45}], ['vYon512', 24, 226, 1933.09, 26, 38, 36.17, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 25}], ['Xdq.9P=', 30, 131, 1246.26, 45, 20, 33.49, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 176, 'donchlen': 23, 'treshold': 37, 'ema_fast': 11, 'ema_slow': 29}], ['vdosG1l', 26, 165, 1882.63, 25, 24, -9.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 51, 'ema_fast': 4, 'ema_slow': 46}], ['vYon51H', 25, 184, 2482.48, 35, 20, 35.23, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['IWe_<2W', 25, 165, 642.38, 38, 21, 34.54, {'qty_to_risk': 5, 'target_pnl': 248, 'stop': 149, 'donchlen': 142, 'treshold': 40, 'ema_fast': 4, 'ema_slow': 38}], ['qSKn-;4', 28, 170, 1951.2, 43, 16, 29.18, {'qty_to_risk': 8, 'target_pnl': 229, 'stop': 90, 'donchlen': 178, 'treshold': 25, 'ema_fast': 6, 'ema_slow': 25}], ['_tT<c6F', 25, 182, 595.23, 37, 24, -0.17, {'qty_to_risk': 6, 'target_pnl': 386, 'stop': 110, 'donchlen': 57, 'treshold': 80, 'ema_fast': 5, 'ema_slow': 32}], ['vdOso1_', 26, 179, 1987.14, 25, 24, -1.91, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vdfso1_', 25, 177, 1736.36, 25, 24, -1.91, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vdIso1_', 26, 180, 1434.22, 25, 24, -2.18, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 85, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['pF3vo1]', 29, 186, 1176.34, 35, 28, -5.09, {'qty_to_risk': 7, 'target_pnl': 167, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kN3so1]', 29, 185, 975.82, 35, 28, -5.97, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kO3so1]', 29, 185, 975.82, 35, 28, -5.97, {'qty_to_risk': 7, 'target_pnl': 210, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['k_3EQH]', 36, 153, 975.95, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 286, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['kd3EoM]', 37, 152, 1172.04, 31, 22, -17.75, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 40}], ['v^JpF/u', 26, 159, 2469.54, 25, 24, -30.42, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 49}], ['vd3p4<l', 34, 120, 2170.19, 21, 14, -35.84, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 32, 'ema_fast': 7, 'ema_slow': 46}], ['vXZpo.Y', 23, 217, 1629.82, 33, 27, 53.51, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 39}], ['vaJpJ.g', 21, 208, 1642.84, 34, 26, 49.43, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 3, 'ema_slow': 44}], ['v_JpF/Y', 25, 174, 2737.76, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^JpF/Y', 25, 174, 2673.52, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^JpF/Z', 25, 174, 2673.52, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v`JpF/Y', 25, 174, 2359.0, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v_JpF._', 22, 199, 2019.59, 34, 26, 41.49, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v^JpF._', 22, 199, 1949.09, 34, 26, 41.49, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v^JpF/U', 25, 178, 2658.62, 37, 24, 39.79, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 38}], ['v^MpF/Y', 26, 173, 2772.86, 37, 24, 39.5, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 94, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^apF/Y', 25, 173, 2646.38, 37, 24, 38.89, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 140, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^`pF/Y', 25, 173, 2306.06, 37, 24, 38.89, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 138, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['Z^JpF/Y', 25, 174, 1376.86, 37, 24, 35.01, {'qty_to_risk': 6, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^JhF/Y', 24, 171, 1500.89, 34, 23, 29.17, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 164, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['vVJp2.C', 21, 220, 1436.56, 29, 31, 20.41, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 31}], ['kd3E1H]', 36, 122, 1491.54, 40, 15, -3.23, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 29, 'ema_fast': 9, 'ema_slow': 40}], ['kJ3so1]', 29, 185, 1035.31, 35, 28, -6.62, {'qty_to_risk': 7, 'target_pnl': 186, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3EQJ]', 37, 147, 1200.83, 31, 22, -17.75, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 10, 'ema_slow': 40}], ['`a2@srh', 39, 141, 414.49, 33, 27, -20.2, {'qty_to_risk': 6, 'target_pnl': 296, 'stop': 33, 'donchlen': 66, 'treshold': 96, 'ema_fast': 19, 'ema_slow': 44}], ['Yn14iDf', 32, 201, 230.81, 42, 33, -22.85, {'qty_to_risk': 6, 'target_pnl': 357, 'stop': 31, 'donchlen': 37, 'treshold': 86, 'ema_fast': 8, 'ema_slow': 44}], ['vbJpB._', 22, 198, 1957.82, 34, 26, 41.49, {'qty_to_risk': 8, 'target_pnl': 300, 'stop': 87, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['v93po1F', 25, 222, 835.65, 46, 28, 35.25, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 32}], ['vP3so1_', 30, 185, 1119.78, 35, 28, -4.5, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['pW3vo1]', 29, 186, 1266.77, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 248, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vn3Eo?l', 36, 168, 1701.84, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vn3Eo=l', 36, 168, 1701.84, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vVJpK._', 22, 202, 1575.44, 33, 27, 50.6, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 55, 'ema_fast': 3, 'ema_slow': 41}], ['pV3vo1]', 29, 186, 1266.77, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vd3D5@l', 37, 131, 2579.75, 47, 19, -12.67, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 76, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 46}], ['vddsP1l', 26, 168, 2044.31, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 61, 'ema_fast': 4, 'ema_slow': 46}], ['vkJp2._', 23, 181, 2068.61, 34, 23, 44.07, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2.H', 22, 210, 1406.48, 32, 28, 33.99, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 33}], ['wS@?Q-e', 23, 203, 1084.23, 32, 28, 25.86, {'qty_to_risk': 8, 'target_pnl': 229, 'stop': 65, 'donchlen': 64, 'treshold': 62, 'ema_fast': 3, 'ema_slow': 43}], ['kd3E@H]', 37, 142, 1667.53, 42, 21, -3.3, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 44, 'ema_fast': 9, 'ema_slow': 40}], ['ad3Ep?l', 36, 168, 949.5, 48, 27, -14.22, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 7, 'ema_slow': 46}], ['vd3Eo=l', 36, 168, 1811.27, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3Eo>l', 36, 168, 1811.27, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['kd3po@l', 34, 146, 1463.08, 36, 19, -25.21, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3so>l', 34, 147, 2379.6, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3so?l', 34, 147, 2379.6, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3sp<l', 34, 147, 2379.6, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po@l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po=l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po<l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po?l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vdJp<,`', 23, 196, 1760.51, 36, 25, 65.73, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 40, 'ema_fast': 3, 'ema_slow': 42}], ['vk3?5)l', 26, 210, 1121.95, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['veJp2._', 23, 181, 2222.74, 34, 23, 44.07, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vYon51F', 25, 189, 3903.54, 38, 21, 35.53, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 32}], ['vT3po)l', 24, 248, 823.72, 31, 32, -6.18, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kd3E_H]', 36, 158, 922.59, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 76, 'ema_fast': 9, 'ema_slow': 40}], ['vXJpB.w', 24, 183, 2210.92, 26, 26, -25.36, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 50}], ['ve3?5)l', 26, 210, 1178.11, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['vaJpJ;<', 28, 181, 1930.12, 40, 25, 45.73, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 28}], ['vVJpR._', 22, 203, 1545.55, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 41}], ['vdfp5.q', 23, 180, 2123.39, 34, 23, 29.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 48}], ['vd3p5)l', 23, 219, 958.55, 32, 28, 9.12, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['kN3ko,r', 27, 208, 722.03, 32, 28, -2.6, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['kN3ko-r', 27, 208, 722.03, 32, 28, -2.6, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['v]3p51l', 29, 154, 1260.63, 28, 21, -5.65, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 35, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdop5/_', 25, 159, 2361.82, 35, 20, 36.95, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 41}], ['v\\3?o1l', 31, 198, 1107.39, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 272, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sdfs51_', 25, 159, 2474.73, 30, 20, 26.3, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 41}], ['vdIpo.l', 22, 206, 1085.99, 31, 29, 26.53, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 85, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vdOpo+l', 22, 205, 1184.66, 31, 29, 21.92, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vdVpo.l', 22, 204, 1112.28, 31, 29, 19.8, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 115, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['ghl_\\=3', 29, 174, 942.06, 34, 26, 19.52, {'qty_to_risk': 7, 'target_pnl': 329, 'stop': 165, 'donchlen': 142, 'treshold': 73, 'ema_fast': 7, 'ema_slow': 25}], ['kd3E5H]', 36, 125, 1411.3, 43, 16, -2.2, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 33, 'ema_fast': 9, 'ema_slow': 40}], ['kd3E8H]', 36, 130, 1358.28, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 36, 'ema_fast': 9, 'ema_slow': 40}], ['kd3CQH]', 38, 155, 1196.17, 48, 25, -2.53, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 74, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['k]3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 277, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sd3EQH]', 36, 153, 1250.92, 41, 24, -12.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['v\\3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 272, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['v]3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['v]3sp1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vdfp5.M', 21, 210, 2022.13, 29, 27, 33.46, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 35}], ['vdds51R', 26, 168, 3795.25, 31, 19, 27.54, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 36}], ['sdfs51Q', 26, 168, 3795.25, 31, 19, 27.54, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 36}], ['v[JtJ(g', 22, 248, 2240.73, 19, 31, 12.38, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 2, 'ema_slow': 44}], ['kd3EHH]', 37, 148, 1502.77, 40, 22, -7.85, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 52, 'ema_fast': 9, 'ema_slow': 40}], ['vd3Eo8l', 34, 169, 1275.65, 42, 28, -14.65, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 46}], ['vd3?odl', 38, 149, 1087.85, 39, 28, -26.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 16, 'ema_slow': 46}], ['vd3so8l', 35, 153, 1755.59, 33, 21, -32.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 46}], ['vd3sp9l', 35, 153, 1755.59, 33, 21, -32.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 6, 'ema_slow': 46}], ['hXt*s/2', 24, 268, 839.83, 26, 50, 57.86, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 183, 'donchlen': 13, 'treshold': 96, 'ema_fast': 4, 'ema_slow': 25}], ['vaJpJ;B', 28, 171, 1488.4, 40, 20, 37.84, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 31}], ['kN5ko,r', 26, 206, 854.57, 28, 28, 34.1, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 40, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['vbopR.`', 22, 202, 1910.45, 31, 29, 26.58, {'qty_to_risk': 8, 'target_pnl': 300, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 42}], ['Or_1/.M', 21, 199, 375.04, 37, 27, 24.95, {'qty_to_risk': 5, 'target_pnl': 376, 'stop': 135, 'donchlen': 30, 'treshold': 27, 'ema_fast': 3, 'ema_slow': 35}], ['kavko,r', 23, 197, 1060.81, 29, 27, 3.73, {'qty_to_risk': 7, 'target_pnl': 296, 'stop': 188, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['v93mo1_', 30, 185, 1016.07, 36, 25, -10.23, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 176, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['td3EoH]', 36, 159, 1131.42, 41, 24, -12.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 9, 'ema_slow': 40}], ['v93to1_', 30, 185, 1497.8, 35, 28, -19.39, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['sXvp5.7', 22, 251, 2261.68, 29, 41, 52.61, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 27}], ['vdos51S', 27, 166, 3940.27, 30, 20, 24.97, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 37}], ['kO3ko,r', 27, 208, 691.88, 32, 28, -2.52, {'qty_to_risk': 7, 'target_pnl': 210, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['v92po1_', 30, 185, 1016.13, 33, 27, -15.49, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 33, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['v`3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3so?_', 36, 150, 1883.32, 38, 21, -27.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 41}], ['vd3so=_', 36, 150, 1883.32, 38, 21, -27.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 41}], ['vaJpJ;?', 26, 182, 1827.54, 45, 22, 65.98, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 29}], ['\\qvqf*v', 21, 229, 1086.59, 27, 33, 21.87, {'qty_to_risk': 6, 'target_pnl': 372, 'stop': 188, 'donchlen': 185, 'treshold': 83, 'ema_fast': 2, 'ema_slow': 50}], ['>V?u^C*', 31, 187, 419.33, 30, 30, -0.46, {'qty_to_risk': 4, 'target_pnl': 243, 'stop': 62, 'donchlen': 195, 'treshold': 75, 'ema_fast': 8, 'ema_slow': 22}], ['kd3E9H]', 36, 130, 1358.28, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 37, 'ema_fast': 9, 'ema_slow': 40}], ['kd3so;]', 34, 156, 1201.74, 41, 24, -8.31, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 40}], ['kd3E6H]', 36, 128, 1298.44, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 34, 'ema_fast': 9, 'ema_slow': 40}], ['vQ3so1_', 30, 185, 1160.97, 35, 28, -4.5, {'qty_to_risk': 8, 'target_pnl': 220, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vH3so1_', 30, 185, 1089.49, 35, 28, -8.97, {'qty_to_risk': 8, 'target_pnl': 177, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vYon51:', 23, 209, 1415.31, 35, 28, 26.83, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['vYon51;', 23, 209, 1415.31, 35, 28, 26.83, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['vdds51J', 25, 184, 2774.51, 30, 20, 22.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['sdfs51J', 25, 184, 2749.57, 30, 20, 22.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['vvZpo._', 22, 210, 2164.98, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 395, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['sdfs512', 25, 227, 1858.58, 23, 38, 7.88, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 25}], [';]mcKO(', 29, 148, 216.08, 39, 23, 7.02, {'qty_to_risk': 3, 'target_pnl': 277, 'stop': 167, 'donchlen': 151, 'treshold': 55, 'ema_fast': 11, 'ema_slow': 21}], ['vt3ko3l', 32, 158, 1304.06, 29, 24, -36.99, {'qty_to_risk': 8, 'target_pnl': 386, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vk\\pF,_', 22, 199, 1629.5, 34, 26, 37.4, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 128, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['tdcpF._', 22, 199, 2000.0, 34, 26, 37.4, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 144, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vdop5/Z', 26, 162, 3281.86, 35, 20, 36.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 39}], ['vdJpo)l', 21, 242, 1559.25, 28, 32, 25.28, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kdIpo)l', 21, 242, 1167.67, 28, 32, 25.79, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 85, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kdI?o1H', 25, 200, 750.4, 35, 28, 25.74, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 85, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kdNpo)l', 21, 242, 1184.97, 28, 32, 22.62, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdSpo)l', 21, 241, 1503.79, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 108, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdQpo)l', 21, 242, 1449.48, 28, 32, 21.32, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 103, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdfpo(l', 20, 239, 1276.17, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdhpo(l', 20, 239, 1256.98, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 156, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdopo(l', 20, 239, 1205.11, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd_po(l', 20, 240, 1205.11, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 135, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdopo)l', 20, 239, 1205.11, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdrpo(l', 20, 239, 1180.87, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 179, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kdO?o1H', 25, 198, 773.88, 35, 28, 20.41, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 99, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vdos51M', 26, 174, 3219.49, 28, 21, 15.55, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 35}], ['kdX?o1H', 24, 195, 691.09, 33, 27, 13.9, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 119, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kdU?o1H', 24, 195, 686.96, 33, 27, 11.89, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 113, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vd3?o6l', 33, 180, 885.89, 45, 35, -11.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3po4l', 33, 159, 1444.21, 32, 25, -35.46, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3po6l', 33, 159, 1444.21, 32, 25, -35.46, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3so5l', 33, 159, 1637.68, 30, 26, -42.02, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3so4l', 33, 159, 1637.68, 30, 26, -42.02, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3sp4l', 33, 159, 1637.68, 30, 26, -42.02, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 5, 'ema_slow': 46}], ['NCoF+A*', 29, 127, 406.42, 46, 15, 83.7, {'qty_to_risk': 5, 'target_pnl': 153, 'stop': 172, 'donchlen': 81, 'treshold': 23, 'ema_fast': 8, 'ema_slow': 22}], ['OsE\\e=)', 27, 214, 400.37, 45, 33, 66.95, {'qty_to_risk': 5, 'target_pnl': 381, 'stop': 76, 'donchlen': 134, 'treshold': 82, 'ema_fast': 7, 'ema_slow': 21}], ['sXvp5.?', 21, 239, 1362.06, 34, 38, 66.02, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 29}], ['sXvp5.=', 21, 239, 1362.06, 34, 38, 66.02, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 29}], ['E8kw9)r', 21, 218, 178.97, 27, 29, 31.01, {'qty_to_risk': 4, 'target_pnl': 101, 'stop': 163, 'donchlen': 200, 'treshold': 37, 'ema_fast': 2, 'ema_slow': 48}], ['vuZpo._', 22, 210, 2164.98, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 391, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['v53so1l', 30, 181, 981.66, 31, 29, -24.56, {'qty_to_risk': 8, 'target_pnl': 87, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdop5/V', 27, 166, 4211.53, 35, 20, 35.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 38}], ['vdos51W', 27, 166, 4197.59, 30, 20, 24.97, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 38}], ['kV3ko,r', 27, 208, 764.96, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['vaJpJ)g', 21, 245, 1917.51, 28, 32, 45.17, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 2, 'ema_slow': 44}], ['vaJpJ*g', 21, 245, 1917.51, 28, 32, 45.17, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 2, 'ema_slow': 44}], ['vdop5/G', 25, 189, 4518.72, 38, 21, 35.53, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 32}], ['sXvp5.2', 23, 266, 2518.63, 23, 47, 26.2, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 25}], ['vdOpoL6', 31, 147, 2028.9, 36, 19, 22.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 26}], ['kd3E:H]', 36, 132, 1241.91, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 38, 'ema_fast': 9, 'ema_slow': 40}], ['nj3U:WD', 38, 107, 724.13, 40, 15, -14.5, {'qty_to_risk': 7, 'target_pnl': 338, 'stop': 35, 'donchlen': 117, 'treshold': 38, 'ema_fast': 13, 'ema_slow': 31}], ['sXvp5.@', 21, 232, 1352.84, 35, 34, 71.08, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 30}], ['sXvp5.A', 21, 232, 1352.84, 35, 34, 71.08, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 30}], ['kdGpo)l', 21, 242, 1040.83, 28, 32, 27.1, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 81, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdds51[', 27, 158, 3339.23, 30, 20, 26.3, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 40}], ['vdJpo+_', 22, 211, 1407.51, 32, 28, 26.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['veZpo._', 22, 210, 1919.95, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vkZpo._', 22, 210, 1835.44, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdqpo.^', 22, 208, 1750.25, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 176, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['kd3so5]', 32, 167, 1288.67, 35, 28, -14.41, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 40}], ['v^JpF/G', 24, 206, 2650.1, 42, 26, 56.48, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 32}], ['kd[po.]', 23, 216, 1242.36, 32, 28, 27.33, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 126, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 40}], ['vdcp4L+', 32, 139, 3671.03, 36, 19, 2.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 144, 'donchlen': 183, 'treshold': 32, 'ema_fast': 10, 'ema_slow': 22}], ['vdvp4L+', 32, 139, 3671.03, 36, 19, 2.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 188, 'donchlen': 183, 'treshold': 32, 'ema_fast': 10, 'ema_slow': 22}], ['vd3so1e', 29, 185, 1356.08, 37, 27, -6.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 43}], ['vd3sp1c', 29, 185, 1356.08, 37, 27, -6.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 43}], ['kd9?o1i', 29, 193, 700.03, 31, 29, -13.26, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd:s51l', 28, 153, 1799.33, 25, 20, -22.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 51, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['k]3wo1r', 31, 174, 1170.04, 27, 29, -36.92, {'qty_to_risk': 7, 'target_pnl': 277, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 48}], ['k]3vo1r', 31, 174, 1168.27, 27, 29, -36.92, {'qty_to_risk': 7, 'target_pnl': 277, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 48}], ['vd3E>1l', 32, 165, 1310.33, 44, 25, 14.05, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 42, 'ema_fast': 4, 'ema_slow': 46}], ['kU3ko,r', 27, 208, 737.15, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['pd3wo1j', 30, 185, 1206.69, 33, 27, -9.76, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd3so1j', 30, 184, 1365.16, 33, 27, -13.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd3so1i', 30, 184, 1365.16, 33, 27, -13.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd3sf1l', 30, 178, 1109.72, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 83, 'ema_fast': 4, 'ema_slow': 46}], ['KecdnJ/', 29, 150, 359.54, 35, 20, 12.82, {'qty_to_risk': 5, 'target_pnl': 315, 'stop': 144, 'donchlen': 154, 'treshold': 91, 'ema_fast': 10, 'ema_slow': 24}], ['vw3so1l', 30, 181, 1364.12, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 400, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vkop5.7', 22, 251, 2419.47, 29, 41, 52.61, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 27}], ['vdfp5.F', 21, 224, 1363.92, 31, 32, 47.43, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 32}], ['vdqpo.X', 22, 215, 1628.64, 33, 27, 42.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 176, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 39}], ['vdqpo.Y', 22, 215, 1628.64, 33, 27, 42.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 176, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 39}], ['vj3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 338, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vi3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 334, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kt3qo1l', 30, 182, 979.79, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 386, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3Bp1l', 31, 194, 1182.71, 47, 34, 35.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 71, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?o/l', 31, 198, 1107.42, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?o1l', 31, 198, 1107.42, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?u1l', 31, 199, 1081.5, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 98, 'ema_fast': 4, 'ema_slow': 46}], ['vm3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 353, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vn3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3Ao1l', 30, 197, 1043.86, 47, 34, 33.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 69, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['od3?o1l', 31, 198, 855.06, 48, 35, 32.5, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['Wd3?o1l', 31, 198, 638.98, 48, 35, 26.64, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3Do1l', 30, 194, 955.39, 43, 32, 4.72, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 76, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vn3Do1l', 30, 194, 908.8, 43, 32, 4.72, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 76, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kf3qo1l', 30, 182, 1038.28, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['gd3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['od3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['ed3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kd3qu1l', 30, 183, 1001.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 98, 'ema_fast': 4, 'ema_slow': 46}], ['kr3qo1l', 30, 182, 979.79, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 376, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['ad3wp1l', 30, 182, 890.24, 31, 29, -12.58, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3no1l', 30, 182, 1372.66, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 178, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3qo1l', 30, 182, 1366.79, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3po/l', 30, 182, 1366.82, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3po2l', 30, 182, 1366.82, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3do1l', 29, 181, 793.58, 29, 27, -15.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 154, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['jd3so1l', 30, 181, 1066.14, 31, 29, -16.75, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3ro1l', 30, 180, 1228.28, 31, 29, -19.43, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 188, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3to1l', 30, 180, 1536.53, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vn3to1l', 30, 180, 1466.58, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sp1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sm1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 90, 'ema_fast': 4, 'ema_slow': 46}], ['vd3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['wd3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vc3sp1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sp/l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sv1l', 30, 182, 1395.85, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 99, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sr1l', 30, 182, 1395.85, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 95, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sw1l', 30, 182, 1395.85, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 100, 'ema_fast': 4, 'ema_slow': 46}], ['vo3so1l', 30, 181, 1364.12, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 362, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sl1l', 30, 180, 1043.2, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 89, 'ema_fast': 4, 'ema_slow': 46}], ['RZ-5*A+', 33, 169, 110.73, 42, 19, 21.09, {'qty_to_risk': 5, 'target_pnl': 262, 'stop': 21, 'donchlen': 40, 'treshold': 22, 'ema_fast': 8, 'ema_slow': 22}], ['vd3so1g', 30, 181, 1409.69, 37, 27, -6.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 44}], ['nhFo<58', 27, 201, 736.67, 46, 26, 51.55, {'qty_to_risk': 7, 'target_pnl': 329, 'stop': 78, 'donchlen': 181, 'treshold': 40, 'ema_fast': 5, 'ema_slow': 27}], ['vc\\pF4>', 25, 197, 1935.85, 44, 27, 46.26, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 128, 'donchlen': 183, 'treshold': 50, 'ema_fast': 5, 'ema_slow': 29}], ['vqopR,]', 22, 209, 1990.61, 32, 28, 33.15, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 40}], ['vd3sc1l', 30, 178, 1109.72, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 80, 'ema_fast': 4, 'ema_slow': 46}], ['vdJpoL)', 32, 168, 2257.74, 25, 27, -23.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 21}], ['vd3?F1l', 31, 180, 1429.75, 50, 32, 33.36, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 46}], ['kd9?o4H', 31, 195, 1017.57, 44, 25, 24.1, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 33}], ['ku9?o1H', 29, 217, 1445.7, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 391, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?g1H', 29, 214, 1167.51, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 84, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?f1H', 29, 214, 1167.51, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 83, 'ema_fast': 4, 'ema_slow': 33}], ['vd3EC1l', 31, 172, 1191.8, 42, 26, 9.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 47, 'ema_fast': 4, 'ema_slow': 46}], ['k^3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 281, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['^cF-21O', 23, 181, 589.13, 34, 26, 25.34, {'qty_to_risk': 6, 'target_pnl': 305, 'stop': 78, 'donchlen': 20, 'treshold': 30, 'ema_fast': 4, 'ema_slow': 35}], ['vdopR._', 22, 203, 2022.19, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 41}], ['sdfs51B', 24, 197, 4194.1, 32, 25, 19.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 31}], ['vd3E@1l', 31, 170, 1173.33, 44, 25, 14.05, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 44, 'ema_fast': 4, 'ema_slow': 46}], ['kp9?o1H', 29, 217, 1411.1, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 367, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?b1H', 29, 214, 1167.51, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 79, 'ema_fast': 4, 'ema_slow': 33}], ['vt3to,l', 26, 213, 1012.97, 34, 32, 1.87, {'qty_to_risk': 8, 'target_pnl': 386, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vd3?o1H', 29, 222, 1063.32, 43, 32, 31.17, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vd3Co1a', 31, 198, 944.24, 41, 29, 19.13, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 74, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['vdds51<', 24, 210, 1282.89, 32, 28, 14.04, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['vdds51;', 24, 210, 1282.89, 32, 28, 14.04, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['>jHtMH7', 30, 155, 395.93, 30, 20, 7.81, {'qty_to_risk': 4, 'target_pnl': 338, 'stop': 83, 'donchlen': 193, 'treshold': 57, 'ema_fast': 9, 'ema_slow': 27}], ['vd3so.l', 25, 212, 891.32, 34, 32, 1.87, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vd3so,l', 25, 212, 891.32, 34, 32, 1.87, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vd3lo1a', 30, 185, 1255.78, 37, 24, -0.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 173, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['vd3mo1a', 30, 185, 1255.78, 37, 24, -0.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 176, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['kd3so1a', 30, 185, 987.72, 37, 27, -8.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['vcopR.[', 22, 209, 1772.81, 32, 28, 33.15, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 40}], ['vd3?T1l', 30, 187, 865.15, 47, 34, 31.15, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 65, 'ema_fast': 4, 'ema_slow': 46}], ['vkop5.2', 23, 266, 2356.32, 23, 47, 26.2, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 25}], ['vdOpoL-', 30, 163, 2041.13, 37, 24, 24.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 23}], ['\\d9?o1H', 29, 217, 1023.4, 39, 28, 14.46, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], [']d9?o1H', 29, 217, 1023.4, 39, 28, 14.46, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['wd9?o1H', 29, 217, 1862.38, 39, 28, 12.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?o2H', 29, 217, 1409.9, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['gd9?o1H', 29, 217, 1409.9, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?r1H', 29, 217, 1409.9, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 95, 'ema_fast': 4, 'ema_slow': 33}], ['kd3qo1n', 30, 178, 902.44, 29, 27, -29.02, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 47}], ['kd3s81]', 28, 163, 880.97, 39, 23, -0.53, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 36, 'ema_fast': 4, 'ema_slow': 40}], ['v^:pF/Y', 27, 176, 1396.05, 36, 25, 31.96, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 51, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['vd:so1_', 27, 183, 1167.19, 30, 26, 6.13, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 51, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vd3sP1l', 29, 174, 1135.73, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 61, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sR1l', 29, 174, 1135.73, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 63, 'ema_fast': 4, 'ema_slow': 46}], ['kd9?;1H', 29, 184, 2612.96, 39, 23, 17.78, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 39, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?W1H', 29, 212, 1044.89, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 68, 'ema_fast': 4, 'ema_slow': 33}], ['v23so1l', 30, 181, 844.07, 31, 29, -20.83, {'qty_to_risk': 8, 'target_pnl': 72, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?o1T', 30, 203, 1057.99, 42, 33, 25.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 37}], ['vd3sp1F', 25, 222, 1023.84, 43, 30, 25.74, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 32}], ['vd5po(l', 23, 247, 1073.08, 25, 32, 10.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 40, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd0so1l', 29, 182, 1070.15, 27, 29, -4.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 28, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3so1S', 27, 194, 1004.75, 35, 28, -10.27, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 37}], ['vdfp5.)', 22, 304, 1501.04, 34, 55, 79.33, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 21}], ['vdos51?', 23, 214, 1753.98, 36, 25, 31.27, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 29}], ['kd9?51H', 29, 172, 1768.37, 33, 21, 9.44, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['vd3wo)l', 23, 248, 1004.76, 29, 34, -13.45, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd3so(l', 24, 248, 1143.62, 29, 34, -16.79, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd3sp1X', 28, 190, 1175.52, 35, 28, -10.17, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 39}], ['vd3si1_', 30, 182, 979.8, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 86, 'ema_fast': 4, 'ema_slow': 41}], ['sXvp5.+', 22, 300, 1632.61, 26, 50, 25.63, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 22}], ['sXvp5.,', 22, 300, 1632.61, 26, 50, 25.63, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 22}], ['pd1vo1]', 28, 187, 950.29, 31, 29, -4.64, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 31, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pm3vo1]', 29, 186, 1155.02, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 353, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['ks3so1]', 29, 185, 990.24, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 381, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['JciU+8@', 25, 129, 309.07, 54, 11, 37.45, {'qty_to_risk': 5, 'target_pnl': 305, 'stop': 158, 'donchlen': 117, 'treshold': 23, 'ema_fast': 6, 'ema_slow': 30}], ['vl3po1_', 30, 185, 1059.8, 38, 26, 0.54, {'qty_to_risk': 8, 'target_pnl': 348, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vs3po1_', 30, 185, 1059.8, 38, 26, 0.54, {'qty_to_risk': 8, 'target_pnl': 381, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vh3po1_', 30, 185, 1059.8, 38, 26, 0.54, {'qty_to_risk': 8, 'target_pnl': 329, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['kd3sV1]', 28, 180, 753.89, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 67, 'ema_fast': 4, 'ema_slow': 40}], ['vd3wo1_', 30, 186, 1504.98, 35, 28, -9.1, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vf3so1_', 30, 185, 1278.79, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 319, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vd3so1_', 30, 185, 1263.28, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vd3st1_', 30, 186, 1233.15, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 97, 'ema_fast': 4, 'ema_slow': 41}], ['vd3so1W', 27, 194, 1070.4, 35, 28, -10.27, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 38}], ['kd9?o;H', 32, 174, 954.44, 48, 25, 67.2, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 33}], ['v^JpF/@', 23, 221, 1078.03, 34, 32, 22.84, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 30}], ['vdds51@', 23, 204, 2148.6, 30, 26, 21.91, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 30}], ['pd3v?1]', 29, 173, 1097.95, 40, 25, 3.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 43, 'ema_fast': 4, 'ema_slow': 40}], ['vd4so1_', 30, 185, 1192.87, 29, 27, -0.04, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 37, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['pd3oo1]', 29, 186, 1014.18, 38, 26, 2.16, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 181, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3qo1[', 29, 185, 927.58, 38, 26, 2.16, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3lo1]', 29, 185, 1007.24, 36, 25, 1.67, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 173, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['Qd3vo1]', 29, 186, 601.68, 35, 28, -2.08, {'qty_to_risk': 5, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3po)u', 25, 239, 896.61, 31, 32, -3.82, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 49}], ['vd3po(t', 25, 239, 1172.98, 31, 32, -4.32, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 49}], ['pf3vo1]', 29, 186, 1227.59, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3wo1]', 29, 186, 1212.2, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3vq1]', 29, 186, 1210.37, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 94, 'ema_fast': 4, 'ema_slow': 40}], ['vd2so1_', 30, 186, 1438.32, 32, 28, -8.23, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 33, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['kd3to1]', 29, 185, 1289.24, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3to1]', 29, 185, 1289.24, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['hd3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['gd3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3so0]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3so/]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['id3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['qd3vo1]', 29, 186, 1649.3, 35, 28, -9.1, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vd3so1\\', 29, 185, 1384.98, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3v\\1]', 29, 183, 980.06, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 73, 'ema_fast': 4, 'ema_slow': 40}], ['vdfp5.,', 22, 300, 1626.82, 26, 50, 25.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 22}], ['kv3ko,r', 27, 208, 698.51, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 395, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['eeUY+N,', 29, 113, 1095.42, 40, 10, 22.03, {'qty_to_risk': 7, 'target_pnl': 315, 'stop': 113, 'donchlen': 127, 'treshold': 23, 'ema_fast': 11, 'ema_slow': 22}], ['kd9?B1H', 29, 194, 1795.09, 40, 25, 19.98, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 46, 'ema_fast': 4, 'ema_slow': 33}], ['p43vo1]', 29, 186, 940.19, 35, 28, -12.05, {'qty_to_risk': 7, 'target_pnl': 82, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd6vo1]', 29, 185, 871.18, 25, 27, 23.08, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 42, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd6so1]', 29, 185, 973.11, 25, 27, 19.67, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 42, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['XlIr0/7', 22, 209, 692.47, 31, 29, 29.78, {'qty_to_risk': 6, 'target_pnl': 348, 'stop': 85, 'donchlen': 188, 'treshold': 28, 'ema_fast': 4, 'ema_slow': 27}], ['kd9?J1H', 30, 203, 1381.71, 37, 27, 7.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 33}], ['kf3ko,r', 27, 208, 744.96, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['kd3ko,r', 27, 208, 734.11, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['kd9?M1H', 29, 204, 1381.6, 37, 27, 7.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 57, 'ema_fast': 4, 'ema_slow': 33}], ['pd3vD1]', 29, 175, 965.23, 37, 27, -4.28, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 48, 'ema_fast': 4, 'ema_slow': 40}], ['vd3soF)', 33, 187, 1699.13, 35, 34, 7.36, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 9, 'ema_slow': 21}], ['kd3sO1]', 28, 177, 845.92, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 59, 'ema_fast': 4, 'ema_slow': 40}], ['vd3p4L+', 34, 141, 1312.64, 40, 20, 12.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 32, 'ema_fast': 10, 'ema_slow': 22}], ['p13vo1]', 29, 186, 663.6, 35, 28, -1.65, {'qty_to_risk': 7, 'target_pnl': 68, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ]
dnas = [['pX3Eo\\]', 38, 146, 1069.71, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['k[3Eo\\]', 38, 146, 1030.13, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 267, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['kP3Eo\\e', 37, 139, 1082.78, 35, 28, -29.22, {'qty_to_risk': 7, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 43}], ['FJa00oP', 28, 98, 365.62, 33, 12, 16.07, {'qty_to_risk': 4, 'target_pnl': 186, 'stop': 140, 'donchlen': 27, 'treshold': 28, 'ema_fast': 18, 'ema_slow': 36}], ['<Q4g6_w', 39, 82, 155.73, 33, 12, -9.72, {'qty_to_risk': 4, 'target_pnl': 220, 'stop': 37, 'donchlen': 161, 'treshold': 34, 'ema_fast': 15, 'ema_slow': 50}], ['vTJpoL_', 30, 128, 1745.08, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['\\VkQcqv', 33, 84, 413.65, 35, 14, -4.28, {'qty_to_risk': 6, 'target_pnl': 243, 'stop': 163, 'donchlen': 108, 'treshold': 80, 'ema_fast': 19, 'ema_slow': 50}], [':Wso^YR', 33, 113, 346.06, 30, 13, -8.96, {'qty_to_risk': 3, 'target_pnl': 248, 'stop': 181, 'donchlen': 181, 'treshold': 75, 'ema_fast': 13, 'ema_slow': 36}], [']Vdom\\a', 33, 103, 707.66, 33, 12, -28.46, {'qty_to_risk': 6, 'target_pnl': 243, 'stop': 147, 'donchlen': 181, 'treshold': 90, 'ema_fast': 14, 'ema_slow': 42}], ['vP3Ep\\g', 36, 141, 1354.18, 29, 27, -35.49, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 44}], ['7\\lUAmD', 37, 88, 205.96, 28, 14, -14.69, {'qty_to_risk': 3, 'target_pnl': 272, 'stop': 165, 'donchlen': 117, 'treshold': 45, 'ema_fast': 18, 'ema_slow': 31}], ['v[JpoL_', 30, 128, 2365.3, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vP3EpJl', 36, 152, 1098.34, 36, 25, -23.1, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 46}], ['[QIuPr7', 36, 110, 1317.14, 15, 13, -40.34, {'qty_to_risk': 6, 'target_pnl': 220, 'stop': 85, 'donchlen': 195, 'treshold': 61, 'ema_fast': 19, 'ema_slow': 27}], ['vXJpoL_', 30, 128, 2498.01, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['8=Hq`W7', 33, 130, 175.83, 37, 16, 11.82, {'qty_to_risk': 3, 'target_pnl': 125, 'stop': 83, 'donchlen': 185, 'treshold': 77, 'ema_fast': 13, 'ema_slow': 27}], ['Mlo/YnH', 35, 110, 1170.47, 38, 18, 57.63, {'qty_to_risk': 5, 'target_pnl': 348, 'stop': 172, 'donchlen': 25, 'treshold': 70, 'ema_fast': 18, 'ema_slow': 33}], ['DOLnrsd', 39, 87, 351.48, 33, 12, -20.77, {'qty_to_risk': 4, 'target_pnl': 210, 'stop': 92, 'donchlen': 178, 'treshold': 95, 'ema_fast': 19, 'ema_slow': 43}], ['vP3Ea\\l', 35, 137, 1265.15, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 78, 'ema_fast': 14, 'ema_slow': 46}], ['4[qSS>o', 23, 119, 146.98, 31, 16, -3.48, {'qty_to_risk': 3, 'target_pnl': 267, 'stop': 176, 'donchlen': 113, 'treshold': 64, 'ema_fast': 7, 'ema_slow': 47}], ['v]JpoL_', 30, 128, 2726.18, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vP3Ek\\l', 34, 138, 1209.83, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 88, 'ema_fast': 14, 'ema_slow': 46}], ['1[:@YZH', 41, 140, 296.69, 31, 22, 2.86, {'qty_to_risk': 3, 'target_pnl': 267, 'stop': 51, 'donchlen': 66, 'treshold': 70, 'ema_fast': 13, 'ema_slow': 33}], ['DAduF:U', 28, 147, 277.95, 31, 19, -7.77, {'qty_to_risk': 4, 'target_pnl': 144, 'stop': 147, 'donchlen': 195, 'treshold': 50, 'ema_fast': 6, 'ema_slow': 38}], ['vvJpoL_', 30, 128, 2249.55, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 395, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vP3Ep[l', 34, 138, 1209.83, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['vP3Ew\\l', 34, 139, 1152.6, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 100, 'ema_fast': 14, 'ema_slow': 46}], ['vdJp\\L_', 30, 126, 2105.9, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 73, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpaL_', 30, 127, 2103.54, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 78, 'ema_fast': 10, 'ema_slow': 41}], ['vjJpoL_', 30, 128, 1936.28, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 338, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJvoL_', 31, 128, 2106.04, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 198, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['wdJpoL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJqoL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 185, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpoL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdJplL_', 30, 128, 2013.32, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 89, 'ema_fast': 10, 'ema_slow': 41}], ['vdwpoL_', 30, 124, 2547.18, 38, 13, -22.82, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 190, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdNpoL_', 30, 128, 2185.17, 28, 14, -22.55, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdtpoL_', 30, 124, 2016.4, 38, 13, -22.82, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 183, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vdYpoL_', 30, 126, 2041.22, 35, 14, -24.07, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 122, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['cbUlsOb', 30, 120, 1093.9, 30, 13, -25.37, {'qty_to_risk': 6, 'target_pnl': 300, 'stop': 113, 'donchlen': 173, 'treshold': 96, 'ema_fast': 11, 'ema_slow': 42}], ['vdapoL_', 30, 124, 2274.04, 35, 14, -26.51, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 140, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['wiUvMZ]', 33, 108, 2347.41, 33, 12, -36.39, {'qty_to_risk': 8, 'target_pnl': 334, 'stop': 113, 'donchlen': 198, 'treshold': 57, 'ema_fast': 13, 'ema_slow': 40}], ['woIT+t:', 33, 78, 1225.74, 55, 9, 33.19, {'qty_to_risk': 8, 'target_pnl': 362, 'stop': 85, 'donchlen': 115, 'treshold': 23, 'ema_fast': 19, 'ema_slow': 28}], ['`HiuQd/', 33, 124, 778.12, 25, 16, -12.38, {'qty_to_risk': 6, 'target_pnl': 177, 'stop': 158, 'donchlen': 195, 'treshold': 62, 'ema_fast': 16, 'ema_slow': 24}], ['vdJpDL_', 30, 122, 2259.28, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 48, 'ema_fast': 10, 'ema_slow': 41}], ['vPJpF;s', 28, 138, 3152.11, 23, 17, -34.81, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 6, 'ema_slow': 49}], ['kN3ko9r', 35, 152, 1396.09, 28, 21, -29.79, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 48}], ['G?Iu.?n', 29, 105, 312.72, 16, 12, -16.71, {'qty_to_risk': 4, 'target_pnl': 134, 'stop': 85, 'donchlen': 195, 'treshold': 26, 'ema_fast': 7, 'ema_slow': 47}], ['vdJpSL_', 30, 124, 2348.38, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 64, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpoLe', 29, 124, 2134.97, 35, 14, -26.58, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 43}], ['vdOpoLd', 29, 124, 2241.98, 28, 14, -29.34, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 43}], [']_nl?Fi', 29, 115, 1128.7, 28, 14, -27.26, {'qty_to_risk': 6, 'target_pnl': 286, 'stop': 169, 'donchlen': 173, 'treshold': 43, 'ema_fast': 9, 'ema_slow': 45}], ['ps3Eo\\]', 38, 146, 982.76, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 381, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['pw3Eo\\]', 38, 146, 982.76, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 400, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['1auvefX', 38, 96, 435.14, 27, 11, -14.3, {'qty_to_risk': 3, 'target_pnl': 296, 'stop': 185, 'donchlen': 198, 'treshold': 82, 'ema_fast': 16, 'ema_slow': 39}], ['KbpY`wG', 37, 88, 487.95, 33, 12, 11.94, {'qty_to_risk': 5, 'target_pnl': 300, 'stop': 174, 'donchlen': 127, 'treshold': 77, 'ema_fast': 20, 'ema_slow': 32}], ['`hvt6fr', 41, 79, 1660.27, 22, 9, -18.87, {'qty_to_risk': 6, 'target_pnl': 329, 'stop': 188, 'donchlen': 193, 'treshold': 34, 'ema_fast': 16, 'ema_slow': 48}], ['vdJpML_', 30, 124, 2348.38, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 57, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpOL_', 30, 124, 2348.38, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 59, 'ema_fast': 10, 'ema_slow': 41}], ['vdJpoL`', 30, 123, 2107.11, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 42}], ['kP9Eo9r', 32, 159, 934.31, 24, 25, -19.97, {'qty_to_risk': 7, 'target_pnl': 215, 'stop': 49, 'donchlen': 78, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 48}], ['vdJp3L_', 31, 107, 4377.89, 22, 9, -22.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 31, 'ema_fast': 10, 'ema_slow': 41}], ['R];A2sC', 41, 99, 1061.26, 50, 14, 41.43, {'qty_to_risk': 5, 'target_pnl': 277, 'stop': 53, 'donchlen': 69, 'treshold': 30, 'ema_fast': 19, 'ema_slow': 31}], ['k\\3EoR]', 38, 154, 982.81, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 272, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['sXvp5;l', 29, 124, 5036.25, 20, 15, -39.71, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 46}], ['vdOpoL\\', 31, 128, 2652.8, 28, 14, -23.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 40}], ['ke3Eo\\]', 38, 146, 1043.58, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 315, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['Qn`0e]D', 29, 134, 355.67, 29, 17, -14.58, {'qty_to_risk': 5, 'target_pnl': 357, 'stop': 138, 'donchlen': 27, 'treshold': 82, 'ema_fast': 14, 'ema_slow': 31}], ['vdJpoL]', 30, 128, 2444.91, 35, 14, -19.59, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 40}], ['kb3Eo\\]', 38, 146, 1030.12, 38, 26, -27.55, {'qty_to_risk': 7, 'target_pnl': 300, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 40}], ['vYon5;`', 30, 130, 3029.38, 25, 16, -35.11, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 42}], ['v;3sp1l', 30, 181, 1323.4, 31, 29, -25.15, {'qty_to_risk': 8, 'target_pnl': 115, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vdJpoLV', 29, 125, 1781.93, 38, 13, -17.48, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 38}], ['vdJpoB_', 28, 135, 2251.95, 31, 16, -24.5, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 8, 'ema_slow': 41}], ['k_3EoR]', 38, 154, 1007.64, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 286, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['.blr^UG', 33, 120, 156.42, 25, 16, -9.84, {'qty_to_risk': 2, 'target_pnl': 300, 'stop': 165, 'donchlen': 188, 'treshold': 75, 'ema_fast': 12, 'ema_slow': 32}], ['vaJpJ;^', 29, 143, 2197.13, 35, 20, -26.69, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 41}], ['qudn8bC', 34, 97, 2097.05, 22, 9, 47.77, {'qty_to_risk': 8, 'target_pnl': 391, 'stop': 147, 'donchlen': 178, 'treshold': 36, 'ema_fast': 15, 'ema_slow': 31}], ['UYLBTX@', 36, 116, 762.8, 42, 21, -12.8, {'qty_to_risk': 5, 'target_pnl': 258, 'stop': 92, 'donchlen': 71, 'treshold': 65, 'ema_fast': 13, 'ema_slow': 30}], ['Xhpl>Ak', 31, 116, 1368.89, 26, 15, -28.19, {'qty_to_risk': 6, 'target_pnl': 329, 'stop': 174, 'donchlen': 173, 'treshold': 42, 'ema_fast': 8, 'ema_slow': 46}], ['vaJpJ;[', 30, 143, 2372.41, 38, 21, 19.37, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 40}], ['vYon5=`', 29, 118, 4118.64, 20, 15, -39.08, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 42}], ['YK<V:WK', 31, 106, 298.04, 50, 14, 63.22, {'qty_to_risk': 6, 'target_pnl': 191, 'stop': 56, 'donchlen': 120, 'treshold': 38, 'ema_fast': 13, 'ema_slow': 34}], ['-qF<RNL', 34, 132, 105.58, 40, 22, 3.05, {'qty_to_risk': 2, 'target_pnl': 372, 'stop': 78, 'donchlen': 57, 'treshold': 63, 'ema_fast': 11, 'ema_slow': 34}], ['vP3EODf', 37, 154, 1273.12, 42, 28, -22.3, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 59, 'ema_fast': 8, 'ema_slow': 44}], [']muo_<U', 29, 140, 943.6, 41, 17, 29.01, {'qty_to_risk': 6, 'target_pnl': 353, 'stop': 185, 'donchlen': 181, 'treshold': 76, 'ema_fast': 7, 'ema_slow': 38}], ['kd9?o_H', 42, 150, 1239.52, 40, 25, 9.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 15, 'ema_slow': 33}], ['kd9?o`H', 42, 150, 1239.52, 40, 25, 9.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 15, 'ema_slow': 33}], ['kd:EoR]', 36, 139, 1471.03, 36, 22, 0.21, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 51, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['vdJp:L_', 30, 114, 3472.8, 36, 11, -13.96, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 38, 'ema_fast': 10, 'ema_slow': 41}], ['W@Iob+W', 24, 216, 347.92, 32, 28, 31.43, {'qty_to_risk': 6, 'target_pnl': 139, 'stop': 85, 'donchlen': 181, 'treshold': 79, 'ema_fast': 3, 'ema_slow': 38}], ['?eg)2Qw', 34, 100, 984.75, 40, 15, 29.06, {'qty_to_risk': 4, 'target_pnl': 315, 'stop': 154, 'donchlen': 10, 'treshold': 30, 'ema_fast': 11, 'ema_slow': 50}], ['v>3so1l', 30, 181, 1240.57, 31, 29, -25.15, {'qty_to_risk': 8, 'target_pnl': 129, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sXvp55l', 29, 134, 4086.17, 22, 18, -39.78, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['vbHKpUJ', 33, 118, 690.48, 43, 16, -5.56, {'qty_to_risk': 8, 'target_pnl': 300, 'stop': 83, 'donchlen': 93, 'treshold': 93, 'ema_fast': 12, 'ema_slow': 33}], ['o0Anf]W', 36, 110, 317.52, 30, 13, -9.8, {'qty_to_risk': 7, 'target_pnl': 63, 'stop': 67, 'donchlen': 178, 'treshold': 83, 'ema_fast': 14, 'ema_slow': 38}], ['Yaop5;q', 30, 124, 3140.89, 20, 15, -28.81, {'qty_to_risk': 6, 'target_pnl': 296, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 48}], ['vdos5>l', 29, 119, 5804.19, 21, 14, -40.86, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 46}], ['vdfp5@l', 28, 118, 5572.38, 21, 14, -40.86, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 46}], [':Ggnu1\\', 25, 176, 145.78, 36, 25, 14.84, {'qty_to_risk': 3, 'target_pnl': 172, 'stop': 154, 'donchlen': 178, 'treshold': 98, 'ema_fast': 4, 'ema_slow': 40}], ['vaJp\\;g', 29, 139, 3026.37, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 73, 'ema_fast': 6, 'ema_slow': 44}], ['vdds59l', 30, 125, 4270.78, 20, 15, -39.71, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 46}], ['vNJp2._', 23, 181, 1897.78, 34, 23, 61.03, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vP3Ep8l', 34, 169, 1107.02, 42, 28, -14.65, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 6, 'ema_slow': 46}], ['hQ0D1jv', 39, 119, 707.59, 38, 18, -24.86, {'qty_to_risk': 7, 'target_pnl': 220, 'stop': 28, 'donchlen': 76, 'treshold': 29, 'ema_fast': 17, 'ema_slow': 50}], ['v:3so1l', 30, 181, 1256.96, 31, 29, -28.78, {'qty_to_risk': 8, 'target_pnl': 110, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['oqTqk4j', 29, 154, 1636.42, 26, 23, -30.47, {'qty_to_risk': 7, 'target_pnl': 372, 'stop': 110, 'donchlen': 185, 'treshold': 88, 'ema_fast': 5, 'ema_slow': 45}], ['vaJpp;g', 29, 142, 3317.1, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 93, 'ema_fast': 6, 'ema_slow': 44}], ['vYon`1`', 25, 175, 1637.6, 37, 24, 46.75, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 77, 'ema_fast': 4, 'ema_slow': 42}], ['kd9?o^H', 42, 154, 1267.35, 34, 23, 14.3, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 14, 'ema_slow': 33}], ['KtKEg9e', 28, 132, 445.51, 38, 21, 6.49, {'qty_to_risk': 5, 'target_pnl': 386, 'stop': 90, 'donchlen': 78, 'treshold': 84, 'ema_fast': 6, 'ema_slow': 43}], ['vYon:1`', 25, 163, 2063.5, 40, 20, 61.56, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 38, 'ema_fast': 4, 'ema_slow': 42}], ['vu3Ep\\l', 34, 138, 1227.23, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 391, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['vY3?5)l', 26, 210, 1230.95, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['lr;N.eU', 35, 77, 900.49, 50, 12, 46.65, {'qty_to_risk': 7, 'target_pnl': 376, 'stop': 53, 'donchlen': 100, 'treshold': 26, 'ema_fast': 16, 'ema_slow': 38}], ['kd3EbR]', 38, 153, 1018.09, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 79, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EiR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 86, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EfR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 83, 'ema_fast': 12, 'ema_slow': 40}], ['vB3so1l', 30, 181, 1130.16, 31, 29, -23.33, {'qty_to_risk': 8, 'target_pnl': 148, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sXvp5.d', 21, 189, 1911.75, 36, 22, 65.51, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 43}], ['sYvp5.l', 21, 183, 1763.91, 33, 24, 51.26, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['v93pt1l', 30, 183, 1017.62, 32, 28, -21.13, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 183, 'treshold': 97, 'ema_fast': 4, 'ema_slow': 46}], ['vn3Ep\\l', 34, 138, 1227.23, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['vYonC1`', 25, 167, 2094.76, 39, 23, 48.94, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 47, 'ema_fast': 4, 'ema_slow': 42}], ['seHtAe4', 34, 117, 1865.52, 23, 17, -9.45, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 83, 'donchlen': 193, 'treshold': 45, 'ema_fast': 16, 'ema_slow': 25}], ['kX3EQH]', 36, 153, 986.47, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['vT3?5)l', 26, 210, 1101.01, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['kd3?oR]', 39, 168, 1316.32, 41, 24, -16.21, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3DoR]', 38, 154, 1018.64, 38, 21, -16.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 76, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kf3EoR]', 38, 154, 986.67, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EoR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3EpR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 12, 'ema_slow': 40}], ['fd3EoR]', 38, 154, 973.49, 36, 22, -18.55, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['kd3FoR]', 39, 151, 1081.64, 33, 21, -19.85, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 81, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['td3EoR]', 38, 154, 1289.09, 36, 22, -22.62, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 40}], ['v_3Ep\\l', 34, 138, 1339.57, 30, 26, -31.0, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 14, 'ema_slow': 46}], ['[uiH3MG', 29, 97, 826.0, 58, 12, 40.05, {'qty_to_risk': 6, 'target_pnl': 391, 'stop': 158, 'donchlen': 86, 'treshold': 31, 'ema_fast': 10, 'ema_slow': 32}], ['kU3EQH]', 36, 153, 969.47, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['vYos51l', 26, 153, 2408.51, 25, 20, -13.89, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vP3Eo>f', 36, 169, 1130.8, 42, 28, -15.83, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 44}], ['vYon55`', 28, 142, 2859.04, 33, 18, -2.12, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 42}], ['sXvp51l', 26, 153, 2493.23, 30, 20, -5.57, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vXds51l', 26, 153, 2367.79, 25, 20, -13.89, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vd2poL_', 35, 136, 1700.25, 33, 15, -22.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 33, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vXJp3._', 23, 185, 3158.93, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 31, 'ema_fast': 3, 'ema_slow': 41}], ['sXvp5._', 22, 189, 2570.78, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['vXJp5._', 23, 189, 2484.11, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['vYHn51`', 27, 159, 2464.05, 36, 19, 50.3, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 83, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['sYon51`', 26, 159, 2530.66, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vY\\n51`', 26, 159, 2497.07, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 128, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vYSn51`', 27, 159, 2590.06, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 108, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vYnn51`', 26, 159, 2553.93, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 169, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vYon51`', 26, 159, 2530.66, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['^XJp5._', 23, 189, 1266.82, 34, 23, 39.99, {'qty_to_risk': 6, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['R<js+/0', 25, 207, 378.94, 22, 27, 29.95, {'qty_to_risk': 5, 'target_pnl': 120, 'stop': 160, 'donchlen': 190, 'treshold': 23, 'ema_fast': 4, 'ema_slow': 24}], ['vYo+51`', 25, 170, 2506.12, 39, 23, 26.0, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 15, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['][[ta0Z', 26, 183, 1014.77, 25, 24, 9.29, {'qty_to_risk': 6, 'target_pnl': 267, 'stop': 126, 'donchlen': 193, 'treshold': 78, 'ema_fast': 4, 'ema_slow': 39}], ['kd3EoO]', 40, 153, 1626.41, 31, 22, -18.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 11, 'ema_slow': 40}], ['kd3EoQ]', 40, 153, 1626.41, 31, 22, -18.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 11, 'ema_slow': 40}], ['kd3EoP]', 40, 153, 1626.41, 31, 22, -18.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 11, 'ema_slow': 40}], ['vaJpC;g', 29, 132, 3485.85, 26, 19, -34.41, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 47, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpD;g', 29, 133, 3136.76, 26, 19, -34.41, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 48, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpJ@g', 27, 138, 2179.89, 23, 17, -36.36, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 7, 'ema_slow': 44}], ['vaJp4;g', 30, 122, 4327.08, 18, 16, -38.13, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 32, 'ema_fast': 6, 'ema_slow': 44}], ['sXvp5.`', 22, 189, 2033.02, 33, 24, 57.65, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vaJpJ;S', 29, 144, 2403.35, 40, 22, 27.33, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 37}], ['vP3E>1f', 33, 166, 1116.84, 43, 23, 24.18, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 42, 'ema_fast': 4, 'ema_slow': 44}], ['vd3EoJ_', 38, 157, 1761.7, 31, 22, -18.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vd3EoM_', 38, 157, 1761.7, 31, 22, -18.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vd3poL_', 36, 136, 1442.87, 26, 15, -24.81, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vd3soK_', 36, 135, 1614.49, 25, 16, -28.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 41}], ['vXon51`', 26, 159, 2248.09, 36, 19, 49.09, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['kd3EoRY', 38, 154, 1036.61, 36, 22, -17.84, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 12, 'ema_slow': 39}], ['md3EpIl', 36, 152, 950.08, 36, 25, -18.9, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 46}], ['pU3ko7j', 33, 163, 1077.02, 29, 24, -30.26, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 45}], ['q^TkJ8d', 28, 135, 1785.82, 25, 20, -32.11, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 110, 'donchlen': 171, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 43}], ['vaJp5;g', 30, 122, 4327.08, 23, 17, -37.62, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 33, 'ema_fast': 6, 'ema_slow': 44}], ['vdfp53l', 29, 134, 3752.98, 22, 18, -39.78, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['vdos54l', 29, 134, 3585.68, 22, 18, -42.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['vdos57l', 29, 134, 3585.68, 22, 18, -42.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 5, 'ema_slow': 46}], ['v_fp5.l', 21, 183, 1858.03, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['savp5.l', 21, 183, 1980.57, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['v[JtJ/g', 27, 168, 2267.42, 26, 23, 10.37, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['v[MtJ/g', 27, 167, 2589.49, 26, 23, 7.42, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 94, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['v[OtJ/g', 27, 167, 2392.53, 26, 23, 7.94, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 99, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['v[dtJ/g', 26, 167, 2380.55, 26, 23, 6.14, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 147, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['vaJpF;g', 29, 133, 3136.76, 26, 19, -34.41, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpH;g', 29, 134, 2960.01, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 52, 'ema_fast': 6, 'ema_slow': 44}], ['vaJp9;g', 29, 124, 3801.16, 23, 17, -37.62, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 37, 'ema_fast': 6, 'ema_slow': 44}], ['vVJp4._', 23, 188, 2406.45, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 32, 'ema_fast': 3, 'ema_slow': 41}], ['vdJpo7_', 28, 163, 1836.74, 34, 23, 18.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 41}], ['vdJpo5_', 28, 163, 1836.74, 34, 23, 18.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 41}], ['vP3E;1f', 33, 159, 1141.61, 40, 22, 13.19, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 39, 'ema_fast': 4, 'ema_slow': 44}], ['GbU[3aj', 36, 77, 256.86, 45, 11, 2.89, {'qty_to_risk': 4, 'target_pnl': 300, 'stop': 113, 'donchlen': 132, 'treshold': 31, 'ema_fast': 15, 'ema_slow': 45}], ['pD3vo1]', 29, 186, 1037.73, 35, 28, -5.09, {'qty_to_risk': 7, 'target_pnl': 158, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kD3so1]', 29, 185, 885.39, 35, 28, -6.62, {'qty_to_risk': 7, 'target_pnl': 158, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['ad3EpIe', 39, 156, 886.94, 34, 23, -15.14, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 43}], ['vG3so1l', 30, 181, 1285.38, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 172, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vG3sp1l', 30, 181, 1285.38, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 172, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['v\\on51`', 26, 159, 2332.0, 36, 19, 53.27, {'qty_to_risk': 8, 'target_pnl': 272, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vcKpF4b', 28, 153, 2437.63, 36, 22, 24.71, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 90, 'donchlen': 183, 'treshold': 50, 'ema_fast': 5, 'ema_slow': 42}], ['vdJpS4_', 28, 157, 1782.23, 34, 23, 18.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 64, 'ema_fast': 5, 'ema_slow': 41}], ['vcvpF4b', 28, 152, 2365.78, 28, 21, 0.79, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 188, 'donchlen': 183, 'treshold': 50, 'ema_fast': 5, 'ema_slow': 42}], ['vaJpN;g', 29, 137, 2908.28, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 58, 'ema_fast': 6, 'ema_slow': 44}], ['vXJp7._', 22, 192, 2063.79, 37, 24, 73.34, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 35, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp7._', 22, 192, 1959.47, 37, 24, 73.34, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 35, 'ema_fast': 3, 'ema_slow': 41}], ['vWJpo1_', 25, 179, 1702.78, 36, 25, 46.47, {'qty_to_risk': 8, 'target_pnl': 248, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vT3?o1l', 31, 198, 983.48, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vF3?o1l', 31, 198, 926.08, 48, 35, 35.96, {'qty_to_risk': 8, 'target_pnl': 167, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vP3po1f', 30, 182, 1223.09, 40, 25, 8.77, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 44}], ['vP3wo1f', 30, 182, 1527.73, 37, 27, -1.8, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 44}], ['safs51l', 26, 153, 2928.33, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vF3sp1l', 30, 181, 1378.71, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 167, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vT3sp1l', 30, 181, 1350.3, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['sXvp5.Y', 23, 196, 2146.89, 34, 23, 61.53, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 39}], ['kD9?o1H', 29, 217, 897.86, 39, 28, 18.95, {'qty_to_risk': 7, 'target_pnl': 158, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vdOpoL9', 30, 146, 1863.92, 31, 19, 9.84, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 27}], ['vdOpoL8', 30, 146, 1863.92, 31, 19, 9.84, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 27}], ['s`fs51l', 26, 153, 2825.29, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vahpJ;g', 28, 135, 3360.68, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 156, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaQpJ;g', 29, 135, 3270.91, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 103, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vappJ;g', 28, 135, 3200.73, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 174, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaepJ;g', 28, 135, 3420.86, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 149, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vafpJ;g', 28, 135, 3408.73, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 151, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaPpJ;g', 29, 135, 3351.67, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 101, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vajpJ;g', 28, 135, 3323.26, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 160, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaVpJ;g', 29, 135, 3311.56, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 115, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaYpJ;g', 28, 135, 3207.91, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 122, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vatpJ;g', 28, 135, 3131.95, 25, 20, -36.28, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 183, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['raJpJ;g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpJ:g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['saJpJ;g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaJoJ;g', 29, 136, 3119.27, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 181, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['v`JpJ;g', 29, 136, 2996.35, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['v^JpJ;g', 29, 136, 2967.74, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaLpJ;g', 29, 135, 3887.32, 20, 20, -37.06, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 92, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vaMpJ;g', 29, 135, 3762.28, 20, 20, -37.29, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 94, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['sXvp5.[', 23, 195, 2114.7, 34, 23, 59.17, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 40}], ['v^op5/`', 27, 159, 2668.1, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['v^Jpi/Y', 25, 182, 1949.23, 36, 25, 40.65, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 86, 'ema_fast': 4, 'ema_slow': 39}], ['Uqeo@3b', 28, 151, 974.31, 33, 21, 21.58, {'qty_to_risk': 5, 'target_pnl': 372, 'stop': 149, 'donchlen': 181, 'treshold': 44, 'ema_fast': 5, 'ema_slow': 42}], ['v93po1c', 30, 186, 1084.16, 40, 25, -4.7, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 43}], ['vZ3p51l', 29, 154, 1344.09, 28, 21, -5.65, {'qty_to_risk': 8, 'target_pnl': 262, 'stop': 35, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['pC3vo1]', 29, 186, 1019.18, 35, 28, -9.67, {'qty_to_risk': 7, 'target_pnl': 153, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vJ3so1l', 30, 181, 1425.72, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 186, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vJ3sp1l', 30, 181, 1425.72, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 186, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vI3so1l', 30, 181, 1307.83, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 182, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['v^JpF/g', 26, 165, 2391.66, 39, 23, 46.35, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 44}], ['vS3?o1l', 31, 198, 964.5, 48, 35, 45.11, {'qty_to_risk': 8, 'target_pnl': 229, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sdfs61l', 26, 154, 2076.54, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 34, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?ohl', 40, 142, 1108.06, 39, 28, -24.58, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 17, 'ema_slow': 46}], ['vaJp=;g', 29, 131, 3645.68, 27, 18, -29.96, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 41, 'ema_fast': 6, 'ema_slow': 44}], ['vaJpJ;i', 29, 139, 2871.34, 21, 19, -38.75, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 45}], ['vVJ/2._', 23, 188, 3181.8, 38, 26, 84.61, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 25, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vXJp/._', 22, 171, 2206.25, 33, 21, 82.07, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 27, 'ema_fast': 3, 'ema_slow': 41}], ['vVjp2._', 22, 181, 2617.23, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 160, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJo2._', 23, 181, 2570.32, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 181, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2.^', 23, 181, 2570.32, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2._', 23, 181, 2570.32, 34, 23, 53.85, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVRp2._', 22, 181, 2551.84, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 106, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVTp2._', 22, 181, 2512.34, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 110, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVXp2._', 22, 181, 2413.63, 34, 23, 53.88, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 119, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVNp2._', 22, 181, 2538.94, 34, 23, 52.46, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 97, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJ)2._', 23, 195, 1481.09, 35, 28, 48.64, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 10, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['lVJp2._', 23, 181, 1855.41, 34, 23, 47.77, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['iVJp2._', 23, 181, 1855.41, 34, 23, 47.77, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['nVJp2._', 23, 181, 1855.41, 34, 23, 47.77, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJr2._', 23, 181, 2551.79, 30, 23, 44.52, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 188, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vW3so1l', 30, 181, 1480.15, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 248, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], [']a2A;ov', 38, 121, 437.51, 34, 23, -21.89, {'qty_to_risk': 6, 'target_pnl': 296, 'stop': 33, 'donchlen': 69, 'treshold': 39, 'ema_fast': 18, 'ema_slow': 50}], ['vXJp.._', 22, 170, 2249.7, 33, 21, 82.07, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 26, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp.._', 22, 170, 2126.6, 33, 21, 82.07, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 26, 'ema_fast': 3, 'ema_slow': 41}], ['vYJn31_', 26, 155, 3183.64, 35, 20, 48.12, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 87, 'donchlen': 178, 'treshold': 31, 'ema_fast': 4, 'ema_slow': 41}], ['vdfp5(l', 21, 218, 1955.95, 28, 28, 36.7, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['sdfs5(l', 21, 218, 1934.64, 25, 28, 26.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['vdds=1l', 26, 163, 2273.86, 27, 22, 4.95, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 41, 'ema_fast': 4, 'ema_slow': 46}], ['vdos>1l', 26, 163, 2131.45, 26, 23, -4.29, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 42, 'ema_fast': 4, 'ema_slow': 46}], ['vddsf1l', 26, 172, 1717.54, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 83, 'ema_fast': 4, 'ema_slow': 46}], ['vV3sp1l', 30, 181, 1480.15, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['voJpJ;g', 29, 136, 2553.58, 25, 20, -36.7, {'qty_to_risk': 8, 'target_pnl': 362, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 44}], ['vZJp2._', 23, 181, 2760.32, 34, 23, 56.94, {'qty_to_risk': 8, 'target_pnl': 262, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2.Q', 24, 200, 2138.78, 32, 25, 55.45, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 36}], ['vqop5.W', 23, 196, 2827.28, 33, 24, 50.59, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 38}], ['mQS_l.S', 21, 211, 279.1, 31, 29, 41.06, {'qty_to_risk': 7, 'target_pnl': 220, 'stop': 108, 'donchlen': 142, 'treshold': 89, 'ema_fast': 3, 'ema_slow': 37}], ['*dLU8YD', 34, 93, 108.48, 30, 13, -2.74, {'qty_to_risk': 2, 'target_pnl': 310, 'stop': 92, 'donchlen': 117, 'treshold': 36, 'ema_fast': 13, 'ema_slow': 31}], ['kd3E.H]', 36, 116, 1430.81, 40, 15, -3.23, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 26, 'ema_fast': 9, 'ema_slow': 40}], ['vqom5.`', 23, 189, 2124.49, 33, 24, 47.02, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 176, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vqop5.a', 22, 189, 2115.73, 33, 24, 47.02, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vqsp5.`', 22, 189, 2063.58, 33, 24, 47.02, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 181, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 42}], ['vaJpJ1g', 26, 167, 2729.22, 37, 24, 45.25, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['vaJtJ/g', 27, 168, 2861.0, 26, 23, 2.49, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 44}], ['p<3vo1]', 29, 186, 1049.6, 35, 28, -14.03, {'qty_to_risk': 7, 'target_pnl': 120, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vH3so1l', 30, 181, 1247.74, 31, 29, -19.3, {'qty_to_risk': 8, 'target_pnl': 177, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vVJp2.Y', 23, 189, 2010.14, 34, 23, 61.5, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 39}], ['vdfp5.d', 21, 189, 1846.81, 36, 22, 53.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 43}], ['vdfp5.e', 21, 189, 1846.81, 36, 22, 53.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 43}], ['vYJpF._', 22, 199, 1787.28, 34, 26, 52.34, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vN3Bo,a', 29, 223, 1144.73, 39, 33, 37.29, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 71, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['pN3oo,j', 25, 212, 761.07, 37, 29, 18.24, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 181, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 45}], ['vN3wo,a', 25, 216, 1027.22, 34, 32, 13.34, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['vN3vo,a', 25, 216, 1027.22, 34, 32, 13.34, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['vN3to,a', 25, 216, 1027.11, 34, 32, 9.39, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 42}], ['vd3EoHS', 38, 162, 1270.34, 43, 23, -11.34, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 9, 'ema_slow': 37}], ['vYon51Q', 26, 168, 3395.1, 36, 19, 51.71, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 36}], ['vkop5.U', 23, 196, 2358.35, 33, 24, 50.59, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 38}], ['vXopF._', 22, 199, 1777.92, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 172, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vXqpF._', 22, 199, 1777.92, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 176, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v^Jpn/Y', 25, 185, 2127.4, 36, 25, 40.65, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 91, 'ema_fast': 4, 'ema_slow': 39}], ['v^Jpv/Y', 25, 185, 2045.77, 36, 25, 40.65, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 99, 'ema_fast': 4, 'ema_slow': 39}], ['vVBp2._', 23, 181, 1828.71, 34, 23, 33.55, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 69, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vXJ@F._', 23, 186, 2427.9, 29, 27, 26.48, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 66, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vdJpoL:', 29, 145, 1384.92, 33, 18, 13.71, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 28}], ['vdOpoL;', 30, 145, 1627.22, 27, 18, 11.81, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 28}], ['vP3no1a', 30, 186, 1122.07, 40, 25, 3.26, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 178, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['iJovj:)', 24, 239, 484.69, 28, 38, -10.21, {'qty_to_risk': 7, 'target_pnl': 186, 'stop': 172, 'donchlen': 198, 'treshold': 87, 'ema_fast': 6, 'ema_slow': 21}], ['pd3voA]', 34, 143, 1203.03, 29, 17, -24.03, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 8, 'ema_slow': 40}], ['vVJpF/Y', 25, 174, 2063.8, 37, 24, 52.8, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['vXMpB._', 22, 198, 1840.3, 34, 26, 47.73, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 94, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['vXbpB._', 22, 198, 1925.97, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 142, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['vXjpB._', 22, 198, 1925.97, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 160, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['vXtpB._', 22, 198, 1925.97, 34, 26, 45.68, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 183, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['sdvp5.l', 21, 183, 1559.26, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['sfvp5.l', 21, 183, 1766.85, 33, 24, 40.08, {'qty_to_risk': 8, 'target_pnl': 319, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['v^JpF/]', 26, 169, 2680.74, 37, 24, 39.51, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 40}], ['sdMp5.l', 22, 183, 1607.27, 33, 24, 39.23, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 94, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['sdNp5.l', 22, 183, 1523.95, 33, 24, 39.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['vdft5.l', 22, 184, 1766.37, 29, 24, 32.67, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 193, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['sdfs5-l', 21, 183, 1455.82, 29, 24, 32.67, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 46}], ['vaJpJ;N', 30, 150, 2617.14, 39, 23, 29.55, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 35}], ['9]JIo0S', 24, 174, 222.6, 41, 24, 27.33, {'qty_to_risk': 3, 'target_pnl': 277, 'stop': 87, 'donchlen': 88, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 37}], ['vVJ@F._', 23, 186, 2305.19, 29, 27, 26.48, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 66, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v[JtJ.g', 21, 210, 1659.0, 24, 25, 16.36, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 3, 'ema_slow': 44}], ['vP3Ep)l', 26, 249, 565.29, 35, 34, 12.78, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 2, 'ema_slow': 46}], ['kdOqo1l', 27, 175, 1345.74, 30, 26, 1.32, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 99, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kdVqo1l', 27, 174, 1263.47, 30, 26, 1.4, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 115, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdOpo/l', 27, 175, 1780.29, 30, 26, -0.92, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdOpo1l', 27, 175, 1780.29, 30, 26, -0.92, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kdaqo1l', 26, 172, 1151.76, 30, 26, -2.06, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 140, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['-c1W<Zf', 37, 109, 65.94, 53, 15, -2.54, {'qty_to_risk': 2, 'target_pnl': 305, 'stop': 31, 'donchlen': 122, 'treshold': 40, 'ema_fast': 13, 'ema_slow': 44}], ['vdRso1l', 27, 174, 1874.45, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 106, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdRsp1l', 27, 174, 1874.45, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 106, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vdYso1l', 27, 174, 1837.85, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 122, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdZso1l', 27, 174, 1817.62, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 124, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdZsp1l', 27, 174, 1817.62, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 124, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd[so1l', 27, 174, 1781.49, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 126, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdjso1l', 26, 173, 1554.68, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 160, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdoso1l', 26, 173, 1501.98, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdLso1l', 27, 175, 2221.88, 24, 25, -14.45, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 92, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vN3BO,f', 28, 217, 1223.92, 43, 30, 57.71, {'qty_to_risk': 8, 'target_pnl': 205, 'stop': 35, 'donchlen': 71, 'treshold': 59, 'ema_fast': 3, 'ema_slow': 44}], ['vkop5._', 22, 189, 2763.54, 34, 23, 44.1, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 41}], ['sXvp5.N', 21, 210, 1468.64, 29, 27, 40.57, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 35}], ['sXvp5.O', 21, 210, 1468.64, 29, 27, 40.57, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 35}], ['kX9?o1H', 29, 217, 1459.94, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['v=3so1_', 30, 185, 1086.95, 35, 28, -17.14, {'qty_to_risk': 8, 'target_pnl': 125, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['v[JtJ/r', 28, 160, 2567.97, 20, 24, -44.08, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 48}], ['vC9pY1F', 25, 216, 416.4, 39, 28, 60.67, {'qty_to_risk': 8, 'target_pnl': 153, 'stop': 49, 'donchlen': 183, 'treshold': 70, 'ema_fast': 4, 'ema_slow': 32}], ['vVJp\\._', 22, 207, 1435.09, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 73, 'ema_fast': 3, 'ema_slow': 41}], ['vVJpZ._', 22, 205, 1297.72, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 71, 'ema_fast': 3, 'ema_slow': 41}], ['k89?o1H', 29, 217, 601.17, 39, 28, 9.23, {'qty_to_risk': 7, 'target_pnl': 101, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vdds?1l', 26, 164, 2211.02, 26, 23, -4.29, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 43, 'ema_fast': 4, 'ema_slow': 46}], ['vdos?1l', 26, 164, 2070.71, 26, 23, -4.29, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 43, 'ema_fast': 4, 'ema_slow': 46}], ['vdos;1l', 27, 160, 2381.13, 23, 21, -7.6, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 39, 'ema_fast': 4, 'ema_slow': 46}], ['vVJpI._', 22, 200, 1459.43, 34, 26, 50.53, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 53, 'ema_fast': 3, 'ema_slow': 41}], ['vqon51`', 26, 159, 2576.59, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vjop5/`', 27, 159, 2329.85, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 338, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['Rm^VO9P', 26, 138, 257.04, 45, 22, 33.24, {'qty_to_risk': 5, 'target_pnl': 353, 'stop': 133, 'donchlen': 120, 'treshold': 59, 'ema_fast': 6, 'ema_slow': 36}], ['bXfqL=C', 29, 156, 993.95, 42, 21, 26.66, {'qty_to_risk': 6, 'target_pnl': 253, 'stop': 151, 'donchlen': 185, 'treshold': 56, 'ema_fast': 7, 'ema_slow': 31}], ['stfs51l', 26, 153, 2659.87, 25, 20, 2.97, {'qty_to_risk': 8, 'target_pnl': 386, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdbp5/`', 27, 159, 2445.12, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 142, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdkp5/`', 27, 159, 2311.66, 36, 19, 40.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 163, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdIp5/`', 27, 159, 2157.96, 36, 19, 40.54, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 85, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdMp5/`', 27, 159, 2626.21, 36, 19, 39.15, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 94, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vdNp5/`', 27, 159, 2497.15, 36, 19, 38.34, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vXJpw._', 22, 211, 1704.65, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 100, 'ema_fast': 3, 'ema_slow': 41}], ['vXJpo._', 22, 211, 1704.65, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vVJpq._', 22, 211, 1632.94, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 94, 'ema_fast': 3, 'ema_slow': 41}], ['vXPpo._', 22, 211, 1617.93, 32, 28, 33.2, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 101, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['eXJpo._', 22, 211, 1313.2, 32, 28, 31.39, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdds51b', 27, 159, 2391.88, 31, 19, 30.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 42}], ['vXUpo._', 22, 210, 1714.35, 32, 28, 30.42, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 113, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['pdPvo1]', 27, 180, 1394.93, 28, 25, 7.47, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 101, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pdfvo1]', 26, 178, 1301.86, 28, 25, 6.92, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 151, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pdtvo1]', 26, 178, 1202.36, 28, 25, 6.92, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 183, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vXZro._', 22, 209, 1717.65, 25, 28, 5.04, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 124, 'donchlen': 188, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdop5/l', 26, 153, 2185.44, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['srfs51l', 26, 153, 2659.87, 25, 20, 2.97, {'qty_to_risk': 8, 'target_pnl': 376, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sqfs51l', 26, 153, 2562.68, 25, 20, 2.97, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdfm51l', 26, 153, 2349.09, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 176, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vddq51l', 26, 153, 2318.55, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 185, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdfq51l', 26, 153, 2295.84, 30, 20, 2.66, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 185, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vpds51l', 26, 153, 2587.75, 25, 20, -0.02, {'qty_to_risk': 8, 'target_pnl': 367, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['kdYso1]', 26, 178, 1746.41, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 122, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdWso1]', 27, 178, 1743.61, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 117, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdXso1]', 26, 178, 1713.65, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 119, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd]so1]', 26, 178, 1683.84, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 131, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd^so1]', 26, 178, 1655.87, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 133, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdaso1]', 26, 177, 1576.22, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 140, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdoso1]', 26, 177, 1466.59, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd_so1]', 26, 177, 1416.56, 25, 24, -0.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 135, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['smfs51l', 26, 153, 2416.95, 25, 20, -2.0, {'qty_to_risk': 8, 'target_pnl': 353, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vXZto._', 23, 211, 2219.58, 22, 27, -3.27, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 124, 'donchlen': 193, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdds51l', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdds51l', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdds51k', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['qdds51l', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdds51m', 26, 153, 2318.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sefs51l', 26, 153, 2298.26, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdUs51l', 27, 153, 2289.59, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 113, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdVs51l', 26, 153, 2266.23, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 115, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['sdis51l', 26, 153, 2255.92, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 158, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdXs51l', 26, 153, 2185.08, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 119, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['wdos51l', 26, 153, 2167.56, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdos51l', 26, 153, 2167.56, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdts51l', 26, 153, 2105.65, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 183, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vd]s51l', 26, 153, 2093.14, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 131, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdKs51l', 26, 153, 2508.39, 25, 20, -5.96, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 90, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdJs51l', 26, 153, 2183.0, 25, 20, -5.65, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['ad3EpIS', 37, 158, 881.62, 40, 22, -5.42, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 37}], ['ad3EpIT', 37, 158, 881.62, 40, 22, -5.42, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 10, 'ema_slow': 37}], ['vdOs51l', 27, 153, 2340.46, 25, 20, -6.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdosD1l', 26, 165, 1882.63, 25, 24, -9.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 48, 'ema_fast': 4, 'ema_slow': 46}], ['vqop5.v', 23, 171, 2692.26, 26, 23, -23.96, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 50}], ['sdfs51s', 26, 148, 2312.51, 20, 20, -41.08, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 49}], ['vdfp5.j', 22, 184, 2022.81, 34, 23, 46.39, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 45}], ['v_JpF.b', 23, 198, 2047.16, 33, 27, 44.66, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 42}], ['PbIT=>K', 28, 125, 349.21, 45, 20, 33.26, {'qty_to_risk': 5, 'target_pnl': 300, 'stop': 85, 'donchlen': 115, 'treshold': 41, 'ema_fast': 7, 'ema_slow': 34}], ['pdJvo1]', 26, 181, 1159.85, 28, 25, 10.4, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 87, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kdJso1]', 26, 180, 1363.27, 25, 24, -0.37, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 87, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['scfs51l', 26, 153, 2264.67, 25, 20, -4.93, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['ev7CNRG', 39, 138, 851.01, 28, 25, -13.3, {'qty_to_risk': 7, 'target_pnl': 395, 'stop': 44, 'donchlen': 74, 'treshold': 58, 'ema_fast': 12, 'ema_slow': 32}], ['vdop5,v', 23, 171, 2421.44, 26, 23, -23.96, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 50}], ['vdop5)`', 20, 236, 1966.67, 29, 31, 61.73, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 42}], ['vdop5*`', 20, 236, 1966.67, 29, 31, 61.73, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 42}], ['vdop5,Z', 23, 196, 2397.56, 34, 23, 50.28, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 39}], ['pU3Bo,j', 29, 223, 946.14, 44, 34, 39.01, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 71, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 45}], ['vYon512', 24, 226, 1933.09, 26, 38, 36.17, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 25}], ['Xdq.9P=', 30, 131, 1246.26, 45, 20, 33.49, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 176, 'donchlen': 23, 'treshold': 37, 'ema_fast': 11, 'ema_slow': 29}], ['vdosG1l', 26, 165, 1882.63, 25, 24, -9.06, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 51, 'ema_fast': 4, 'ema_slow': 46}], ['vYon51H', 25, 184, 2482.48, 35, 20, 35.23, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['IWe_<2W', 25, 165, 642.38, 38, 21, 34.54, {'qty_to_risk': 5, 'target_pnl': 248, 'stop': 149, 'donchlen': 142, 'treshold': 40, 'ema_fast': 4, 'ema_slow': 38}], ['qSKn-;4', 28, 170, 1951.2, 43, 16, 29.18, {'qty_to_risk': 8, 'target_pnl': 229, 'stop': 90, 'donchlen': 178, 'treshold': 25, 'ema_fast': 6, 'ema_slow': 25}], ['_tT<c6F', 25, 182, 595.23, 37, 24, -0.17, {'qty_to_risk': 6, 'target_pnl': 386, 'stop': 110, 'donchlen': 57, 'treshold': 80, 'ema_fast': 5, 'ema_slow': 32}], ['vdOso1_', 26, 179, 1987.14, 25, 24, -1.91, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vdfso1_', 25, 177, 1736.36, 25, 24, -1.91, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vdIso1_', 26, 180, 1434.22, 25, 24, -2.18, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 85, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['pF3vo1]', 29, 186, 1176.34, 35, 28, -5.09, {'qty_to_risk': 7, 'target_pnl': 167, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kN3so1]', 29, 185, 975.82, 35, 28, -5.97, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kO3so1]', 29, 185, 975.82, 35, 28, -5.97, {'qty_to_risk': 7, 'target_pnl': 210, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['k_3EQH]', 36, 153, 975.95, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 286, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['kd3EoM]', 37, 152, 1172.04, 31, 22, -17.75, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 40}], ['v^JpF/u', 26, 159, 2469.54, 25, 24, -30.42, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 49}], ['vd3p4<l', 34, 120, 2170.19, 21, 14, -35.84, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 32, 'ema_fast': 7, 'ema_slow': 46}], ['vXZpo.Y', 23, 217, 1629.82, 33, 27, 53.51, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 39}], ['vaJpJ.g', 21, 208, 1642.84, 34, 26, 49.43, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 3, 'ema_slow': 44}], ['v_JpF/Y', 25, 174, 2737.76, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^JpF/Y', 25, 174, 2673.52, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^JpF/Z', 25, 174, 2673.52, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v`JpF/Y', 25, 174, 2359.0, 37, 24, 42.98, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v_JpF._', 22, 199, 2019.59, 34, 26, 41.49, {'qty_to_risk': 8, 'target_pnl': 286, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v^JpF._', 22, 199, 1949.09, 34, 26, 41.49, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['v^JpF/U', 25, 178, 2658.62, 37, 24, 39.79, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 38}], ['v^MpF/Y', 26, 173, 2772.86, 37, 24, 39.5, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 94, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^apF/Y', 25, 173, 2646.38, 37, 24, 38.89, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 140, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^`pF/Y', 25, 173, 2306.06, 37, 24, 38.89, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 138, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['Z^JpF/Y', 25, 174, 1376.86, 37, 24, 35.01, {'qty_to_risk': 6, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['v^JhF/Y', 24, 171, 1500.89, 34, 23, 29.17, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 164, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['vVJp2.C', 21, 220, 1436.56, 29, 31, 20.41, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 31}], ['kd3E1H]', 36, 122, 1491.54, 40, 15, -3.23, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 29, 'ema_fast': 9, 'ema_slow': 40}], ['kJ3so1]', 29, 185, 1035.31, 35, 28, -6.62, {'qty_to_risk': 7, 'target_pnl': 186, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3EQJ]', 37, 147, 1200.83, 31, 22, -17.75, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 10, 'ema_slow': 40}], ['`a2@srh', 39, 141, 414.49, 33, 27, -20.2, {'qty_to_risk': 6, 'target_pnl': 296, 'stop': 33, 'donchlen': 66, 'treshold': 96, 'ema_fast': 19, 'ema_slow': 44}], ['Yn14iDf', 32, 201, 230.81, 42, 33, -22.85, {'qty_to_risk': 6, 'target_pnl': 357, 'stop': 31, 'donchlen': 37, 'treshold': 86, 'ema_fast': 8, 'ema_slow': 44}], ['vbJpB._', 22, 198, 1957.82, 34, 26, 41.49, {'qty_to_risk': 8, 'target_pnl': 300, 'stop': 87, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 41}], ['v93po1F', 25, 222, 835.65, 46, 28, 35.25, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 32}], ['vP3so1_', 30, 185, 1119.78, 35, 28, -4.5, {'qty_to_risk': 8, 'target_pnl': 215, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['pW3vo1]', 29, 186, 1266.77, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 248, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vn3Eo?l', 36, 168, 1701.84, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vn3Eo=l', 36, 168, 1701.84, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vVJpK._', 22, 202, 1575.44, 33, 27, 50.6, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 55, 'ema_fast': 3, 'ema_slow': 41}], ['pV3vo1]', 29, 186, 1266.77, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vd3D5@l', 37, 131, 2579.75, 47, 19, -12.67, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 76, 'treshold': 33, 'ema_fast': 7, 'ema_slow': 46}], ['vddsP1l', 26, 168, 2044.31, 24, 25, -13.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 61, 'ema_fast': 4, 'ema_slow': 46}], ['vkJp2._', 23, 181, 2068.61, 34, 23, 44.07, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vVJp2.H', 22, 210, 1406.48, 32, 28, 33.99, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 33}], ['wS@?Q-e', 23, 203, 1084.23, 32, 28, 25.86, {'qty_to_risk': 8, 'target_pnl': 229, 'stop': 65, 'donchlen': 64, 'treshold': 62, 'ema_fast': 3, 'ema_slow': 43}], ['kd3E@H]', 37, 142, 1667.53, 42, 21, -3.3, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 44, 'ema_fast': 9, 'ema_slow': 40}], ['ad3Ep?l', 36, 168, 949.5, 48, 27, -14.22, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 93, 'ema_fast': 7, 'ema_slow': 46}], ['vd3Eo=l', 36, 168, 1811.27, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3Eo>l', 36, 168, 1811.27, 48, 27, -18.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['kd3po@l', 34, 146, 1463.08, 36, 19, -25.21, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3so>l', 34, 147, 2379.6, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3so?l', 34, 147, 2379.6, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3sp<l', 34, 147, 2379.6, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po@l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po=l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po<l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vd3po?l', 34, 146, 2037.24, 36, 19, -29.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 46}], ['vdJp<,`', 23, 196, 1760.51, 36, 25, 65.73, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 40, 'ema_fast': 3, 'ema_slow': 42}], ['vk3?5)l', 26, 210, 1121.95, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['veJp2._', 23, 181, 2222.74, 34, 23, 44.07, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 87, 'donchlen': 183, 'treshold': 30, 'ema_fast': 3, 'ema_slow': 41}], ['vYon51F', 25, 189, 3903.54, 38, 21, 35.53, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 32}], ['vT3po)l', 24, 248, 823.72, 31, 32, -6.18, {'qty_to_risk': 8, 'target_pnl': 234, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kd3E_H]', 36, 158, 922.59, 41, 24, -12.4, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 76, 'ema_fast': 9, 'ema_slow': 40}], ['vXJpB.w', 24, 183, 2210.92, 26, 26, -25.36, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 87, 'donchlen': 183, 'treshold': 46, 'ema_fast': 3, 'ema_slow': 50}], ['ve3?5)l', 26, 210, 1178.11, 40, 32, 59.65, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 35, 'donchlen': 64, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['vaJpJ;<', 28, 181, 1930.12, 40, 25, 45.73, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 28}], ['vVJpR._', 22, 203, 1545.55, 32, 28, 35.84, {'qty_to_risk': 8, 'target_pnl': 243, 'stop': 87, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 41}], ['vdfp5.q', 23, 180, 2123.39, 34, 23, 29.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 48}], ['vd3p5)l', 23, 219, 958.55, 32, 28, 9.12, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 33, 'ema_fast': 2, 'ema_slow': 46}], ['kN3ko,r', 27, 208, 722.03, 32, 28, -2.6, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['kN3ko-r', 27, 208, 722.03, 32, 28, -2.6, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['v]3p51l', 29, 154, 1260.63, 28, 21, -5.65, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 35, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['vdop5/_', 25, 159, 2361.82, 35, 20, 36.95, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 41}], ['v\\3?o1l', 31, 198, 1107.39, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 272, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sdfs51_', 25, 159, 2474.73, 30, 20, 26.3, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 41}], ['vdIpo.l', 22, 206, 1085.99, 31, 29, 26.53, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 85, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vdOpo+l', 22, 205, 1184.66, 31, 29, 21.92, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vdVpo.l', 22, 204, 1112.28, 31, 29, 19.8, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 115, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['ghl_\\=3', 29, 174, 942.06, 34, 26, 19.52, {'qty_to_risk': 7, 'target_pnl': 329, 'stop': 165, 'donchlen': 142, 'treshold': 73, 'ema_fast': 7, 'ema_slow': 25}], ['kd3E5H]', 36, 125, 1411.3, 43, 16, -2.2, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 33, 'ema_fast': 9, 'ema_slow': 40}], ['kd3E8H]', 36, 130, 1358.28, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 36, 'ema_fast': 9, 'ema_slow': 40}], ['kd3CQH]', 38, 155, 1196.17, 48, 25, -2.53, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 74, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['k]3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 277, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['sd3EQH]', 36, 153, 1250.92, 41, 24, -12.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 62, 'ema_fast': 9, 'ema_slow': 40}], ['v\\3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 272, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['v]3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['v]3sp1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 277, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vdfp5.M', 21, 210, 2022.13, 29, 27, 33.46, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 35}], ['vdds51R', 26, 168, 3795.25, 31, 19, 27.54, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 36}], ['sdfs51Q', 26, 168, 3795.25, 31, 19, 27.54, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 36}], ['v[JtJ(g', 22, 248, 2240.73, 19, 31, 12.38, {'qty_to_risk': 8, 'target_pnl': 267, 'stop': 87, 'donchlen': 193, 'treshold': 54, 'ema_fast': 2, 'ema_slow': 44}], ['kd3EHH]', 37, 148, 1502.77, 40, 22, -7.85, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 52, 'ema_fast': 9, 'ema_slow': 40}], ['vd3Eo8l', 34, 169, 1275.65, 42, 28, -14.65, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 46}], ['vd3?odl', 38, 149, 1087.85, 39, 28, -26.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 16, 'ema_slow': 46}], ['vd3so8l', 35, 153, 1755.59, 33, 21, -32.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 46}], ['vd3sp9l', 35, 153, 1755.59, 33, 21, -32.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 6, 'ema_slow': 46}], ['hXt*s/2', 24, 268, 839.83, 26, 50, 57.86, {'qty_to_risk': 7, 'target_pnl': 253, 'stop': 183, 'donchlen': 13, 'treshold': 96, 'ema_fast': 4, 'ema_slow': 25}], ['vaJpJ;B', 28, 171, 1488.4, 40, 20, 37.84, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 31}], ['kN5ko,r', 26, 206, 854.57, 28, 28, 34.1, {'qty_to_risk': 7, 'target_pnl': 205, 'stop': 40, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['vbopR.`', 22, 202, 1910.45, 31, 29, 26.58, {'qty_to_risk': 8, 'target_pnl': 300, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 42}], ['Or_1/.M', 21, 199, 375.04, 37, 27, 24.95, {'qty_to_risk': 5, 'target_pnl': 376, 'stop': 135, 'donchlen': 30, 'treshold': 27, 'ema_fast': 3, 'ema_slow': 35}], ['kavko,r', 23, 197, 1060.81, 29, 27, 3.73, {'qty_to_risk': 7, 'target_pnl': 296, 'stop': 188, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['v93mo1_', 30, 185, 1016.07, 36, 25, -10.23, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 176, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['td3EoH]', 36, 159, 1131.42, 41, 24, -12.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 92, 'ema_fast': 9, 'ema_slow': 40}], ['v93to1_', 30, 185, 1497.8, 35, 28, -19.39, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['sXvp5.7', 22, 251, 2261.68, 29, 41, 52.61, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 27}], ['vdos51S', 27, 166, 3940.27, 30, 20, 24.97, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 37}], ['kO3ko,r', 27, 208, 691.88, 32, 28, -2.52, {'qty_to_risk': 7, 'target_pnl': 210, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['v92po1_', 30, 185, 1016.13, 33, 27, -15.49, {'qty_to_risk': 8, 'target_pnl': 106, 'stop': 33, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['v`3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 291, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3so?_', 36, 150, 1883.32, 38, 21, -27.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 41}], ['vd3so=_', 36, 150, 1883.32, 38, 21, -27.19, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 7, 'ema_slow': 41}], ['vaJpJ;?', 26, 182, 1827.54, 45, 22, 65.98, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 6, 'ema_slow': 29}], ['\\qvqf*v', 21, 229, 1086.59, 27, 33, 21.87, {'qty_to_risk': 6, 'target_pnl': 372, 'stop': 188, 'donchlen': 185, 'treshold': 83, 'ema_fast': 2, 'ema_slow': 50}], ['>V?u^C*', 31, 187, 419.33, 30, 30, -0.46, {'qty_to_risk': 4, 'target_pnl': 243, 'stop': 62, 'donchlen': 195, 'treshold': 75, 'ema_fast': 8, 'ema_slow': 22}], ['kd3E9H]', 36, 130, 1358.28, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 37, 'ema_fast': 9, 'ema_slow': 40}], ['kd3so;]', 34, 156, 1201.74, 41, 24, -8.31, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 40}], ['kd3E6H]', 36, 128, 1298.44, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 34, 'ema_fast': 9, 'ema_slow': 40}], ['vQ3so1_', 30, 185, 1160.97, 35, 28, -4.5, {'qty_to_risk': 8, 'target_pnl': 220, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vH3so1_', 30, 185, 1089.49, 35, 28, -8.97, {'qty_to_risk': 8, 'target_pnl': 177, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vYon51:', 23, 209, 1415.31, 35, 28, 26.83, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['vYon51;', 23, 209, 1415.31, 35, 28, 26.83, {'qty_to_risk': 8, 'target_pnl': 258, 'stop': 172, 'donchlen': 178, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['vdds51J', 25, 184, 2774.51, 30, 20, 22.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['sdfs51J', 25, 184, 2749.57, 30, 20, 22.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['vvZpo._', 22, 210, 2164.98, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 395, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['sdfs512', 25, 227, 1858.58, 23, 38, 7.88, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 25}], [';]mcKO(', 29, 148, 216.08, 39, 23, 7.02, {'qty_to_risk': 3, 'target_pnl': 277, 'stop': 167, 'donchlen': 151, 'treshold': 55, 'ema_fast': 11, 'ema_slow': 21}], ['vt3ko3l', 32, 158, 1304.06, 29, 24, -36.99, {'qty_to_risk': 8, 'target_pnl': 386, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vk\\pF,_', 22, 199, 1629.5, 34, 26, 37.4, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 128, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['tdcpF._', 22, 199, 2000.0, 34, 26, 37.4, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 144, 'donchlen': 183, 'treshold': 50, 'ema_fast': 3, 'ema_slow': 41}], ['vdop5/Z', 26, 162, 3281.86, 35, 20, 36.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 39}], ['vdJpo)l', 21, 242, 1559.25, 28, 32, 25.28, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kdIpo)l', 21, 242, 1167.67, 28, 32, 25.79, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 85, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kdI?o1H', 25, 200, 750.4, 35, 28, 25.74, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 85, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kdNpo)l', 21, 242, 1184.97, 28, 32, 22.62, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 97, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdSpo)l', 21, 241, 1503.79, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 108, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdQpo)l', 21, 242, 1449.48, 28, 32, 21.32, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 103, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdfpo(l', 20, 239, 1276.17, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdhpo(l', 20, 239, 1256.98, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 156, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdopo(l', 20, 239, 1205.11, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd_po(l', 20, 240, 1205.11, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 135, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdopo)l', 20, 239, 1205.11, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdrpo(l', 20, 239, 1180.87, 28, 32, 21.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 179, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['kdO?o1H', 25, 198, 773.88, 35, 28, 20.41, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 99, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vdos51M', 26, 174, 3219.49, 28, 21, 15.55, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 35}], ['kdX?o1H', 24, 195, 691.09, 33, 27, 13.9, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 119, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kdU?o1H', 24, 195, 686.96, 33, 27, 11.89, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 113, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vd3?o6l', 33, 180, 885.89, 45, 35, -11.35, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3po4l', 33, 159, 1444.21, 32, 25, -35.46, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3po6l', 33, 159, 1444.21, 32, 25, -35.46, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3so5l', 33, 159, 1637.68, 30, 26, -42.02, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3so4l', 33, 159, 1637.68, 30, 26, -42.02, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 46}], ['vd3sp4l', 33, 159, 1637.68, 30, 26, -42.02, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 5, 'ema_slow': 46}], ['NCoF+A*', 29, 127, 406.42, 46, 15, 83.7, {'qty_to_risk': 5, 'target_pnl': 153, 'stop': 172, 'donchlen': 81, 'treshold': 23, 'ema_fast': 8, 'ema_slow': 22}], ['OsE\\e=)', 27, 214, 400.37, 45, 33, 66.95, {'qty_to_risk': 5, 'target_pnl': 381, 'stop': 76, 'donchlen': 134, 'treshold': 82, 'ema_fast': 7, 'ema_slow': 21}], ['sXvp5.?', 21, 239, 1362.06, 34, 38, 66.02, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 29}], ['sXvp5.=', 21, 239, 1362.06, 34, 38, 66.02, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 29}], ['E8kw9)r', 21, 218, 178.97, 27, 29, 31.01, {'qty_to_risk': 4, 'target_pnl': 101, 'stop': 163, 'donchlen': 200, 'treshold': 37, 'ema_fast': 2, 'ema_slow': 48}], ['vuZpo._', 22, 210, 2164.98, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 391, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['v53so1l', 30, 181, 981.66, 31, 29, -24.56, {'qty_to_risk': 8, 'target_pnl': 87, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vdop5/V', 27, 166, 4211.53, 35, 20, 35.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 38}], ['vdos51W', 27, 166, 4197.59, 30, 20, 24.97, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 38}], ['kV3ko,r', 27, 208, 764.96, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 243, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['vaJpJ)g', 21, 245, 1917.51, 28, 32, 45.17, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 2, 'ema_slow': 44}], ['vaJpJ*g', 21, 245, 1917.51, 28, 32, 45.17, {'qty_to_risk': 8, 'target_pnl': 296, 'stop': 87, 'donchlen': 183, 'treshold': 54, 'ema_fast': 2, 'ema_slow': 44}], ['vdop5/G', 25, 189, 4518.72, 38, 21, 35.53, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 32}], ['sXvp5.2', 23, 266, 2518.63, 23, 47, 26.2, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 25}], ['vdOpoL6', 31, 147, 2028.9, 36, 19, 22.31, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 26}], ['kd3E:H]', 36, 132, 1241.91, 47, 17, -2.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 38, 'ema_fast': 9, 'ema_slow': 40}], ['nj3U:WD', 38, 107, 724.13, 40, 15, -14.5, {'qty_to_risk': 7, 'target_pnl': 338, 'stop': 35, 'donchlen': 117, 'treshold': 38, 'ema_fast': 13, 'ema_slow': 31}], ['sXvp5.@', 21, 232, 1352.84, 35, 34, 71.08, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 30}], ['sXvp5.A', 21, 232, 1352.84, 35, 34, 71.08, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 30}], ['kdGpo)l', 21, 242, 1040.83, 28, 32, 27.1, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 81, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vdds51[', 27, 158, 3339.23, 30, 20, 26.3, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 40}], ['vdJpo+_', 22, 211, 1407.51, 32, 28, 26.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['veZpo._', 22, 210, 1919.95, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 315, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vkZpo._', 22, 210, 1835.44, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 124, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['vdqpo.^', 22, 208, 1750.25, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 176, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 41}], ['kd3so5]', 32, 167, 1288.67, 35, 28, -14.41, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 40}], ['v^JpF/G', 24, 206, 2650.1, 42, 26, 56.48, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 32}], ['kd[po.]', 23, 216, 1242.36, 32, 28, 27.33, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 126, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 40}], ['vdcp4L+', 32, 139, 3671.03, 36, 19, 2.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 144, 'donchlen': 183, 'treshold': 32, 'ema_fast': 10, 'ema_slow': 22}], ['vdvp4L+', 32, 139, 3671.03, 36, 19, 2.93, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 188, 'donchlen': 183, 'treshold': 32, 'ema_fast': 10, 'ema_slow': 22}], ['vd3so1e', 29, 185, 1356.08, 37, 27, -6.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 43}], ['vd3sp1c', 29, 185, 1356.08, 37, 27, -6.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 43}], ['kd9?o1i', 29, 193, 700.03, 31, 29, -13.26, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd:s51l', 28, 153, 1799.33, 25, 20, -22.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 51, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 46}], ['k]3wo1r', 31, 174, 1170.04, 27, 29, -36.92, {'qty_to_risk': 7, 'target_pnl': 277, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 48}], ['k]3vo1r', 31, 174, 1168.27, 27, 29, -36.92, {'qty_to_risk': 7, 'target_pnl': 277, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 48}], ['vd3E>1l', 32, 165, 1310.33, 44, 25, 14.05, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 42, 'ema_fast': 4, 'ema_slow': 46}], ['kU3ko,r', 27, 208, 737.15, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 239, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['pd3wo1j', 30, 185, 1206.69, 33, 27, -9.76, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd3so1j', 30, 184, 1365.16, 33, 27, -13.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd3so1i', 30, 184, 1365.16, 33, 27, -13.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 45}], ['vd3sf1l', 30, 178, 1109.72, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 83, 'ema_fast': 4, 'ema_slow': 46}], ['KecdnJ/', 29, 150, 359.54, 35, 20, 12.82, {'qty_to_risk': 5, 'target_pnl': 315, 'stop': 144, 'donchlen': 154, 'treshold': 91, 'ema_fast': 10, 'ema_slow': 24}], ['vw3so1l', 30, 181, 1364.12, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 400, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vkop5.7', 22, 251, 2419.47, 29, 41, 52.61, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 27}], ['vdfp5.F', 21, 224, 1363.92, 31, 32, 47.43, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 32}], ['vdqpo.X', 22, 215, 1628.64, 33, 27, 42.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 176, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 39}], ['vdqpo.Y', 22, 215, 1628.64, 33, 27, 42.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 176, 'donchlen': 183, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 39}], ['vj3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 338, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vi3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 334, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kt3qo1l', 30, 182, 979.79, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 386, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3Bp1l', 31, 194, 1182.71, 47, 34, 35.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 71, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?o/l', 31, 198, 1107.42, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?o1l', 31, 198, 1107.42, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?u1l', 31, 199, 1081.5, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 98, 'ema_fast': 4, 'ema_slow': 46}], ['vm3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 353, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vn3?o1l', 31, 198, 1054.59, 48, 35, 35.52, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3Ao1l', 30, 197, 1043.86, 47, 34, 33.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 69, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['od3?o1l', 31, 198, 855.06, 48, 35, 32.5, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['Wd3?o1l', 31, 198, 638.98, 48, 35, 26.64, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3Do1l', 30, 194, 955.39, 43, 32, 4.72, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 76, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vn3Do1l', 30, 194, 908.8, 43, 32, 4.72, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 76, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kf3qo1l', 30, 182, 1038.28, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['gd3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['od3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['ed3qo1l', 30, 182, 1025.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['kd3qu1l', 30, 183, 1001.62, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 98, 'ema_fast': 4, 'ema_slow': 46}], ['kr3qo1l', 30, 182, 979.79, 32, 28, -9.72, {'qty_to_risk': 7, 'target_pnl': 376, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['ad3wp1l', 30, 182, 890.24, 31, 29, -12.58, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3no1l', 30, 182, 1372.66, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 178, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3qo1l', 30, 182, 1366.79, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3po/l', 30, 182, 1366.82, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3po2l', 30, 182, 1366.82, 32, 28, -13.44, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3do1l', 29, 181, 793.58, 29, 27, -15.57, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 154, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['jd3so1l', 30, 181, 1066.14, 31, 29, -16.75, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3ro1l', 30, 180, 1228.28, 31, 29, -19.43, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 188, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3to1l', 30, 180, 1536.53, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vn3to1l', 30, 180, 1466.58, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 357, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sp1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sm1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 90, 'ema_fast': 4, 'ema_slow': 46}], ['vd3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['wd3so1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vc3sp1l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sp/l', 30, 181, 1429.09, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sv1l', 30, 182, 1395.85, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 99, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sr1l', 30, 182, 1395.85, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 95, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sw1l', 30, 182, 1395.85, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 100, 'ema_fast': 4, 'ema_slow': 46}], ['vo3so1l', 30, 181, 1364.12, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 362, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sl1l', 30, 180, 1043.2, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 89, 'ema_fast': 4, 'ema_slow': 46}], ['RZ-5*A+', 33, 169, 110.73, 42, 19, 21.09, {'qty_to_risk': 5, 'target_pnl': 262, 'stop': 21, 'donchlen': 40, 'treshold': 22, 'ema_fast': 8, 'ema_slow': 22}], ['vd3so1g', 30, 181, 1409.69, 37, 27, -6.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 44}], ['nhFo<58', 27, 201, 736.67, 46, 26, 51.55, {'qty_to_risk': 7, 'target_pnl': 329, 'stop': 78, 'donchlen': 181, 'treshold': 40, 'ema_fast': 5, 'ema_slow': 27}], ['vc\\pF4>', 25, 197, 1935.85, 44, 27, 46.26, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 128, 'donchlen': 183, 'treshold': 50, 'ema_fast': 5, 'ema_slow': 29}], ['vqopR,]', 22, 209, 1990.61, 32, 28, 33.15, {'qty_to_risk': 8, 'target_pnl': 372, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 40}], ['vd3sc1l', 30, 178, 1109.72, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 80, 'ema_fast': 4, 'ema_slow': 46}], ['vdJpoL)', 32, 168, 2257.74, 25, 27, -23.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 87, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 21}], ['vd3?F1l', 31, 180, 1429.75, 50, 32, 33.36, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 46}], ['kd9?o4H', 31, 195, 1017.57, 44, 25, 24.1, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 5, 'ema_slow': 33}], ['ku9?o1H', 29, 217, 1445.7, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 391, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?g1H', 29, 214, 1167.51, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 84, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?f1H', 29, 214, 1167.51, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 83, 'ema_fast': 4, 'ema_slow': 33}], ['vd3EC1l', 31, 172, 1191.8, 42, 26, 9.68, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 47, 'ema_fast': 4, 'ema_slow': 46}], ['k^3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 281, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['^cF-21O', 23, 181, 589.13, 34, 26, 25.34, {'qty_to_risk': 6, 'target_pnl': 305, 'stop': 78, 'donchlen': 20, 'treshold': 30, 'ema_fast': 4, 'ema_slow': 35}], ['vdopR._', 22, 203, 2022.19, 32, 28, 22.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 41}], ['sdfs51B', 24, 197, 4194.1, 32, 25, 19.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 31}], ['vd3E@1l', 31, 170, 1173.33, 44, 25, 14.05, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 78, 'treshold': 44, 'ema_fast': 4, 'ema_slow': 46}], ['kp9?o1H', 29, 217, 1411.1, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 367, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?b1H', 29, 214, 1167.51, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 79, 'ema_fast': 4, 'ema_slow': 33}], ['vt3to,l', 26, 213, 1012.97, 34, 32, 1.87, {'qty_to_risk': 8, 'target_pnl': 386, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vd3?o1H', 29, 222, 1063.32, 43, 32, 31.17, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['vd3Co1a', 31, 198, 944.24, 41, 29, 19.13, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 74, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['vdds51<', 24, 210, 1282.89, 32, 28, 14.04, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['vdds51;', 24, 210, 1282.89, 32, 28, 14.04, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 28}], ['>jHtMH7', 30, 155, 395.93, 30, 20, 7.81, {'qty_to_risk': 4, 'target_pnl': 338, 'stop': 83, 'donchlen': 193, 'treshold': 57, 'ema_fast': 9, 'ema_slow': 27}], ['vd3so.l', 25, 212, 891.32, 34, 32, 1.87, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vd3so,l', 25, 212, 891.32, 34, 32, 1.87, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 46}], ['vd3lo1a', 30, 185, 1255.78, 37, 24, -0.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 173, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['vd3mo1a', 30, 185, 1255.78, 37, 24, -0.69, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 176, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['kd3so1a', 30, 185, 987.72, 37, 27, -8.14, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 42}], ['vcopR.[', 22, 209, 1772.81, 32, 28, 33.15, {'qty_to_risk': 8, 'target_pnl': 305, 'stop': 172, 'donchlen': 183, 'treshold': 63, 'ema_fast': 3, 'ema_slow': 40}], ['vd3?T1l', 30, 187, 865.15, 47, 34, 31.15, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 65, 'ema_fast': 4, 'ema_slow': 46}], ['vkop5.2', 23, 266, 2356.32, 23, 47, 26.2, {'qty_to_risk': 8, 'target_pnl': 343, 'stop': 172, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 25}], ['vdOpoL-', 30, 163, 2041.13, 37, 24, 24.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 99, 'donchlen': 183, 'treshold': 92, 'ema_fast': 10, 'ema_slow': 23}], ['\\d9?o1H', 29, 217, 1023.4, 39, 28, 14.46, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], [']d9?o1H', 29, 217, 1023.4, 39, 28, 14.46, {'qty_to_risk': 6, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['wd9?o1H', 29, 217, 1862.38, 39, 28, 12.14, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?o2H', 29, 217, 1409.9, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['gd9?o1H', 29, 217, 1409.9, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?r1H', 29, 217, 1409.9, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 95, 'ema_fast': 4, 'ema_slow': 33}], ['kd3qo1n', 30, 178, 902.44, 29, 27, -29.02, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 47}], ['kd3s81]', 28, 163, 880.97, 39, 23, -0.53, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 36, 'ema_fast': 4, 'ema_slow': 40}], ['v^:pF/Y', 27, 176, 1396.05, 36, 25, 31.96, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 51, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 39}], ['vd:so1_', 27, 183, 1167.19, 30, 26, 6.13, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 51, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vd3sP1l', 29, 174, 1135.73, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 61, 'ema_fast': 4, 'ema_slow': 46}], ['vd3sR1l', 29, 174, 1135.73, 31, 29, -20.9, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 63, 'ema_fast': 4, 'ema_slow': 46}], ['kd9?;1H', 29, 184, 2612.96, 39, 23, 17.78, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 39, 'ema_fast': 4, 'ema_slow': 33}], ['kd9?W1H', 29, 212, 1044.89, 39, 28, 12.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 68, 'ema_fast': 4, 'ema_slow': 33}], ['v23so1l', 30, 181, 844.07, 31, 29, -20.83, {'qty_to_risk': 8, 'target_pnl': 72, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3?o1T', 30, 203, 1057.99, 42, 33, 25.49, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 64, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 37}], ['vd3sp1F', 25, 222, 1023.84, 43, 30, 25.74, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 32}], ['vd5po(l', 23, 247, 1073.08, 25, 32, 10.01, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 40, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd0so1l', 29, 182, 1070.15, 27, 29, -4.26, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 28, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 46}], ['vd3so1S', 27, 194, 1004.75, 35, 28, -10.27, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 37}], ['vdfp5.)', 22, 304, 1501.04, 34, 55, 79.33, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 21}], ['vdos51?', 23, 214, 1753.98, 36, 25, 31.27, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 172, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 29}], ['kd9?51H', 29, 172, 1768.37, 33, 21, 9.44, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 33}], ['vd3wo)l', 23, 248, 1004.76, 29, 34, -13.45, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd3so(l', 24, 248, 1143.62, 29, 34, -16.79, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 46}], ['vd3sp1X', 28, 190, 1175.52, 35, 28, -10.17, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 93, 'ema_fast': 4, 'ema_slow': 39}], ['vd3si1_', 30, 182, 979.8, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 86, 'ema_fast': 4, 'ema_slow': 41}], ['sXvp5.+', 22, 300, 1632.61, 26, 50, 25.63, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 22}], ['sXvp5.,', 22, 300, 1632.61, 26, 50, 25.63, {'qty_to_risk': 8, 'target_pnl': 253, 'stop': 188, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 22}], ['pd1vo1]', 28, 187, 950.29, 31, 29, -4.64, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 31, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pm3vo1]', 29, 186, 1155.02, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 353, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['ks3so1]', 29, 185, 990.24, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 381, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['JciU+8@', 25, 129, 309.07, 54, 11, 37.45, {'qty_to_risk': 5, 'target_pnl': 305, 'stop': 158, 'donchlen': 117, 'treshold': 23, 'ema_fast': 6, 'ema_slow': 30}], ['vl3po1_', 30, 185, 1059.8, 38, 26, 0.54, {'qty_to_risk': 8, 'target_pnl': 348, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vs3po1_', 30, 185, 1059.8, 38, 26, 0.54, {'qty_to_risk': 8, 'target_pnl': 381, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vh3po1_', 30, 185, 1059.8, 38, 26, 0.54, {'qty_to_risk': 8, 'target_pnl': 329, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['kd3sV1]', 28, 180, 753.89, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 67, 'ema_fast': 4, 'ema_slow': 40}], ['vd3wo1_', 30, 186, 1504.98, 35, 28, -9.1, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vf3so1_', 30, 185, 1278.79, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 319, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vd3so1_', 30, 185, 1263.28, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['vd3st1_', 30, 186, 1233.15, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 97, 'ema_fast': 4, 'ema_slow': 41}], ['vd3so1W', 27, 194, 1070.4, 35, 28, -10.27, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 38}], ['kd9?o;H', 32, 174, 954.44, 48, 25, 67.2, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 92, 'ema_fast': 6, 'ema_slow': 33}], ['v^JpF/@', 23, 221, 1078.03, 34, 32, 22.84, {'qty_to_risk': 8, 'target_pnl': 281, 'stop': 87, 'donchlen': 183, 'treshold': 50, 'ema_fast': 4, 'ema_slow': 30}], ['vdds51@', 23, 204, 2148.6, 30, 26, 21.91, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 147, 'donchlen': 190, 'treshold': 33, 'ema_fast': 4, 'ema_slow': 30}], ['pd3v?1]', 29, 173, 1097.95, 40, 25, 3.7, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 43, 'ema_fast': 4, 'ema_slow': 40}], ['vd4so1_', 30, 185, 1192.87, 29, 27, -0.04, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 37, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['pd3oo1]', 29, 186, 1014.18, 38, 26, 2.16, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 181, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3qo1[', 29, 185, 927.58, 38, 26, 2.16, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 185, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3lo1]', 29, 185, 1007.24, 36, 25, 1.67, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 173, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['Qd3vo1]', 29, 186, 601.68, 35, 28, -2.08, {'qty_to_risk': 5, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3po)u', 25, 239, 896.61, 31, 32, -3.82, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 49}], ['vd3po(t', 25, 239, 1172.98, 31, 32, -4.32, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 92, 'ema_fast': 2, 'ema_slow': 49}], ['pf3vo1]', 29, 186, 1227.59, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3wo1]', 29, 186, 1212.2, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 200, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3vq1]', 29, 186, 1210.37, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 94, 'ema_fast': 4, 'ema_slow': 40}], ['vd2so1_', 30, 186, 1438.32, 32, 28, -8.23, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 33, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 41}], ['kd3to1]', 29, 185, 1289.24, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3to1]', 29, 185, 1289.24, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 193, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['hd3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['gd3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3so0]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd3so/]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['id3so1]', 29, 185, 1036.82, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['qd3vo1]', 29, 186, 1649.3, 35, 28, -9.1, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['vd3so1\\', 29, 185, 1384.98, 35, 28, -10.47, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd3v\\1]', 29, 183, 980.06, 35, 28, -7.54, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 73, 'ema_fast': 4, 'ema_slow': 40}], ['vdfp5.,', 22, 300, 1626.82, 26, 50, 25.63, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 151, 'donchlen': 183, 'treshold': 33, 'ema_fast': 3, 'ema_slow': 22}], ['kv3ko,r', 27, 208, 698.51, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 395, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['eeUY+N,', 29, 113, 1095.42, 40, 10, 22.03, {'qty_to_risk': 7, 'target_pnl': 315, 'stop': 113, 'donchlen': 127, 'treshold': 23, 'ema_fast': 11, 'ema_slow': 22}], ['kd9?B1H', 29, 194, 1795.09, 40, 25, 19.98, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 46, 'ema_fast': 4, 'ema_slow': 33}], ['p43vo1]', 29, 186, 940.19, 35, 28, -12.05, {'qty_to_risk': 7, 'target_pnl': 82, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['pd6vo1]', 29, 185, 871.18, 25, 27, 23.08, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 42, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['kd6so1]', 29, 185, 973.11, 25, 27, 19.67, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 42, 'donchlen': 190, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}], ['XlIr0/7', 22, 209, 692.47, 31, 29, 29.78, {'qty_to_risk': 6, 'target_pnl': 348, 'stop': 85, 'donchlen': 188, 'treshold': 28, 'ema_fast': 4, 'ema_slow': 27}], ['kd9?J1H', 30, 203, 1381.71, 37, 27, 7.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 54, 'ema_fast': 4, 'ema_slow': 33}], ['kf3ko,r', 27, 208, 744.96, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 319, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['kd3ko,r', 27, 208, 734.11, 32, 28, -3.8, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 171, 'treshold': 92, 'ema_fast': 3, 'ema_slow': 48}], ['kd9?M1H', 29, 204, 1381.6, 37, 27, 7.95, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 49, 'donchlen': 64, 'treshold': 57, 'ema_fast': 4, 'ema_slow': 33}], ['pd3vD1]', 29, 175, 965.23, 37, 27, -4.28, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 198, 'treshold': 48, 'ema_fast': 4, 'ema_slow': 40}], ['vd3soF)', 33, 187, 1699.13, 35, 34, 7.36, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 92, 'ema_fast': 9, 'ema_slow': 21}], ['kd3sO1]', 28, 177, 845.92, 35, 28, -8.35, {'qty_to_risk': 7, 'target_pnl': 310, 'stop': 35, 'donchlen': 190, 'treshold': 59, 'ema_fast': 4, 'ema_slow': 40}], ['vd3p4L+', 34, 141, 1312.64, 40, 20, 12.37, {'qty_to_risk': 8, 'target_pnl': 310, 'stop': 35, 'donchlen': 183, 'treshold': 32, 'ema_fast': 10, 'ema_slow': 22}], ['p13vo1]', 29, 186, 663.6, 35, 28, -1.65, {'qty_to_risk': 7, 'target_pnl': 68, 'stop': 35, 'donchlen': 198, 'treshold': 92, 'ema_fast': 4, 'ema_slow': 40}]]
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2018 Yeolar # class DAGNode(object): def __init__(self, name): self.name = name self.nexts = set() self.prevs = set() self.self_dep = False self.done = False class DAG(object): def __init__(self): self.nodes = [] self.index = {} self.cycle_dep = False def get_key(self, name): return self.index.get(name, -1) def get_node(self, name): return self.nodes[self.get_key(name)] def add(self, name): i = self.get_key(name) if i == -1: i = len(self.nodes) self.nodes.append(DAGNode(name)) self.index[name] = i return i def add_dependency(self, a, b): self.nodes[a].nexts.add(b) self.nodes[b].prevs.add(a) def remove_dependency(self, a, b): self.nodes[a].nexts.remove(b) self.nodes[b].nexts.remove(a) def has_cycle(self): nexts = [] # [[]] for node in self.nodes: nexts.append(list(node.nexts)) targets = [0] * len(self.nodes) for edges in nexts: for key in edges: targets[key] += 1 keys = [] for key in range(len(self.nodes)): if not self.nodes[key].prevs: keys.append(key) while keys: key = keys[-1] del keys[-1:] while nexts[key]: nxt = nexts[key][-1] del nexts[key][-1:] targets[nxt] -= 1 if targets[nxt] == 0: keys.append(nxt) for edges in nexts: if edges: return True return False
class Dagnode(object): def __init__(self, name): self.name = name self.nexts = set() self.prevs = set() self.self_dep = False self.done = False class Dag(object): def __init__(self): self.nodes = [] self.index = {} self.cycle_dep = False def get_key(self, name): return self.index.get(name, -1) def get_node(self, name): return self.nodes[self.get_key(name)] def add(self, name): i = self.get_key(name) if i == -1: i = len(self.nodes) self.nodes.append(dag_node(name)) self.index[name] = i return i def add_dependency(self, a, b): self.nodes[a].nexts.add(b) self.nodes[b].prevs.add(a) def remove_dependency(self, a, b): self.nodes[a].nexts.remove(b) self.nodes[b].nexts.remove(a) def has_cycle(self): nexts = [] for node in self.nodes: nexts.append(list(node.nexts)) targets = [0] * len(self.nodes) for edges in nexts: for key in edges: targets[key] += 1 keys = [] for key in range(len(self.nodes)): if not self.nodes[key].prevs: keys.append(key) while keys: key = keys[-1] del keys[-1:] while nexts[key]: nxt = nexts[key][-1] del nexts[key][-1:] targets[nxt] -= 1 if targets[nxt] == 0: keys.append(nxt) for edges in nexts: if edges: return True return False
# -*- coding: utf-8 -*- description = 'TOFTOF radial collimator' group = 'optional' tango_base = 'tango://tofhw.toftof.frm2:10000/toftof/' devices = dict( rc_onoff = device('nicos.devices.tango.NamedDigitalOutput', description = 'Activates radial collimator', tangodevice = tango_base + 'rc/_rc_onoff', mapping = { 'on': 1, 'off': 0, }, ), rc_motor = device('nicos.devices.tango.AnalogOutput', description = 'Radial collimator motor', tangodevice = tango_base + 'rc/_rc_motor', lowlevel = True, ), )
description = 'TOFTOF radial collimator' group = 'optional' tango_base = 'tango://tofhw.toftof.frm2:10000/toftof/' devices = dict(rc_onoff=device('nicos.devices.tango.NamedDigitalOutput', description='Activates radial collimator', tangodevice=tango_base + 'rc/_rc_onoff', mapping={'on': 1, 'off': 0}), rc_motor=device('nicos.devices.tango.AnalogOutput', description='Radial collimator motor', tangodevice=tango_base + 'rc/_rc_motor', lowlevel=True))
def series_ele(n): pattern = [] for i in range(1,n): next_element = (i**3) + i*2 pattern.append(next_element) return pattern if __name__ == "__main__": input_number = int(input("Enter a number upto which you want to print the patter: ")) print(series_ele(input_number))
def series_ele(n): pattern = [] for i in range(1, n): next_element = i ** 3 + i * 2 pattern.append(next_element) return pattern if __name__ == '__main__': input_number = int(input('Enter a number upto which you want to print the patter: ')) print(series_ele(input_number))
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "# Dependencies and Setup\n", "from bs4 import BeautifulSoup\n", "from splinter import Browser\n", "import pandas as pd\n", "import datetime as dt\n", "\n", "\n", "# Set Executable Path & Initialize Chrome Browser\n", "executable_path = {\"executable_path\": \"/usr/local/bin/chromedriver\"}\n", "browser = Browser(\"chrome\", **executable_path, headless=False)\n", "\n", "# NASA Mars News Site Web Scraper\n", "def mars_news(browser):\n", " # Visit the NASA Mars News Site\n", " url = \"https://mars.nasa.gov/news/\"\n", " browser.visit(url)\n", "\n", "\n", " browser.is_element_present_by_css(\"ul.item_list li.slide\", wait_time=0.5)\n", " \n", " html = browser.html\n", " news_soup = BeautifulSoup(html, \"html.parser\")\n", "\n", " \n", " try:\n", " slide_element = news_soup.select_one(\"ul.item_list li.slide\")\n", " slide_element.find(\"div\", class_=\"content_title\")\n", "\n", " # Scrape the Latest News Title\n", " # Use Parent Element to Find First <a> Tag and Save it as news_title\n", " news_title = slide_element.find(\"div\", class_=\"content_title\").get_text()\n", "\n", " news_paragraph = slide_element.find(\"div\", class_=\"article_teaser_body\").get_text()\n", " except AttributeError:\n", " return None, None\n", " return news_title, news_paragraph\n", "\n", "\n", "\n", "# NASA JPL (Jet Propulsion Laboratory) Site Web Scraper\n", "def featured_image(browser):\n", " # Visit the NASA JPL (Jet Propulsion Laboratory) Site\n", " url = \"https://www.jpl.nasa.gov/spaceimages/?search=&category=Mars\"\n", " browser.visit(url)\n", "\n", " # Ask Splinter to Go to Site and Click Button with Class Name full_image\n", " # <button class=\"full_image\">Full Image</button>\n", " full_image_button = browser.find_by_id(\"full_image\")\n", " full_image_button.click()\n", "\n", " # Find \"More Info\" Button and Click It\n", " browser.is_element_present_by_text(\"more info\", wait_time=1)\n", " more_info_element = browser.find_link_by_partial_text(\"more info\")\n", " more_info_element.click()\n", "\n", " # Parse Results HTML with BeautifulSoup\n", " html = browser.html\n", " image_soup = BeautifulSoup(html, \"html.parser\")\n", "\n", " img = image_soup.select_one(\"figure.lede a img\")\n", " try:\n", " img_url = img.get(\"src\")\n", " except AttributeError:\n", " return None \n", " # Use Base URL to Create Absolute URL\n", " img_url = f\"https://www.jpl.nasa.gov{img_url}\"\n", " return img_url\n", "\n", "# Mars Weather Twitter Account Web Scraper\n", "def twitter_weather(browser):\n", " # Visit the Mars Weather Twitter Account\n", " url = \"https://twitter.com/marswxreport?lang=en\"\n", " browser.visit(url)\n", " \n", " # Parse Results HTML with BeautifulSoup\n", " html = browser.html\n", " weather_soup = BeautifulSoup(html, \"html.parser\")\n", " \n", " # Find a Tweet with the data-name `Mars Weather`\n", " mars_weather_tweet = weather_soup.find(\"div\", \n", " attrs={\n", " \"class\": \"tweet\", \n", " \"data-name\": \"Mars Weather\"\n", " })\n", " # Search Within Tweet for <p> Tag Containing Tweet Text\n", " mars_weather = mars_weather_tweet.find(\"p\", \"tweet-text\").get_text()\n", " return mars_weather\n", "\n", "\n", "# Mars Facts Web Scraper\n", "def mars_facts():\n", " # Visit the Mars Facts Site Using Pandas to Read\n", " try:\n", " df = pd.read_html(\"https://space-facts.com/mars/\")[0]\n", " except BaseException:\n", " return None\n", " df.columns=[\"Description\", \"Value\"]\n", " df.set_index(\"Description\", inplace=True)\n", "\n", " return df.to_html(classes=\"table table-striped\")\n", "\n", "# Mars Hemispheres Web Scraper\n", "def hemisphere(browser):\n", " # Visit the USGS Astrogeology Science Center Site\n", " url = \"https://astrogeology.usgs.gov/search/results?q=hemisphere+enhanced&k1=target&v1=Mars\"\n", " browser.visit(url)\n", "\n", " hemisphere_image_urls = []\n", "\n", " # Get a List of All the Hemisphere\n", " links = browser.find_by_css(\"a.product-item h3\")\n", " for item in range(len(links)):\n", " hemisphere = {}\n", " \n", " # Find Element on Each Loop to Avoid a Stale Element Exception\n", " browser.find_by_css(\"a.product-item h3\")[item].click()\n", " \n", " # Find Sample Image Anchor Tag & Extract <href>\n", " sample_element = browser.find_link_by_text(\"Sample\").first\n", " hemisphere[\"img_url\"] = sample_element[\"href\"]\n", " \n", " # Get Hemisphere Title\n", " hemisphere[\"title\"] = browser.find_by_css(\"h2.title\").text\n", " \n", " # Append Hemisphere Object to List\n", " hemisphere_image_urls.append(hemisphere)\n", " \n", " # Navigate Backwards\n", " browser.back()\n", " return hemisphere_image_urls\n", "\n", "\n", "\n", "\n", "def scrape_all():\n", " executable_path = {\"executable_path\": \"/usr/local/bin/chromedriver\"}\n", " browser = Browser(\"chrome\", **executable_path, headless=False)\n", " news_title, news_paragraph = mars_news(browser)\n", " img_url = featured_image(browser)\n", " mars_weather = twitter_weather(browser)\n", " facts = mars_facts()\n", " hemisphere_image_urls = hemisphere(browser)\n", " timestamp = dt.datetime.now()\n", "\n", " data = {\n", " \"news_title\": news_title,\n", " \"news_paragraph\": news_paragraph,\n", " \"featured_image\": img_url,\n", " \"weather\": mars_weather,\n", " \"facts\": facts,\n", " \"hemispheres\": hemisphere_image_urls,\n", " \"last_modified\": timestamp\n", " }\n", " browser.quit()\n", " return data \n", "\n", "if __name__ == \"__main__\":\n", " print(scrape_all())" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.6" } }, "nbformat": 4, "nbformat_minor": 4 }
{'cells': [{'cell_type': 'code', 'execution_count': null, 'metadata': {}, 'outputs': [], 'source': ['# Dependencies and Setup\n', 'from bs4 import BeautifulSoup\n', 'from splinter import Browser\n', 'import pandas as pd\n', 'import datetime as dt\n', '\n', '\n', '# Set Executable Path & Initialize Chrome Browser\n', 'executable_path = {"executable_path": "/usr/local/bin/chromedriver"}\n', 'browser = Browser("chrome", **executable_path, headless=False)\n', '\n', '# NASA Mars News Site Web Scraper\n', 'def mars_news(browser):\n', ' # Visit the NASA Mars News Site\n', ' url = "https://mars.nasa.gov/news/"\n', ' browser.visit(url)\n', '\n', '\n', ' browser.is_element_present_by_css("ul.item_list li.slide", wait_time=0.5)\n', ' \n', ' html = browser.html\n', ' news_soup = BeautifulSoup(html, "html.parser")\n', '\n', ' \n', ' try:\n', ' slide_element = news_soup.select_one("ul.item_list li.slide")\n', ' slide_element.find("div", class_="content_title")\n', '\n', ' # Scrape the Latest News Title\n', ' # Use Parent Element to Find First <a> Tag and Save it as news_title\n', ' news_title = slide_element.find("div", class_="content_title").get_text()\n', '\n', ' news_paragraph = slide_element.find("div", class_="article_teaser_body").get_text()\n', ' except AttributeError:\n', ' return None, None\n', ' return news_title, news_paragraph\n', '\n', '\n', '\n', '# NASA JPL (Jet Propulsion Laboratory) Site Web Scraper\n', 'def featured_image(browser):\n', ' # Visit the NASA JPL (Jet Propulsion Laboratory) Site\n', ' url = "https://www.jpl.nasa.gov/spaceimages/?search=&category=Mars"\n', ' browser.visit(url)\n', '\n', ' # Ask Splinter to Go to Site and Click Button with Class Name full_image\n', ' # <button class="full_image">Full Image</button>\n', ' full_image_button = browser.find_by_id("full_image")\n', ' full_image_button.click()\n', '\n', ' # Find "More Info" Button and Click It\n', ' browser.is_element_present_by_text("more info", wait_time=1)\n', ' more_info_element = browser.find_link_by_partial_text("more info")\n', ' more_info_element.click()\n', '\n', ' # Parse Results HTML with BeautifulSoup\n', ' html = browser.html\n', ' image_soup = BeautifulSoup(html, "html.parser")\n', '\n', ' img = image_soup.select_one("figure.lede a img")\n', ' try:\n', ' img_url = img.get("src")\n', ' except AttributeError:\n', ' return None \n', ' # Use Base URL to Create Absolute URL\n', ' img_url = f"https://www.jpl.nasa.gov{img_url}"\n', ' return img_url\n', '\n', '# Mars Weather Twitter Account Web Scraper\n', 'def twitter_weather(browser):\n', ' # Visit the Mars Weather Twitter Account\n', ' url = "https://twitter.com/marswxreport?lang=en"\n', ' browser.visit(url)\n', ' \n', ' # Parse Results HTML with BeautifulSoup\n', ' html = browser.html\n', ' weather_soup = BeautifulSoup(html, "html.parser")\n', ' \n', ' # Find a Tweet with the data-name `Mars Weather`\n', ' mars_weather_tweet = weather_soup.find("div", \n', ' attrs={\n', ' "class": "tweet", \n', ' "data-name": "Mars Weather"\n', ' })\n', ' # Search Within Tweet for <p> Tag Containing Tweet Text\n', ' mars_weather = mars_weather_tweet.find("p", "tweet-text").get_text()\n', ' return mars_weather\n', '\n', '\n', '# Mars Facts Web Scraper\n', 'def mars_facts():\n', ' # Visit the Mars Facts Site Using Pandas to Read\n', ' try:\n', ' df = pd.read_html("https://space-facts.com/mars/")[0]\n', ' except BaseException:\n', ' return None\n', ' df.columns=["Description", "Value"]\n', ' df.set_index("Description", inplace=True)\n', '\n', ' return df.to_html(classes="table table-striped")\n', '\n', '# Mars Hemispheres Web Scraper\n', 'def hemisphere(browser):\n', ' # Visit the USGS Astrogeology Science Center Site\n', ' url = "https://astrogeology.usgs.gov/search/results?q=hemisphere+enhanced&k1=target&v1=Mars"\n', ' browser.visit(url)\n', '\n', ' hemisphere_image_urls = []\n', '\n', ' # Get a List of All the Hemisphere\n', ' links = browser.find_by_css("a.product-item h3")\n', ' for item in range(len(links)):\n', ' hemisphere = {}\n', ' \n', ' # Find Element on Each Loop to Avoid a Stale Element Exception\n', ' browser.find_by_css("a.product-item h3")[item].click()\n', ' \n', ' # Find Sample Image Anchor Tag & Extract <href>\n', ' sample_element = browser.find_link_by_text("Sample").first\n', ' hemisphere["img_url"] = sample_element["href"]\n', ' \n', ' # Get Hemisphere Title\n', ' hemisphere["title"] = browser.find_by_css("h2.title").text\n', ' \n', ' # Append Hemisphere Object to List\n', ' hemisphere_image_urls.append(hemisphere)\n', ' \n', ' # Navigate Backwards\n', ' browser.back()\n', ' return hemisphere_image_urls\n', '\n', '\n', '\n', '\n', 'def scrape_all():\n', ' executable_path = {"executable_path": "/usr/local/bin/chromedriver"}\n', ' browser = Browser("chrome", **executable_path, headless=False)\n', ' news_title, news_paragraph = mars_news(browser)\n', ' img_url = featured_image(browser)\n', ' mars_weather = twitter_weather(browser)\n', ' facts = mars_facts()\n', ' hemisphere_image_urls = hemisphere(browser)\n', ' timestamp = dt.datetime.now()\n', '\n', ' data = {\n', ' "news_title": news_title,\n', ' "news_paragraph": news_paragraph,\n', ' "featured_image": img_url,\n', ' "weather": mars_weather,\n', ' "facts": facts,\n', ' "hemispheres": hemisphere_image_urls,\n', ' "last_modified": timestamp\n', ' }\n', ' browser.quit()\n', ' return data \n', '\n', 'if __name__ == "__main__":\n', ' print(scrape_all())']}], 'metadata': {'kernelspec': {'display_name': 'Python 3', 'language': 'python', 'name': 'python3'}, 'language_info': {'codemirror_mode': {'name': 'ipython', 'version': 3}, 'file_extension': '.py', 'mimetype': 'text/x-python', 'name': 'python', 'nbconvert_exporter': 'python', 'pygments_lexer': 'ipython3', 'version': '3.7.6'}}, 'nbformat': 4, 'nbformat_minor': 4}
#! python3 # __author__ = "YangJiaHao" # date: 2018/2/24 class Solution: def maxSubArray(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return 0 cur_sum = max_sum = nums[0] for num in nums[1:]: cur_sum = max(num, cur_sum + num) max_sum = max(cur_sum, max_sum) return max_sum class Solution2: def maxSubArray(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return 0 dp = [nums[0]] for num in nums[1:]: dp.append(num + dp[-1] if dp[-1] > 0 else num) return max(dp) if __name__ == '__main__': so = Solution2() res = so.maxSubArray([-2, 1, -3, 4, -1, 2, 1, -5, 4]) print(res)
class Solution: def max_sub_array(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return 0 cur_sum = max_sum = nums[0] for num in nums[1:]: cur_sum = max(num, cur_sum + num) max_sum = max(cur_sum, max_sum) return max_sum class Solution2: def max_sub_array(self, nums): """ :type nums: List[int] :rtype: int """ if not nums: return 0 dp = [nums[0]] for num in nums[1:]: dp.append(num + dp[-1] if dp[-1] > 0 else num) return max(dp) if __name__ == '__main__': so = solution2() res = so.maxSubArray([-2, 1, -3, 4, -1, 2, 1, -5, 4]) print(res)
CORS_ALLOW_ORIGINS = '*' # fixme! CORS_ALLOW_METHODS = ['GET', 'POST', 'PATH', 'DELETE'] CORS_ALLOW_HEADERS = ['*'] # fixme! DATABASE = { 'uri': 'mongodb://localhost:27017', 'max_pool_size': 10, 'db_name': 'uaberdb', }
cors_allow_origins = '*' cors_allow_methods = ['GET', 'POST', 'PATH', 'DELETE'] cors_allow_headers = ['*'] database = {'uri': 'mongodb://localhost:27017', 'max_pool_size': 10, 'db_name': 'uaberdb'}
lar = 0 sm = 0.0 while True : st = input ('Enter a number: ') if st == 'done': break try: ft = int(st) except: print("Invalid input") continue print(ft) num = num + 1 tot = tot + ft print('All Done') print(tot,num,tot/num)
lar = 0 sm = 0.0 while True: st = input('Enter a number: ') if st == 'done': break try: ft = int(st) except: print('Invalid input') continue print(ft) num = num + 1 tot = tot + ft print('All Done') print(tot, num, tot / num)
class StateChange: VFX = 'vfx_state' VFX_STATE = 'vfx_state_state' AUDIO_STATE = 'audio_state' AUDIO_EFFECT_STATE = 'audio_effect_state' AUTONOMY_MODIFIERS = 'autonomy_modifiers' AWARENESS = 'awareness' BROADCASTER = 'broadcaster' ENVIRONMENT_SCORE = 'environment_score' PAINTING_REVEAL_LEVEL = 'painting_reveal_level' PAINTING_STATE = 'painting_state' FLOWING_PUDDLE_ENABLED = 'flowing_puddle_enabled' REPLACE_OBJECT = 'replace_object' UI_METADATA = 'ui_metadata' VIDEO_STATE = 'video_playlist' VIDEO_STATE_LOOPING = 'video_playlist_looping' LIGHT_DIMMER_STATE = 'light_dimmer' LIGHT_MATERIAL_STATE = 'light_material_states' LOT_MODIFIERS = 'lot_statistic_modifiers' SINGED = 'singed' WIND_SPEED_LEVEL = 'wind_speed_level' GRUBBY = 'grubby' SCRATCHED = 'scratched' CHANGE_VALUE = 'change_value' TOGGLE_FOOTPRINT = 'toggle_footprint' MANNEQUIN_POSE = 'mannequin_pose' GEOMETRY_STATE_OVERRIDE = 'geometry_state_override' MODEL_SUITE_STATE_INDEX = 'model_suite_state_index' UTILITY_MODIFIERS = 'utility_modifiers' LIVE_DRAG = 'live_drag_state' FOCUS_SCORE = 'focus_score' WALKSTYLE = 'walkstyle' PERIODIC_LOOT = 'periodic_loot' GLOW = 'glow' SITUATION = 'situation' TAN_LEVEL = 'tan_level' ROUTE_EVENT = 'route_event' SET_FIRE = 'set_fire' SCALE = 'scale' DYED = 'dyed'
class Statechange: vfx = 'vfx_state' vfx_state = 'vfx_state_state' audio_state = 'audio_state' audio_effect_state = 'audio_effect_state' autonomy_modifiers = 'autonomy_modifiers' awareness = 'awareness' broadcaster = 'broadcaster' environment_score = 'environment_score' painting_reveal_level = 'painting_reveal_level' painting_state = 'painting_state' flowing_puddle_enabled = 'flowing_puddle_enabled' replace_object = 'replace_object' ui_metadata = 'ui_metadata' video_state = 'video_playlist' video_state_looping = 'video_playlist_looping' light_dimmer_state = 'light_dimmer' light_material_state = 'light_material_states' lot_modifiers = 'lot_statistic_modifiers' singed = 'singed' wind_speed_level = 'wind_speed_level' grubby = 'grubby' scratched = 'scratched' change_value = 'change_value' toggle_footprint = 'toggle_footprint' mannequin_pose = 'mannequin_pose' geometry_state_override = 'geometry_state_override' model_suite_state_index = 'model_suite_state_index' utility_modifiers = 'utility_modifiers' live_drag = 'live_drag_state' focus_score = 'focus_score' walkstyle = 'walkstyle' periodic_loot = 'periodic_loot' glow = 'glow' situation = 'situation' tan_level = 'tan_level' route_event = 'route_event' set_fire = 'set_fire' scale = 'scale' dyed = 'dyed'
""" Author: Nathan Do Email: nathan.dole@gmail.com Description: Hooks for Opencart API app """ app_name = "opencart_api" app_title = "Opencart API" app_publisher = "Nathan (Hoovix Consulting Pte. Ltd.)" app_description = "App for connecting Opencart through APIs. Updating Products, recording transactions" app_icon = "icon-book" app_color = "#589494" app_email = "nathan.dole@gmail.com" app_url = "https://github.com/nathando/erpnext-opencart-api.git" app_version = "0.0.1" # include js, css files in header of desk.html # app_include_css = "/assets/css/opencart_api.css" # app_include_js = "/assets/js/opencart_site.js" doc_events = { "Opencart Site": { "validate": "opencart_api.oc_site.oc_validate" }, "Item": { "validate": "opencart_api.items.oc_validate", # "on_trash": "opencart_api.items.oc_delete" }, "Item Price": { "validate": "opencart_api.item_prices.oc_validate", }, "Customer": { "validate": "opencart_api.customers.oc_validate", "on_trash": "opencart_api.customers.oc_delete" }, "Sales Order": { "before_save": "opencart_api.orders.before_save", # "before_insert": "opencart_api.orders.before_insert", # "after_insert": "opencart_api.orders.after_insert", # "validate": "opencart_api.sales_order.validate", # "before_submit": "opencart_api.orders.before_submit", # "before_cancel": "opencart_api.orders.before_cancel", # "before_update_after_submit": "opencart_api.orders.before_update_after_submit", # "on_update": "opencart_api.sales_order.on_update", "on_submit": "opencart_api.orders.on_submit", # "on_cancel": "opencart_api.orders.on_cancel", # "on_update_after_submit": "opencart_api.orders.on_update_after_submit", # "on_trash": "opencart_api.orders.on_trash" }, "Sales Invoice": { # "on_submit": "opencart_api.sales_invoice.on_submit" }, "Purchase Receipt": { }, "Delivery Note": { # "before_submit": "opencart_api.delivery_note.before_submit", "on_submit": "opencart_api.delivery_note.on_submit" }, "Packing Slip": { "on_submit": "opencart_api.packing_slip.on_submit", "on_cancel": "opencart_api.packing_slip.on_cancel" }, "Stock Entry": { }, "Comment": { "before_save": "opencart_api.comments.before_save", }, "Communication": { "before_save": "opencart_api.communications.before_save", } } doctype_js = { "Journal Entry": ["custom_scripts/journal_entry.js"], "Purchase Order": ["custom_scripts/purchase_order.js"], "Supplier Quotation": ["custom_scripts/supplier_quotation.js"], "Quotation": ["custom_scripts/quotation.js"], "Material Request": ["custom_scripts/material_request.js"], "Purchase Receipt": ["custom_scripts/purchase_receipt.js"], "Stock Entry": ["custom_scripts/stock_entry.js"], "Item": ["custom_scripts/item.js"], "Sales Order": ["custom_scripts/sales_order.js"], "Sales Invoice": ["custom_scripts/sales_invoice.js"], "Packing Slip": ["custom_scripts/packing_slip.js"], "Stock Reconciliation": ["custom_scripts/stock_reconciliation.js"], "Warehouse": ["custom_scripts/warehouse.js"] } doctype_list_js = { "Delivery Note": ["custom_scripts/delivery_note_list.js"], } # Note on Fixtures (Nathan Do): # csv fixtures files after being exported should be # manually edited to maintain correct order as of ERPNext 4.9.2 fixtures = ["Custom Field", "Custom Script"] scheduler_events = { # "all": [ # "opencart_api.tasks.hourly" # ], # "all": [ # "opencart_api.tasks.daily" # ], "hourly": [ "opencart_api.tasks.hourly" ] } # Includes in <head> # ------------------ # include js, css files in header of desk.html # app_include_css = "/assets/opencart_api/css/opencart_api.css" # app_include_js = "/assets/opencart_api/js/opencart_api.js" # include js, css files in header of web template # web_include_css = "/assets/opencart_api/css/opencart_api.css" # web_include_js = "/assets/opencart_api/js/opencart_site.js" # web_include_js = "/assets/js/opencart_site.js" # Home Pages # ---------- # application home page (will override Website Settings) # home_page = "login" # website user home page (by Role) # role_home_page = { # "Role": "home_page" # } # Generators # ---------- # automatically create page for each record of this doctype # website_generators = ["Web Page"] # Installation # ------------ # before_install = "opencart_api.install.before_install" # after_install = "opencart_api.install.after_install" # Desk Notifications # ------------------ # See frappe.core.notifications.get_notification_config # notification_config = "opencart_api.notifications.get_notification_config" # Permissions # ----------- # Permissions evaluated in scripted ways # permission_query_conditions = { # "Event": "frappe.core.doctype.event.event.get_permission_query_conditions", # } # # has_permission = { # "Event": "frappe.core.doctype.event.event.has_permission", # } # Document Events # --------------- # Hook on document methods and events # doc_events = { # "*": { # "on_update": "method", # "on_cancel": "method", # "on_trash": "method" # } # } # Scheduled Tasks # --------------- # scheduler_events = { # "all": [ # "opencart_api.tasks.daily" # ], # "daily": [ # "opencart_api.tasks.daily" # ], # "hourly": [ # "opencart_api.tasks.hourly" # ], # "weekly": [ # "opencart_api.tasks.weekly" # ] # "monthly": [ # "opencart_api.tasks.monthly" # ] # } # Testing # ------- # before_tests = "opencart_api.install.before_tests" # Overriding Whitelisted Methods # ------------------------------ # # override_whitelisted_methods = { # "runserverobj": ["opencart_api.custom_hooks.run_method.runserverobj"] # }
""" Author: Nathan Do Email: nathan.dole@gmail.com Description: Hooks for Opencart API app """ app_name = 'opencart_api' app_title = 'Opencart API' app_publisher = 'Nathan (Hoovix Consulting Pte. Ltd.)' app_description = 'App for connecting Opencart through APIs. Updating Products, recording transactions' app_icon = 'icon-book' app_color = '#589494' app_email = 'nathan.dole@gmail.com' app_url = 'https://github.com/nathando/erpnext-opencart-api.git' app_version = '0.0.1' doc_events = {'Opencart Site': {'validate': 'opencart_api.oc_site.oc_validate'}, 'Item': {'validate': 'opencart_api.items.oc_validate'}, 'Item Price': {'validate': 'opencart_api.item_prices.oc_validate'}, 'Customer': {'validate': 'opencart_api.customers.oc_validate', 'on_trash': 'opencart_api.customers.oc_delete'}, 'Sales Order': {'before_save': 'opencart_api.orders.before_save', 'on_submit': 'opencart_api.orders.on_submit'}, 'Sales Invoice': {}, 'Purchase Receipt': {}, 'Delivery Note': {'on_submit': 'opencart_api.delivery_note.on_submit'}, 'Packing Slip': {'on_submit': 'opencart_api.packing_slip.on_submit', 'on_cancel': 'opencart_api.packing_slip.on_cancel'}, 'Stock Entry': {}, 'Comment': {'before_save': 'opencart_api.comments.before_save'}, 'Communication': {'before_save': 'opencart_api.communications.before_save'}} doctype_js = {'Journal Entry': ['custom_scripts/journal_entry.js'], 'Purchase Order': ['custom_scripts/purchase_order.js'], 'Supplier Quotation': ['custom_scripts/supplier_quotation.js'], 'Quotation': ['custom_scripts/quotation.js'], 'Material Request': ['custom_scripts/material_request.js'], 'Purchase Receipt': ['custom_scripts/purchase_receipt.js'], 'Stock Entry': ['custom_scripts/stock_entry.js'], 'Item': ['custom_scripts/item.js'], 'Sales Order': ['custom_scripts/sales_order.js'], 'Sales Invoice': ['custom_scripts/sales_invoice.js'], 'Packing Slip': ['custom_scripts/packing_slip.js'], 'Stock Reconciliation': ['custom_scripts/stock_reconciliation.js'], 'Warehouse': ['custom_scripts/warehouse.js']} doctype_list_js = {'Delivery Note': ['custom_scripts/delivery_note_list.js']} fixtures = ['Custom Field', 'Custom Script'] scheduler_events = {'hourly': ['opencart_api.tasks.hourly']}
# -*- coding: utf-8 -*- __author__ = """Chancy Kennedy""" __email__ = 'kennedychancy+fuzzyjoin@gmail.com' __version__ = '0.5.2'
__author__ = 'Chancy Kennedy' __email__ = 'kennedychancy+fuzzyjoin@gmail.com' __version__ = '0.5.2'
class User: """ a class for new users and login data """ user_list=[] # created instance variables to take up email,name,username and password of user def __init__(self,email,name,username,password): self.email=email self.name=name self.username=username self.password=password def save_login(self): """ a method that saves users objects into user_list """ User.user_list.append(self) @classmethod def user_auth(cls,name,pin): """ This method returns a boolean True if the username and pin inputted matches those of a user in the user_list array """ for user in cls.user_list: if user.username == name and user.password == pin: return True return False
class User: """ a class for new users and login data """ user_list = [] def __init__(self, email, name, username, password): self.email = email self.name = name self.username = username self.password = password def save_login(self): """ a method that saves users objects into user_list """ User.user_list.append(self) @classmethod def user_auth(cls, name, pin): """ This method returns a boolean True if the username and pin inputted matches those of a user in the user_list array """ for user in cls.user_list: if user.username == name and user.password == pin: return True return False
n = int(input()) a = list(map(int, input().split())) histogram = {} res = 0 for i in range(n-1): for j in range(i+1, n): s = a[i] + a[j] if s not in histogram: histogram[s] = 0 histogram[s] += 1 res = max(res, histogram[s]) print(res)
n = int(input()) a = list(map(int, input().split())) histogram = {} res = 0 for i in range(n - 1): for j in range(i + 1, n): s = a[i] + a[j] if s not in histogram: histogram[s] = 0 histogram[s] += 1 res = max(res, histogram[s]) print(res)
""" Minimum Add to Make Parentheses Valid A parentheses string is valid if and only if: It is the empty string, It can be written as AB (A concatenated with B), where A and B are valid strings, or It can be written as (A), where A is a valid string. You are given a parentheses string s. In one move, you can insert a parenthesis at any position of the string. For example, if s = "()))", you can insert an opening parenthesis to be "(()))" or a closing parenthesis to be "())))". Return the minimum number of moves required to make s valid. Example 1: Input: s = "())" Output: 1 Example 2: Input: s = "(((" Output: 3 Example 3: Input: s = "()" Output: 0 Example 4: Input: s = "()))((" Output: 4 Constraints: 1 <= s.length <= 1000 s[i] is either '(' or ')'. """ class Solution(object): def minAddToMakeValid(self, S): ans = bal = 0 for symbol in S: bal += 1 if symbol == '(' else -1 # It is guaranteed bal >= -1 if bal == -1: ans += 1 bal += 1 return ans + bal if __name__ == '__main__': print(Solution().minAddToMakeValid("()))"))
""" Minimum Add to Make Parentheses Valid A parentheses string is valid if and only if: It is the empty string, It can be written as AB (A concatenated with B), where A and B are valid strings, or It can be written as (A), where A is a valid string. You are given a parentheses string s. In one move, you can insert a parenthesis at any position of the string. For example, if s = "()))", you can insert an opening parenthesis to be "(()))" or a closing parenthesis to be "())))". Return the minimum number of moves required to make s valid. Example 1: Input: s = "())" Output: 1 Example 2: Input: s = "(((" Output: 3 Example 3: Input: s = "()" Output: 0 Example 4: Input: s = "()))((" Output: 4 Constraints: 1 <= s.length <= 1000 s[i] is either '(' or ')'. """ class Solution(object): def min_add_to_make_valid(self, S): ans = bal = 0 for symbol in S: bal += 1 if symbol == '(' else -1 if bal == -1: ans += 1 bal += 1 return ans + bal if __name__ == '__main__': print(solution().minAddToMakeValid('()))'))
# definition of U and V class Direction(object): def __init__(self, direction): self.direction = direction U = Direction('u') V = Direction('v') # definition of U0, U1, V0, V1 as the edges of surfaces class Edge(object): def __init__(self, direction, value): self.direction = direction self.value = value U0 = Edge(U, 0) U1 = Edge(U, 1) V0 = Edge(V, 0) V1 = Edge(V, 1) class SurfaceJointProperites(object): """ Class that constrols the variables that inform the joint design within a surface type = 0 (regular triple_dowel) -> default types, takes the args - : x0_ext - first shift along the beams axis, resulting into a new middle point cover_h - how much the second point should lay underneath the edge of the beam x1_ext - second shfit along the beams axis, resulting into the new top (or bottom) point symmetry_flag - whether the dowel hole connections are axis symmetrical (True) or point symmetrical (False) invert_flag - whether the direction should be inverted or not fit_line_flag - whether you consider the middle beam as well or not (default = False) type = 1 (parametric triple_dowel first function) - takes the diagonals lengths of the overlap diamond and the distance between beams as parameters x0_ext_min - min range x0_ext x0_ext_max - max range x0_ext x0_var_par - parameter that influences the development of the x0_ext range cover_h_min - min range cover_h cover_h_max - max range cover_h cover_h_par - parameter that influences the development of the cover_h range x1_ext_min - min range x1_ext x1_ext_max - max range x1_ext x1_ext_par - parameter that influences the development of the x1_ext range symmetry_flag - whether the dowel hole connections are axis symmetrical (True) or point symmetrical (False) invert_flag - whether the direction should be inverted or not fit_line_flag - whether you consider the middle beam as well or not (default = False) type = 2 (parametric triple_dowel second function) - takes the diagonals lengths of the overlap diamond and the distance between beams as parameters p_a - point spacing control p_b - point spacing control p_c - point spacing control p_d - point spacing control offset - how much the diamond get's offsetted """ def __init__(self): # setting the default values self.f_0 = [40, 20, 20, True, False, False] self.f_1 = [100, 500, .2, 30, 70, .5, 50, 150, .3, False, True, False] self.f_2 = [0.2, 0.3, 0.5, 0.6, ] def set_function_0(self): pass
class Direction(object): def __init__(self, direction): self.direction = direction u = direction('u') v = direction('v') class Edge(object): def __init__(self, direction, value): self.direction = direction self.value = value u0 = edge(U, 0) u1 = edge(U, 1) v0 = edge(V, 0) v1 = edge(V, 1) class Surfacejointproperites(object): """ Class that constrols the variables that inform the joint design within a surface type = 0 (regular triple_dowel) -> default types, takes the args - : x0_ext - first shift along the beams axis, resulting into a new middle point cover_h - how much the second point should lay underneath the edge of the beam x1_ext - second shfit along the beams axis, resulting into the new top (or bottom) point symmetry_flag - whether the dowel hole connections are axis symmetrical (True) or point symmetrical (False) invert_flag - whether the direction should be inverted or not fit_line_flag - whether you consider the middle beam as well or not (default = False) type = 1 (parametric triple_dowel first function) - takes the diagonals lengths of the overlap diamond and the distance between beams as parameters x0_ext_min - min range x0_ext x0_ext_max - max range x0_ext x0_var_par - parameter that influences the development of the x0_ext range cover_h_min - min range cover_h cover_h_max - max range cover_h cover_h_par - parameter that influences the development of the cover_h range x1_ext_min - min range x1_ext x1_ext_max - max range x1_ext x1_ext_par - parameter that influences the development of the x1_ext range symmetry_flag - whether the dowel hole connections are axis symmetrical (True) or point symmetrical (False) invert_flag - whether the direction should be inverted or not fit_line_flag - whether you consider the middle beam as well or not (default = False) type = 2 (parametric triple_dowel second function) - takes the diagonals lengths of the overlap diamond and the distance between beams as parameters p_a - point spacing control p_b - point spacing control p_c - point spacing control p_d - point spacing control offset - how much the diamond get's offsetted """ def __init__(self): self.f_0 = [40, 20, 20, True, False, False] self.f_1 = [100, 500, 0.2, 30, 70, 0.5, 50, 150, 0.3, False, True, False] self.f_2 = [0.2, 0.3, 0.5, 0.6] def set_function_0(self): pass
class Solution: def restoreString(self, s: str, indices: List[int]) -> str: result = [None] * len(s) for i, j in enumerate(indices): result[j] = s[i] return "".join(result)
class Solution: def restore_string(self, s: str, indices: List[int]) -> str: result = [None] * len(s) for (i, j) in enumerate(indices): result[j] = s[i] return ''.join(result)
""" *Hue* The hue ring. """
""" *Hue* The hue ring. """
class Nothing: """A basic Callable NoneType Use this object to write generic code pipelines Makes your life easier when using the railway paradigm Using Nothing lets you avoid errors like: AttributeError: "NoneType" object has no attribute ... TypeError: "NoneType" object is not callable TypeError: bad operand type for unary ...: "NoneType" TypeError: unsupported operand type(s) for ...: "NoneType" and ... TypeError: type NoneType doesn't define __round__ method TypeError: 'NoneType' object is not subscriptable ... Just define your code pipeline using Nothing when your function hits a problem and let the flow guide your logic towards the failing strategy without crashing >>> Nothing() >>> Nothing >>> print(Nothing) >>> Nothing >>> Nothing + 1 >>> Nothing >>> Nothing[-42:42] >>> Nothing """ def __call__(self, *args, **kwargs): """calling Nothing The long awaited callable None >>> Nothing() >>> Nothing Returns: Nothing: the long awaited callable None """ return self def __repr__(self) -> str: """string represention >>> repr(Nothing) >>> "Nothing" Returns: str: Nothing """ return "Nothing" def __str__(self) -> str: """string represention >>> str(Nothing) >>> "Nothing" Returns: str: Nothing """ return "Nothing" def __neg__(self): """support negation >>> - Nothing >>> Nothing Returns: self Nothing: Nothing """ return self def __pos__(self): """support position + >>> + Nothing >>> Nothing Returns: self Nothing: Nothing """ return self def __abs__(self): """support absolute value operation >>> abs(Nothing) >>> Nothing Returns: self Nothing: Nothing """ return self def __invert__(self): """support invesion ~ >>> ~Nothing >>> Nothing Returns: self Nothing: Nothing """ return self def __int__(self): """support int conversion operation Returns: self Nothing: Nothing """ raise TypeError("int() argument must be Something, not Nothing") def __round__(self, *args, **kwargs): """support rounding operation >>> round(Nothing) Nothing Returns: self Nothing: Nothing """ return self def __trunc__(self): """support rounding operation >>> from math import trunc >>> trunc(Nothing) Nothing Returns: self Nothing: Nothing """ return self def __floor__(self): """support floor operation Floor Gang Awou >>> from math import floor >>> floor(Nothing) Nothing Returns: self Nothing: Nothing """ print("Floor gang awou") return self def __ceil__(self): """support ceil operation >>> from math import ceil >>> ceil(Nothing) Nothing Returns: self Nothing: Nothing """ return self def __add__(self, other): """add left to right operation >>> Nothing + 1 Nothing Args: other (Any): Can be anything Returns: self Nothing: Nothing """ return self def __radd__(self, other): """add right to left operation >>> 1 + Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __sub__(self, other): """substract lef to right >>> Nothing - 1 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rsub__(self, other): """substract lef to right >>> 1 - Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __mul__(self, other): """multiply lef to right >>> Nothing * 1 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rmul__(self, other): """multiply right to left >>> 2 * Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __matmul__(self, other): """matrix multiply left to right Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rmatmul__(self, other): """matrix multiply right to left Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __truediv__(self, other): """divide left to right >>> Nothing / 2 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rtruediv__(self, other): """divide right to left >>> 2 / Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __floordiv__(self, other): """floor divide left to right >>> Nothing // 2 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rfloordiv__(self, other): """floor divide right to left >>> 2 // Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __ifloordiv__(self, other): """floor divide right to left >>> 2 // Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __getattr__(self, attr: str): """get attribute of Nothing >>> getattr(Nothing, "heok") Nothing Args: attr (str): Can be any string Returns: self Nothing: Nothing """ return self def __setattr__(self, attr, value): """Do Nothing >>> setattr(Nothing, "hello", "world") Args: attr (str): Can be any string value (Any): Can be Anything """ pass def __getitem__(self, k): """Support indexing and slicing >>> Nothing[3] Nothing >>> Nothing[2:3] [Nothing] Args: k (Union[int, List[int]]): Can be any int or any slice Returns: Union[Nothing, List[Nothing]]: Can be either Nothing or [Nothing] """ if isinstance(k, int): return self return [self] def __iter__(self): """Support iteration Returns: Iterable: Iterable[Nothing] """ return iter([self]) def __len__(self) -> int: """Support len function on Nothing Returns: int: 1 """ return 1 def __and__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the and operand but the & >>> Nothing & 0 >>> Nothing >>> 1 and Nothing >>> Nothing """ return self def __rand__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the and operand but the & >>> Nothing & 0 >>> Nothing >>> 1 and Nothing >>> Nothing """ return self def __iand__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the and operand but the & >>> Nothing & 0 >>> Nothing >>> 1 and Nothing >>> Nothing """ return self def __or__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __ror__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __ior__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __xor__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __rxor__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __ixor__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __lt__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __le__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __gt__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __ge__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __eq__(self, other) -> bool: """Support Equality check Args: other (Union[Nothing, Any]): can be either Nothing or Anything Returns: bool: can be either True or False """ if isinstance(other, type(self)): return True return False def __hash__(self) -> int: """Support hash function Returns: int: returns in hash of Nothing object """ return hash("Nothing")
class Nothing: """A basic Callable NoneType Use this object to write generic code pipelines Makes your life easier when using the railway paradigm Using Nothing lets you avoid errors like: AttributeError: "NoneType" object has no attribute ... TypeError: "NoneType" object is not callable TypeError: bad operand type for unary ...: "NoneType" TypeError: unsupported operand type(s) for ...: "NoneType" and ... TypeError: type NoneType doesn't define __round__ method TypeError: 'NoneType' object is not subscriptable ... Just define your code pipeline using Nothing when your function hits a problem and let the flow guide your logic towards the failing strategy without crashing >>> Nothing() >>> Nothing >>> print(Nothing) >>> Nothing >>> Nothing + 1 >>> Nothing >>> Nothing[-42:42] >>> Nothing """ def __call__(self, *args, **kwargs): """calling Nothing The long awaited callable None >>> Nothing() >>> Nothing Returns: Nothing: the long awaited callable None """ return self def __repr__(self) -> str: """string represention >>> repr(Nothing) >>> "Nothing" Returns: str: Nothing """ return 'Nothing' def __str__(self) -> str: """string represention >>> str(Nothing) >>> "Nothing" Returns: str: Nothing """ return 'Nothing' def __neg__(self): """support negation >>> - Nothing >>> Nothing Returns: self Nothing: Nothing """ return self def __pos__(self): """support position + >>> + Nothing >>> Nothing Returns: self Nothing: Nothing """ return self def __abs__(self): """support absolute value operation >>> abs(Nothing) >>> Nothing Returns: self Nothing: Nothing """ return self def __invert__(self): """support invesion ~ >>> ~Nothing >>> Nothing Returns: self Nothing: Nothing """ return self def __int__(self): """support int conversion operation Returns: self Nothing: Nothing """ raise type_error('int() argument must be Something, not Nothing') def __round__(self, *args, **kwargs): """support rounding operation >>> round(Nothing) Nothing Returns: self Nothing: Nothing """ return self def __trunc__(self): """support rounding operation >>> from math import trunc >>> trunc(Nothing) Nothing Returns: self Nothing: Nothing """ return self def __floor__(self): """support floor operation Floor Gang Awou >>> from math import floor >>> floor(Nothing) Nothing Returns: self Nothing: Nothing """ print('Floor gang awou') return self def __ceil__(self): """support ceil operation >>> from math import ceil >>> ceil(Nothing) Nothing Returns: self Nothing: Nothing """ return self def __add__(self, other): """add left to right operation >>> Nothing + 1 Nothing Args: other (Any): Can be anything Returns: self Nothing: Nothing """ return self def __radd__(self, other): """add right to left operation >>> 1 + Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __sub__(self, other): """substract lef to right >>> Nothing - 1 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rsub__(self, other): """substract lef to right >>> 1 - Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __mul__(self, other): """multiply lef to right >>> Nothing * 1 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rmul__(self, other): """multiply right to left >>> 2 * Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __matmul__(self, other): """matrix multiply left to right Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rmatmul__(self, other): """matrix multiply right to left Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __truediv__(self, other): """divide left to right >>> Nothing / 2 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rtruediv__(self, other): """divide right to left >>> 2 / Nothing Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __floordiv__(self, other): """floor divide left to right >>> Nothing // 2 Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __rfloordiv__(self, other): """floor divide right to left >>> 2 // Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __ifloordiv__(self, other): """floor divide right to left >>> 2 // Nothing Args: other (Any): Can be Anything Returns: self Nothing: Nothing """ return self def __getattr__(self, attr: str): """get attribute of Nothing >>> getattr(Nothing, "heok") Nothing Args: attr (str): Can be any string Returns: self Nothing: Nothing """ return self def __setattr__(self, attr, value): """Do Nothing >>> setattr(Nothing, "hello", "world") Args: attr (str): Can be any string value (Any): Can be Anything """ pass def __getitem__(self, k): """Support indexing and slicing >>> Nothing[3] Nothing >>> Nothing[2:3] [Nothing] Args: k (Union[int, List[int]]): Can be any int or any slice Returns: Union[Nothing, List[Nothing]]: Can be either Nothing or [Nothing] """ if isinstance(k, int): return self return [self] def __iter__(self): """Support iteration Returns: Iterable: Iterable[Nothing] """ return iter([self]) def __len__(self) -> int: """Support len function on Nothing Returns: int: 1 """ return 1 def __and__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the and operand but the & >>> Nothing & 0 >>> Nothing >>> 1 and Nothing >>> Nothing """ return self def __rand__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the and operand but the & >>> Nothing & 0 >>> Nothing >>> 1 and Nothing >>> Nothing """ return self def __iand__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the and operand but the & >>> Nothing & 0 >>> Nothing >>> 1 and Nothing >>> Nothing """ return self def __or__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __ror__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __ior__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __xor__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __rxor__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __ixor__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing Warning: does not override the or operand but the & >>> Nothing | 0 >>> Nothing >>> 1 | Nothing >>> Nothing """ return self def __lt__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __le__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __gt__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __ge__(self, other): """Boolean operation Args: other (Any): can be Anything Returns: self Nothing: Nothing """ return self def __eq__(self, other) -> bool: """Support Equality check Args: other (Union[Nothing, Any]): can be either Nothing or Anything Returns: bool: can be either True or False """ if isinstance(other, type(self)): return True return False def __hash__(self) -> int: """Support hash function Returns: int: returns in hash of Nothing object """ return hash('Nothing')
class Dog: name=None legs=None age=None gender=None isCute=None
class Dog: name = None legs = None age = None gender = None is_cute = None
''' Have the function SimpleSymbols(str) take the str parameter being passed and determine if it is an acceptable sequence by either returning the string true or false. The str parameter will be composed of + and = symbols with several letters between them (ie. ++d+===+c++==a) and for the string to be true each letter must be surrounded by a + symbol. So the string to the left would be false. The string will not be empty and will have at least one letter. ''' def SimpleSymbols(str): alph = "abcdefghijklmnopqrstuvwxyz" x = True if (str[0] in alph) or (str[-1] in alph): return False for char in str: char = char.lower() if char in alph: indx_p = str.index(char)+1 indx_m = str.index(char)-1 if (str[indx_p] == '+') and (str[indx_m] == '+'): pass else: x = False return x test = '"+d+=3=+s+"' test2 = '+=+f++d' print(SimpleSymbols(test2))
""" Have the function SimpleSymbols(str) take the str parameter being passed and determine if it is an acceptable sequence by either returning the string true or false. The str parameter will be composed of + and = symbols with several letters between them (ie. ++d+===+c++==a) and for the string to be true each letter must be surrounded by a + symbol. So the string to the left would be false. The string will not be empty and will have at least one letter. """ def simple_symbols(str): alph = 'abcdefghijklmnopqrstuvwxyz' x = True if str[0] in alph or str[-1] in alph: return False for char in str: char = char.lower() if char in alph: indx_p = str.index(char) + 1 indx_m = str.index(char) - 1 if str[indx_p] == '+' and str[indx_m] == '+': pass else: x = False return x test = '"+d+=3=+s+"' test2 = '+=+f++d' print(simple_symbols(test2))
# from linked_list import LinkedList def ll_merge(arg2, arg1): if arg2._len <= 0 and arg1._len <= 0: return False if arg2.head is None: return arg1 if arg1.head is None: return arg2 if True: ptr_left, ptr_right = arg1.head, arg2.head while ptr_right is not None: # if ptr_left._next: arg1.insert_before(ptr_left.val, ptr_right) ptr_left, ptr_right = ptr_left._next, ptr_right._next return arg1 else: ptr_left, ptr_right = arg1.head, arg2.head while ptr_left is not None: arg2.insert_before(ptr_right.val, ptr_left) ptr_left, ptr_right = ptr_left._next, ptr_right._next return arg2 # arr1 = LinkedList([2, 3, 4, 5]) # arr2 = LinkedList([5, 6, 7, 8]) # # b = ll_merge(arr1, arr2) # # print(b)
def ll_merge(arg2, arg1): if arg2._len <= 0 and arg1._len <= 0: return False if arg2.head is None: return arg1 if arg1.head is None: return arg2 if True: (ptr_left, ptr_right) = (arg1.head, arg2.head) while ptr_right is not None: arg1.insert_before(ptr_left.val, ptr_right) (ptr_left, ptr_right) = (ptr_left._next, ptr_right._next) return arg1 else: (ptr_left, ptr_right) = (arg1.head, arg2.head) while ptr_left is not None: arg2.insert_before(ptr_right.val, ptr_left) (ptr_left, ptr_right) = (ptr_left._next, ptr_right._next) return arg2
upload_folder = './static/images/' static_folder = '/static/' testing_folder = './unit_tests/' test_data_folder = '/tests/test_data' class Config(object): DEBUG = False TESTING = False class ProductionConfig(Config): SECRET_KEY = 'Y\xbf\xb9\xb6\x9e\xca\xf0\tM\x08\x96\x17\xa1t\x90h\xaf\x92\xca1\xde\xcff\xf0' ENCRYPTION_ROUNDS = 12 UPLOAD_FOLDER = upload_folder STATIC_FOLDER = static_folder class DevelopmentConfig(Config): DEBUG = True SECRET_KEY = 'Y\xbf\xb9\xb6\x9e\xca\xf0\tM\x08\x96\x17\xa1t\x90h\xaf\x92\xca1\xde\xcff\xf0' ENCRYPTION_ROUNDS = 12 JSONIFY_PRETTYPRINT_REGULAR = False UPLOAD_FOLDER = upload_folder STATIC_FOLDER = static_folder class TestingConfig(Config): TESTING = True DEBUG = True SECRET_KEY = 'test_secret_key' ENCRYPTION_ROUNDS = 4 UPLOAD_FOLDER = testing_folder STATIC_FOLDER = test_data_folder
upload_folder = './static/images/' static_folder = '/static/' testing_folder = './unit_tests/' test_data_folder = '/tests/test_data' class Config(object): debug = False testing = False class Productionconfig(Config): secret_key = 'Y¿¹¶\x9eÊð\tM\x08\x96\x17¡t\x90h¯\x92Ê1ÞÏfð' encryption_rounds = 12 upload_folder = upload_folder static_folder = static_folder class Developmentconfig(Config): debug = True secret_key = 'Y¿¹¶\x9eÊð\tM\x08\x96\x17¡t\x90h¯\x92Ê1ÞÏfð' encryption_rounds = 12 jsonify_prettyprint_regular = False upload_folder = upload_folder static_folder = static_folder class Testingconfig(Config): testing = True debug = True secret_key = 'test_secret_key' encryption_rounds = 4 upload_folder = testing_folder static_folder = test_data_folder
__author__ = 'Christie' # Write a function in any language that takes as input a list of lists of integers. # The function should return void, and print to standard output the number of times each integer appeared at each index # in an inner list. So for instance: # countem ([ [ 1,2,3], [1,3,4], [1,3] ]) would output: # 1 @ 0 -> 3 # 2 @ 1 -> 1 # 3 @ 2 -> 1 # 3 @ 1 -> 2 # 4 @ 2 -> 1 #Ordering of the output does not matter. def countem(listOfListOfIntegers): listofLists = [[] for x in range(listOfListOfIntegers.__len__())] for l in listOfListOfIntegers: for i, v in enumerate(l): #print (i, v) listofLists[i].append(v) #print(listofLists) for i, v in enumerate(listofLists): a = set(v) [print (j, "@", i, "->", v.count(j)) for j in a] countem([ [ 1,2,3], [1,3,4], [1,3] ])
__author__ = 'Christie' def countem(listOfListOfIntegers): listof_lists = [[] for x in range(listOfListOfIntegers.__len__())] for l in listOfListOfIntegers: for (i, v) in enumerate(l): listofLists[i].append(v) for (i, v) in enumerate(listofLists): a = set(v) [print(j, '@', i, '->', v.count(j)) for j in a] countem([[1, 2, 3], [1, 3, 4], [1, 3]])
while True: username = input("Type your username: ") if (username != "Diego"): continue password = input("Type your password: ") if (password == "pass21"): break print("Welcome! Access Allowed!")
while True: username = input('Type your username: ') if username != 'Diego': continue password = input('Type your password: ') if password == 'pass21': break print('Welcome! Access Allowed!')
def square(number: int) -> int: if 1 < number > 64: raise ValueError(f"number should be between 1 and 64, was {number}") return 1 << (number - 1) # 1 * 2^(number-1) def total() -> int: return (1 << 64) - 1 # 2^64 -1 = 1.844674407371e+19
def square(number: int) -> int: if 1 < number > 64: raise value_error(f'number should be between 1 and 64, was {number}') return 1 << number - 1 def total() -> int: return (1 << 64) - 1
############################################## # This for AVX2 REGISTER_TYPE="__m256d" DATA_TYPE="double" REGISTER_WIDTH = 4 NUMBER_OF_REGISTERS = 16 MASK_IN_REGISTER = 0 # should be 1 ?? #TARGET_ITILE = 4 #TARGET_JTILE = 12 TARGET_ITILE = 3 TARGET_JTILE = 16 TARGET_KTILE = 48 CACHE_SIZE = 8192 MAX_JTILE = 20 MAX_ITILE = 14 + 2 def zero(register): print("%s=_mm256_setzero_pd(); " % register,end="") def load(register,ptr,is_incomplete): if is_incomplete: print("%s=_mm256_maskload_pd(%s,mask); " % (register,ptr),end="") else: print("%s=_mm256_loadu_pd(%s); " % (register,ptr),end="") def store(register,ptr,is_incomplete): if is_incomplete: print("_mm256_maskstore_pd(%s, mask, %s); " % (ptr,register),end="") else: print("_mm256_storeu_pd(%s, %s); " % (ptr,register),end="") # if needed declare and initialize the mask for incomplete j-register operation def decl_mask(indent,jtile): rem=jtile%REGISTER_WIDTH if rem==0: pass elif rem==1: print(indent,"__m256i mask=_mm256_set_epi64x( 0,0,0,-1);") elif rem==2: print(indent,"__m256i mask=_mm256_set_epi64x( 0,0,-1,-1);") else: print(indent,"__m256i mask=_mm256_set_epi64x( 0,-1,-1,-1);") def broadcast(indent,register,ptr): print(indent,"%s=_mm256_broadcast_sd(%s); "%(register,ptr),end="") def fma(a,b,c): print("%s=_mm256_fmadd_pd(%s,%s,%s); "%(c,a,b,c),end="") def mul(a,b,c): print("%s=_mm256_mul_pd(%s,%s); "%(c,a,b),end="") def print_include(): print("#include <immintrin.h>") print("#include <iostream>") print("#include <cassert>") def print_tuner(): print(''' void tune(int ni, int nj, int nk, int& itile, int& jtile) { if (ni==nj && nj==nk) { // SQUARE if (nj>20) { if (((nj&7)&&!(nj&3)) || !(nj%12)) {itile=4; jtile=12;} else {itile=6; jtile=8;} } else if (nj<=7){itile=jtile=nj;} else { static const int ilist[] = {4, 3, 4, 4, 4, 4, 5, 5, 6, 4, 6, 4, 4}; static const int jlist[] = {8, 9,10,11,12,13, 7, 8, 8,12, 8,12,12}; itile=ilist[nj-8]; jtile=jlist[nj-8]; } if (kernel_trace) printf("tuner_avx2: square: ni=%d nj=%d nk=%d itile=%d jtile=%d\\n", ni, nj, nk, itile, jtile); } else if (ni==nj*nj && nj==nk) { // (m,m*m)T*(m,m) if (nj>20) {itile=6; jtile=8;} else { static const int ilist[] = {-1, 1, 2, 9,12, 5, 6, 5, 4, 4, 4, 4, 4, 6, 6, 5, 6, 4, 4, 4, 4}; static const int jlist[] = {-1, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12, 8, 8, 8, 8,12,12,12,12}; itile=ilist[nj]; jtile=jlist[nj]; } if (kernel_trace) printf("tuner_avx2: (m,m*m)T(m,m): ni=%d nj=%d nk=%d itile=%d jtile=%d\\n", ni, nj, nk, itile, jtile); } else { // GENERAL /* Not quite doing this yet but it explains most of the data 0) maximize occupancy and efficiency njreg maxitile jtile nloadins nflopins eff 1 14 1-4 it+1 it jtile/4 2 6(7) 5-8 2*(it+1) 2*it jtile/8 3 4(5) 9-12 3*(it+1) 3*it jtile/12 4 2(3) 12-16 ... jtile/16 5 2 17-20 ... jtile/20 and need at least 4 cycles per iter So from (large) itile perspective all are equal efficiency, so just look at joccupancy to compute efficiency ... also applies to store njreg=(jtile-1)//REGISTER_WIDTH+1 or (NUMBER_OF_REGISTERS-1)//(itile+1) itile=(NUMBER_OF_REGISTERS-1-njreg)//njreg 1) for same occ/eff prefer to make remj=0 2) otherwise try make remi=0 3) 1 extra itile when () above due to GCC optimization */ if (nj<=20) { // small nj any ni jtile = nj; if (ni>4) {jtile=std::min(8,jtile);} int njreg = (jtile-1)/REGISTER_WIDTH + 1; itile = std::min((NUMBER_OF_REGISTERS-1-njreg)/njreg,ni); } else if (ni<=3) { // small ni large nj itile=ni; jtile=20; } else if (ni<=5) { // small ni large nj itile=ni; jtile=12; } else if (ni<=7) { // small ni large nj itile=ni; jtile=8; } else { // large both itile=6; jtile=8; } if (kernel_trace) printf("tuner_avx2: general: ni=%d nj=%d nk=%d itile=%d jtile=%d\\n", ni, nj, nk, itile, jtile); } } ''')
register_type = '__m256d' data_type = 'double' register_width = 4 number_of_registers = 16 mask_in_register = 0 target_itile = 3 target_jtile = 16 target_ktile = 48 cache_size = 8192 max_jtile = 20 max_itile = 14 + 2 def zero(register): print('%s=_mm256_setzero_pd(); ' % register, end='') def load(register, ptr, is_incomplete): if is_incomplete: print('%s=_mm256_maskload_pd(%s,mask); ' % (register, ptr), end='') else: print('%s=_mm256_loadu_pd(%s); ' % (register, ptr), end='') def store(register, ptr, is_incomplete): if is_incomplete: print('_mm256_maskstore_pd(%s, mask, %s); ' % (ptr, register), end='') else: print('_mm256_storeu_pd(%s, %s); ' % (ptr, register), end='') def decl_mask(indent, jtile): rem = jtile % REGISTER_WIDTH if rem == 0: pass elif rem == 1: print(indent, '__m256i mask=_mm256_set_epi64x( 0,0,0,-1);') elif rem == 2: print(indent, '__m256i mask=_mm256_set_epi64x( 0,0,-1,-1);') else: print(indent, '__m256i mask=_mm256_set_epi64x( 0,-1,-1,-1);') def broadcast(indent, register, ptr): print(indent, '%s=_mm256_broadcast_sd(%s); ' % (register, ptr), end='') def fma(a, b, c): print('%s=_mm256_fmadd_pd(%s,%s,%s); ' % (c, a, b, c), end='') def mul(a, b, c): print('%s=_mm256_mul_pd(%s,%s); ' % (c, a, b), end='') def print_include(): print('#include <immintrin.h>') print('#include <iostream>') print('#include <cassert>') def print_tuner(): print('\nvoid tune(int ni, int nj, int nk, int& itile, int& jtile) {\n if (ni==nj && nj==nk) { // SQUARE\n if (nj>20) {\n if (((nj&7)&&!(nj&3)) || !(nj%12)) {itile=4; jtile=12;}\n else {itile=6; jtile=8;}\n }\n else if (nj<=7){itile=jtile=nj;}\n else {\n static const int ilist[] = {4, 3, 4, 4, 4, 4, 5, 5, 6, 4, 6, 4, 4};\n static const int jlist[] = {8, 9,10,11,12,13, 7, 8, 8,12, 8,12,12};\n itile=ilist[nj-8];\n jtile=jlist[nj-8];\n }\n if (kernel_trace) printf("tuner_avx2: square: ni=%d nj=%d nk=%d itile=%d jtile=%d\\n", ni, nj, nk, itile, jtile);\n }\n else if (ni==nj*nj && nj==nk) { // (m,m*m)T*(m,m)\n if (nj>20) {itile=6; jtile=8;}\n else {\n static const int ilist[] = {-1, 1, 2, 9,12, 5, 6, 5, 4, 4, 4, 4, 4, 6, 6, 5, 6, 4, 4, 4, 4};\n static const int jlist[] = {-1, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,12, 8, 8, 8, 8,12,12,12,12};\n itile=ilist[nj];\n jtile=jlist[nj];\n }\n if (kernel_trace) printf("tuner_avx2: (m,m*m)T(m,m): ni=%d nj=%d nk=%d itile=%d jtile=%d\\n", ni, nj, nk, itile, jtile);\n }\n else { // GENERAL\n /*\n Not quite doing this yet but it explains most of the data\n \n 0) maximize occupancy and efficiency\n njreg maxitile jtile nloadins nflopins eff\n 1 14 1-4 it+1 it jtile/4\n 2 6(7) 5-8 2*(it+1) 2*it jtile/8\n 3 4(5) 9-12 3*(it+1) 3*it jtile/12\n 4 2(3) 12-16 ... jtile/16\n 5 2 17-20 ... jtile/20\n\n and need at least 4 cycles per iter\n\n So from (large) itile perspective all are equal efficiency, so just\n look at joccupancy to compute efficiency ... also applies to store\n\n njreg=(jtile-1)//REGISTER_WIDTH+1 or (NUMBER_OF_REGISTERS-1)//(itile+1)\n itile=(NUMBER_OF_REGISTERS-1-njreg)//njreg\n\n 1) for same occ/eff prefer to make remj=0 \n\n 2) otherwise try make remi=0\n\n 3) 1 extra itile when () above due to GCC optimization\n */\n\n if (nj<=20) { // small nj any ni\n jtile = nj;\n if (ni>4) {jtile=std::min(8,jtile);}\n int njreg = (jtile-1)/REGISTER_WIDTH + 1;\n itile = std::min((NUMBER_OF_REGISTERS-1-njreg)/njreg,ni);\n }\n else if (ni<=3) { // small ni large nj\n itile=ni;\n jtile=20;\n }\n else if (ni<=5) { // small ni large nj\n itile=ni;\n jtile=12;\n }\n else if (ni<=7) { // small ni large nj\n itile=ni;\n jtile=8;\n }\n else { // large both\n itile=6;\n jtile=8;\n }\n if (kernel_trace) printf("tuner_avx2: general: ni=%d nj=%d nk=%d itile=%d jtile=%d\\n", ni, nj, nk, itile, jtile);\n }\n}\n')
# @author Huaze Shen # @date 2020-01-29 class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None def flatten(root): if root is None: return flatten(root.left) flatten(root.right) temp = root.right root.right = root.left root.left = None while root.right is not None: root = root.right root.right = temp if __name__ == '__main__': root_ = TreeNode(1) root_.left = TreeNode(2) root_.left.left = TreeNode(3) root_.left.right = TreeNode(4) root_.right = TreeNode(5) root_.right.right = TreeNode(6) flatten(root_) while root_ is not None: print(root_.val) root_ = root_.right
class Treenode: def __init__(self, x): self.val = x self.left = None self.right = None def flatten(root): if root is None: return flatten(root.left) flatten(root.right) temp = root.right root.right = root.left root.left = None while root.right is not None: root = root.right root.right = temp if __name__ == '__main__': root_ = tree_node(1) root_.left = tree_node(2) root_.left.left = tree_node(3) root_.left.right = tree_node(4) root_.right = tree_node(5) root_.right.right = tree_node(6) flatten(root_) while root_ is not None: print(root_.val) root_ = root_.right
# Author - @Nathaniel Walker # Date - 9/23/20 # Description - This method will get the area of a square given one side length. # define method def area_of_square(side): return side * side
def area_of_square(side): return side * side
class ArtistMethods(object): """Artist methods of the public API.""" def artist(self, artist_id, text_format=None): """Gets data for a specific artist. Args: artist_id (:obj:`int`): Genius artist ID text_format (:obj:`str`, optional): Text format of the results ('dom', 'html', 'markdown' or 'plain'). Returns: :obj:`dict` """ endpoint = 'artists/{}'.format(artist_id) params = {'text_format': text_format or self.response_format} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_activity(self, artist_id, per_page=None, page=None, text_format=None): """Gets activities on artist's songs. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). text_format (:obj:`str`, optional): Text format of the results ('dom', 'html', 'markdown' or 'plain'). Returns: :obj:`dict` """ endpoint = 'artists/{}/activity_stream/line_items'.format(artist_id) params = {'per_page': per_page, 'page': page, 'text_format': text_format or self.response_format} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_albums(self, artist_id, per_page=None, page=None): """Gets artist's albums. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). Returns: :obj:`dict` """ endpoint = 'artists/{}/albums'.format(artist_id) params = {'per_page': per_page, 'page': page} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_contribution_opportunities(self, artist_id, per_page=None, next_curosr=None, text_format=None): """Gets contribution opportunities related to the artist. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. next_cursor (:obj:`int`, optional): Paginated offset (address of the next cursor). text_format (:obj:`str`, optional): Text format of the results ('dom', 'html', 'markdown' or 'plain'). Returns: :obj:`dict` Warning: This method requires a logged in user and will raise ``NotImplementedError``. """ raise NotImplementedError('This action requires a logged in user.') endpoint = 'artists/{}/contribution_opportunities'.format(artist_id) params = {'per_page': per_page, 'next_curosr': next_curosr, 'text_format': text_format or self.response_format} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_followers(self, artist_id, per_page=None, page=None): """Gets artist's followers. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). Returns: :obj:`dict` """ endpoint = 'artists/{}/followers'.format(artist_id) params = {'per_page': per_page, 'page': page} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_leaderboard(self, artist_id, per_page=None, page=None): """Gets artist's top scholars. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). Returns: :obj:`dict` """ endpoint = 'artists/{}/leaderboard'.format(artist_id) params = {'per_page': per_page, 'page': page} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_songs(self, artist_id, per_page=None, page=None, sort='popularity'): """Gets artist's songs. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). sort (:obj:`str`, optional): Sorting preference. ('title' or 'popularity') Returns: :obj:`dict` """ endpoint = 'artists/{}/songs'.format(artist_id) params = {'per_page': per_page, 'page': page, 'sort': sort} return self._make_request(path=endpoint, params_=params, public_api=True) def search_artist_songs(self, artist_id, search_term, per_page=None, page=None, sort='popularity'): """Searches artist's songs. Args: artist_id (:obj:`int`): Genius artist ID search_term (:obj:`str`): A term to search on Genius. per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). sort (:obj:`str`, optional): Sorting preference. ('title' or 'popularity') Returns: :obj:`dict` """ endpoint = 'artists/{}/songs/search'.format(artist_id) params = {'q': search_term, 'per_page': per_page, 'page': page, 'sort': sort} return self._make_request(path=endpoint, params_=params, public_api=True)
class Artistmethods(object): """Artist methods of the public API.""" def artist(self, artist_id, text_format=None): """Gets data for a specific artist. Args: artist_id (:obj:`int`): Genius artist ID text_format (:obj:`str`, optional): Text format of the results ('dom', 'html', 'markdown' or 'plain'). Returns: :obj:`dict` """ endpoint = 'artists/{}'.format(artist_id) params = {'text_format': text_format or self.response_format} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_activity(self, artist_id, per_page=None, page=None, text_format=None): """Gets activities on artist's songs. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). text_format (:obj:`str`, optional): Text format of the results ('dom', 'html', 'markdown' or 'plain'). Returns: :obj:`dict` """ endpoint = 'artists/{}/activity_stream/line_items'.format(artist_id) params = {'per_page': per_page, 'page': page, 'text_format': text_format or self.response_format} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_albums(self, artist_id, per_page=None, page=None): """Gets artist's albums. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). Returns: :obj:`dict` """ endpoint = 'artists/{}/albums'.format(artist_id) params = {'per_page': per_page, 'page': page} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_contribution_opportunities(self, artist_id, per_page=None, next_curosr=None, text_format=None): """Gets contribution opportunities related to the artist. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. next_cursor (:obj:`int`, optional): Paginated offset (address of the next cursor). text_format (:obj:`str`, optional): Text format of the results ('dom', 'html', 'markdown' or 'plain'). Returns: :obj:`dict` Warning: This method requires a logged in user and will raise ``NotImplementedError``. """ raise not_implemented_error('This action requires a logged in user.') endpoint = 'artists/{}/contribution_opportunities'.format(artist_id) params = {'per_page': per_page, 'next_curosr': next_curosr, 'text_format': text_format or self.response_format} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_followers(self, artist_id, per_page=None, page=None): """Gets artist's followers. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). Returns: :obj:`dict` """ endpoint = 'artists/{}/followers'.format(artist_id) params = {'per_page': per_page, 'page': page} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_leaderboard(self, artist_id, per_page=None, page=None): """Gets artist's top scholars. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). Returns: :obj:`dict` """ endpoint = 'artists/{}/leaderboard'.format(artist_id) params = {'per_page': per_page, 'page': page} return self._make_request(path=endpoint, params_=params, public_api=True) def artist_songs(self, artist_id, per_page=None, page=None, sort='popularity'): """Gets artist's songs. Args: artist_id (:obj:`int`): Genius artist ID per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). sort (:obj:`str`, optional): Sorting preference. ('title' or 'popularity') Returns: :obj:`dict` """ endpoint = 'artists/{}/songs'.format(artist_id) params = {'per_page': per_page, 'page': page, 'sort': sort} return self._make_request(path=endpoint, params_=params, public_api=True) def search_artist_songs(self, artist_id, search_term, per_page=None, page=None, sort='popularity'): """Searches artist's songs. Args: artist_id (:obj:`int`): Genius artist ID search_term (:obj:`str`): A term to search on Genius. per_page (:obj:`int`, optional): Number of results to return per request. It can't be more than 50. page (:obj:`int`, optional): Paginated offset (number of the page). sort (:obj:`str`, optional): Sorting preference. ('title' or 'popularity') Returns: :obj:`dict` """ endpoint = 'artists/{}/songs/search'.format(artist_id) params = {'q': search_term, 'per_page': per_page, 'page': page, 'sort': sort} return self._make_request(path=endpoint, params_=params, public_api=True)
# There are few cases when recursion is useful # 1.When we need quick solution over efficient one # 2.While traversing trees # In this program we'll find factorial of a number # O(n!) def factorial(num): if num == 0: return 1 else: return num * factorial(num - 1) print(factorial(5))
def factorial(num): if num == 0: return 1 else: return num * factorial(num - 1) print(factorial(5))
''' Purpose : In a trading system a product is bought in the morning and sold out on the same day. If a person can make only 2 transactions a day with a condition that second transaction is followed only after first then find the maximum profit the person could get. Input formate : Line1 : Number of test cases Line2 : Length of the prices array Line3 : prices array separated with a space Output formate : The maximum profit Method : Dynamic programming Intuition : Storing the maximum possible profit of every subarray in a table named profit Finally returning the profit[n-1] Argument: Array return : int ''' def maxProfit(price, n): # Create profit array and initialize it as 0 profit = [0]*n ''' Get the maximum profit with only one transaction allowed. After this loop,profit[i] contains maximum profit from price[i..n-1] using at most one trans. max_price = price[n-1] ''' for i in range(n-2, 0, -1): if price[i] > max_price: max_price = price[i] ''' we can get profit[i] by taking maximum of: a) previous maximum,i.e., profit[i+1] b) profit by buying at price[i] and selling at max_price''' profit[i] = max(profit[i+1], max_price - price[i]) '''Get the maximum profit with two transactions allowed After this loop, profit[n-1] contains the result''' min_price = price[0] for i in range(1, n): if price[i] < min_price: min_price = price[i] '''Maximum profit is maximum of: a) previous maximum,i.e., profit[i-1] b) (Buy, Sell) at (min_price, A[i]) and profit of other trans.stored in profit[i]''' profit[i] = max(profit[i-1], profit[i]+(price[i]-min_price)) result = profit[n-1] return result # Driver function def main(): for _ in range(int(input())): price = [] length=int(input()) price=list(map(int,input().split())) print ("Maximum profit is", maxProfit(price,length),"\n") if __name__=="__main__": main() ''' Case : 1 Sample Input : 2 6 [90, 80, 70, 60, 50] 6 [10, 22, 5, 75, 65, 80] Sample Output : 0 87 Reason : 1)No possible earn only loss if transactions takes place 2)Buy at 10, sell at 22, Buy at 5 and sell at 80. [12+75] Time complexity : O(N) Space Complexity : O(N) '''
""" Purpose : In a trading system a product is bought in the morning and sold out on the same day. If a person can make only 2 transactions a day with a condition that second transaction is followed only after first then find the maximum profit the person could get. Input formate : Line1 : Number of test cases Line2 : Length of the prices array Line3 : prices array separated with a space Output formate : The maximum profit Method : Dynamic programming Intuition : Storing the maximum possible profit of every subarray in a table named profit Finally returning the profit[n-1] Argument: Array return : int """ def max_profit(price, n): profit = [0] * n ' Get the maximum profit with only one transaction allowed.\n\tAfter this loop,profit[i] contains maximum profit from price[i..n-1] using at most one trans.\n\tmax_price = price[n-1] ' for i in range(n - 2, 0, -1): if price[i] > max_price: max_price = price[i] ' we can get profit[i] by taking maximum of:\n\t\ta) previous maximum,i.e., profit[i+1]\n\t\tb) profit by buying at price[i] and selling at max_price' profit[i] = max(profit[i + 1], max_price - price[i]) 'Get the maximum profit with two transactions allowed\n\tAfter this loop, profit[n-1] contains the result' min_price = price[0] for i in range(1, n): if price[i] < min_price: min_price = price[i] 'Maximum profit is maximum of:\n\t\ta) previous maximum,i.e., profit[i-1]\n\t\tb) (Buy, Sell) at (min_price, A[i]) and \n\t\tprofit of other trans.stored in profit[i]' profit[i] = max(profit[i - 1], profit[i] + (price[i] - min_price)) result = profit[n - 1] return result def main(): for _ in range(int(input())): price = [] length = int(input()) price = list(map(int, input().split())) print('Maximum profit is', max_profit(price, length), '\n') if __name__ == '__main__': main() '\nCase : 1\nSample Input :\n2\n6\n[90, 80, 70, 60, 50]\n6\n[10, 22, 5, 75, 65, 80]\nSample Output :\n0\n87\nReason :\n1)No possible earn only loss if transactions takes place\n2)Buy at 10, sell at 22, Buy at 5 and sell at 80. [12+75]\n\nTime complexity : O(N)\nSpace Complexity : O(N)\n'
thistuple = ("apple", "banana", "cherry") print(thistuple) # ('apple', 'banana', 'cherry') thistuple = ("apple", "banana", "cherry", "apple", "cherry") print(thistuple) # ('apple', 'banana', 'cherry', 'apple', 'cherry') thistuple = ("apple", "banana", "cherry") print(len(thistuple)) # 3 thistuple = ("apple",) print(type(thistuple)) # <class 'tuple'> thistuple = ("apple") print(type(thistuple)) # <class 'str'> thistuple = tuple(("apple", "banana", "cherry")) print(thistuple) # ('apple', 'banana', 'cherry') thistuple = ("apple", "banana", "cherry") print(thistuple[1]) # banana print(thistuple[-1]) # cherry thistuple = ("apple", "banana", "cherry", "orange", "kiwi", "melon", "mango") print(thistuple[2:5]) # ('cherry', 'orange', 'kiwi') print(thistuple[:4]) # ('apple', 'banana', 'cherry', 'orange') print(thistuple[2:]) # ('cherry', 'orange', 'kiwi', 'melon', 'mango') print(thistuple[-4:-1]) # ('orange', 'kiwi', 'melon') thistuple = ("apple", "banana", "cherry") if "apple" in thistuple: print("Yes, 'apple' is in the fruits tuple.") # Yes, 'apple' is in the fruits tuple. x = ("apple", "banana", "cherry") y = list(x) y[1] = "kiwi" x = tuple(y) print(x) # ('apple', 'kiwi', 'cherry') thistuple = ("apple", "banana", "cherry") y = list(thistuple) y.append("orange") thistuple = tuple(y) print(thistuple) # ('apple', 'banana', 'cherry', 'orange') thistuple = ("apple", "banana", "cherry") y = ("orange",) thistuple += y print(thistuple) # ('apple', 'banana', 'cherry', 'orange') thistuple = ("apple", "banana", "cherry") y = list(thistuple) y.remove("apple") thistuple = tuple(y) print(thistuple) # ('banana', 'cherry') thistuple = ("apple", "banana", "cherry") del thistuple print(thistuple) fruits = ("apple", "banana", "cherry") (green, yellow, red) = fruits print(green) print(yellow) print(red) """ apple banana cherry """ fruits = ("apple", "banana", "cherry", "strawberry", "raspberry") (green, yellow, *red) = fruits print(green) print(yellow) print(red) """ apple banana ['cherry', 'strawberry', 'raspberry'] """ fruits = ("apple", "mango", "papaya", "pineapple", "cherry") (green, *tropic, red) = fruits print(green) print(tropic) print(red) """ apple ['mango', 'papaya', 'pineapple'] cherry """ thistuple = ("apple", "banana", "cherry") for x in thistuple: print(x) """ apple banana cherry """ thistuple = ("apple", "banana", "cherry") for i in range(len(thistuple)): print(thistuple[i]) """ apple banana cherry """ thistuple = ("apple", "banana", "cherry") i = 0 while i < len(thistuple): print(thistuple[i]) i = i + 1 """ apple banana cherry """ tuple1 = ("a", "b", "c") tuple2 = (1, 2, 3) tuple3 = tuple1 + tuple2 print(tuple3) # ('a', 'b', 'c', 1, 2, 3) fruits = ("apple", "banana", "cherry") mytuple = fruits * 2 print(mytuple) # ('apple', 'banana', 'cherry', 'apple', 'banana', 'cherry')
thistuple = ('apple', 'banana', 'cherry') print(thistuple) thistuple = ('apple', 'banana', 'cherry', 'apple', 'cherry') print(thistuple) thistuple = ('apple', 'banana', 'cherry') print(len(thistuple)) thistuple = ('apple',) print(type(thistuple)) thistuple = 'apple' print(type(thistuple)) thistuple = tuple(('apple', 'banana', 'cherry')) print(thistuple) thistuple = ('apple', 'banana', 'cherry') print(thistuple[1]) print(thistuple[-1]) thistuple = ('apple', 'banana', 'cherry', 'orange', 'kiwi', 'melon', 'mango') print(thistuple[2:5]) print(thistuple[:4]) print(thistuple[2:]) print(thistuple[-4:-1]) thistuple = ('apple', 'banana', 'cherry') if 'apple' in thistuple: print("Yes, 'apple' is in the fruits tuple.") x = ('apple', 'banana', 'cherry') y = list(x) y[1] = 'kiwi' x = tuple(y) print(x) thistuple = ('apple', 'banana', 'cherry') y = list(thistuple) y.append('orange') thistuple = tuple(y) print(thistuple) thistuple = ('apple', 'banana', 'cherry') y = ('orange',) thistuple += y print(thistuple) thistuple = ('apple', 'banana', 'cherry') y = list(thistuple) y.remove('apple') thistuple = tuple(y) print(thistuple) thistuple = ('apple', 'banana', 'cherry') del thistuple print(thistuple) fruits = ('apple', 'banana', 'cherry') (green, yellow, red) = fruits print(green) print(yellow) print(red) '\napple\nbanana\ncherry\n' fruits = ('apple', 'banana', 'cherry', 'strawberry', 'raspberry') (green, yellow, *red) = fruits print(green) print(yellow) print(red) "\napple\nbanana\n['cherry', 'strawberry', 'raspberry']\n" fruits = ('apple', 'mango', 'papaya', 'pineapple', 'cherry') (green, *tropic, red) = fruits print(green) print(tropic) print(red) "\napple\n['mango', 'papaya', 'pineapple']\ncherry\n" thistuple = ('apple', 'banana', 'cherry') for x in thistuple: print(x) '\napple \nbanana\ncherry\n' thistuple = ('apple', 'banana', 'cherry') for i in range(len(thistuple)): print(thistuple[i]) '\napple \nbanana\ncherry\n' thistuple = ('apple', 'banana', 'cherry') i = 0 while i < len(thistuple): print(thistuple[i]) i = i + 1 '\napple \nbanana\ncherry\n' tuple1 = ('a', 'b', 'c') tuple2 = (1, 2, 3) tuple3 = tuple1 + tuple2 print(tuple3) fruits = ('apple', 'banana', 'cherry') mytuple = fruits * 2 print(mytuple)
class Graph: def __init__(self, edges): self.edges = edges self.graph_dict = {} for start, end in edges: if start in self.graph_dict: self.graph_dict[start].append(end) else: self.graph_dict[start] = [end] print("Graph Dict:", self.graph_dict) def get_paths(self, start, end, path=[]): path = path + [start] if start == end: return [path] if start not in self.graph_dict: return [] paths = [] for node in self.graph_dict[start]: if node not in path: new_paths = self.get_paths(node, end, path) for p in new_paths: paths.append(p) return paths def get_shortest_path(self, start, end, path=[]): path = path + [start] if start == end: return path if start not in self.graph_dict: return None shortest_path = None for node in self.graph_dict[start]: if node not in path: sp = self.get_shortest_path(node, end, path) if sp: if shortest_path is None or len(sp) < len(shortest_path): shortest_path = sp return shortest_path if __name__ == '__main__': routes = [ ("Mumbai","Pune"), ("Mumbai", "Surat"), ("Surat", "Bangaluru"), ("Pune","Hyderabad"), ("Pune","Mysuru"), ("Hyderabad","Bangaluru"), ("Hyderabad", "Chennai"), ("Mysuru", "Bangaluru"), ("Chennai", "Bangaluru") ] routes = [ ("Mumbai", "Paris"), ("Mumbai", "Dubai"), ("Paris", "Dubai"), ("Paris", "New York"), ("Dubai", "New York"), ("New York", "Toronto"), ] route_graph = Graph(routes) start = "Mumbai" end = "New York" print(f"All paths between: {start} and {end}: ",route_graph.get_paths(start,end)) print(f"Shortest path between {start} and {end}: ", route_graph.get_shortest_path(start,end)) start = "Dubai" end = "New York" print(f"All paths between: {start} and {end}: ",route_graph.get_paths(start,end)) print(f"Shortest path between {start} and {end}: ", route_graph.get_shortest_path(start,end))
class Graph: def __init__(self, edges): self.edges = edges self.graph_dict = {} for (start, end) in edges: if start in self.graph_dict: self.graph_dict[start].append(end) else: self.graph_dict[start] = [end] print('Graph Dict:', self.graph_dict) def get_paths(self, start, end, path=[]): path = path + [start] if start == end: return [path] if start not in self.graph_dict: return [] paths = [] for node in self.graph_dict[start]: if node not in path: new_paths = self.get_paths(node, end, path) for p in new_paths: paths.append(p) return paths def get_shortest_path(self, start, end, path=[]): path = path + [start] if start == end: return path if start not in self.graph_dict: return None shortest_path = None for node in self.graph_dict[start]: if node not in path: sp = self.get_shortest_path(node, end, path) if sp: if shortest_path is None or len(sp) < len(shortest_path): shortest_path = sp return shortest_path if __name__ == '__main__': routes = [('Mumbai', 'Pune'), ('Mumbai', 'Surat'), ('Surat', 'Bangaluru'), ('Pune', 'Hyderabad'), ('Pune', 'Mysuru'), ('Hyderabad', 'Bangaluru'), ('Hyderabad', 'Chennai'), ('Mysuru', 'Bangaluru'), ('Chennai', 'Bangaluru')] routes = [('Mumbai', 'Paris'), ('Mumbai', 'Dubai'), ('Paris', 'Dubai'), ('Paris', 'New York'), ('Dubai', 'New York'), ('New York', 'Toronto')] route_graph = graph(routes) start = 'Mumbai' end = 'New York' print(f'All paths between: {start} and {end}: ', route_graph.get_paths(start, end)) print(f'Shortest path between {start} and {end}: ', route_graph.get_shortest_path(start, end)) start = 'Dubai' end = 'New York' print(f'All paths between: {start} and {end}: ', route_graph.get_paths(start, end)) print(f'Shortest path between {start} and {end}: ', route_graph.get_shortest_path(start, end))
# the operator looks the same but behaves differently depending on the input. # Example: Addition (+ operator) # number + number = sum # string + string = concatenation # Overriding class Employee: def setNumberOfWorkingHours(self): self.numberOfWorkingHours = 40 def displayNumberOfWorkingHours(self): print(self.numberOfWorkingHours) class Trainee(Employee): def setNumberOfWorkingHours(self): self.numberOfWorkingHours = 45 def resetNumberOfWorkingHours(self): super().setNumberOfWorkingHours() if __name__ == "__main__": employee = Employee() employee.setNumberOfWorkingHours() print('Number of working hours of employee: ', end='') employee.displayNumberOfWorkingHours() trainee = Trainee() trainee.setNumberOfWorkingHours() print('Number of working hours of trainee: ', end='') trainee.displayNumberOfWorkingHours() trainee.resetNumberOfWorkingHours() print('Number of working hours of trainee after reset: ', end='') trainee.displayNumberOfWorkingHours()
class Employee: def set_number_of_working_hours(self): self.numberOfWorkingHours = 40 def display_number_of_working_hours(self): print(self.numberOfWorkingHours) class Trainee(Employee): def set_number_of_working_hours(self): self.numberOfWorkingHours = 45 def reset_number_of_working_hours(self): super().setNumberOfWorkingHours() if __name__ == '__main__': employee = employee() employee.setNumberOfWorkingHours() print('Number of working hours of employee: ', end='') employee.displayNumberOfWorkingHours() trainee = trainee() trainee.setNumberOfWorkingHours() print('Number of working hours of trainee: ', end='') trainee.displayNumberOfWorkingHours() trainee.resetNumberOfWorkingHours() print('Number of working hours of trainee after reset: ', end='') trainee.displayNumberOfWorkingHours()
def get_nested(o, default, *args): if o is None: return default current = o for arg in args: if current is None or arg is None or current.get(arg, None) is None: return default current = current.get(arg, default) return current
def get_nested(o, default, *args): if o is None: return default current = o for arg in args: if current is None or arg is None or current.get(arg, None) is None: return default current = current.get(arg, default) return current