# \[Strategy Market\]\[Switch\] Strategy

**URL:** https://forum.eternagame.org/t/strategy-market-switch-strategy/2379
**Category:** Strategy Market - Switches
**Created:** [June 29, 2015, 11:40pm UTC](https://forum.eternagame.org/t/strategy-market-switch-strategy/2379 "2015-06-29T23:40:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [June 29, 2015, 11:40pm UTC](https://forum.eternagame.org/t/strategy-market-switch-strategy/2379/1 "2015-06-29T23:40:00Z")

</div>

&nbsp;1.) 3 stacks max. , 2 better  
penalize if more than 3 stacks  
2.) half of sequence in invariant when folding between states  
penalize if entire sequence is folding  
strong penalty if is 3 dimensional (it looks like twists and turns during folding)  
3.) molecule is partially free in state 1.  
minor penalty if molecule is completely bound in state 1  
4.) few kinks in both states  
penalize if stack not nicely straight &nbsp;(1-1 mismatches ok,1 or 2)  
the more stacks are jagged, more the penalty  
&nbsp;&nbsp;

---

<div class="post-metadata">

### Author: ![vineetkosaraju](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/v/4491bb/32.png) [@vineetkosaraju](https://forum.eternagame.org/u/vineetkosaraju)
#### Post date: [July 8, 2015, 3:58pm UTC](https://forum.eternagame.org/t/strategy-market-switch-strategy/2379/2 "2015-07-08T15:58:00Z")

</div>

Hi JR,

Would you like these to be implemented as 4 separate strategies or as 1 big strategy?&nbsp;

Thanks,  
Vineet

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 8, 2015, 7:31pm UTC](https://forum.eternagame.org/t/strategy-market-switch-strategy/2379/3 "2015-07-08T19:31:00Z")

</div>

Separate , better to see what works. Thanks.

---

<div class="post-metadata">

### Author: ![vineetkosaraju](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/v/4491bb/32.png) [@vineetkosaraju](https://forum.eternagame.org/u/vineetkosaraju)
#### Post date: [July 9, 2015, 3:30pm UTC](https://forum.eternagame.org/t/strategy-market-switch-strategy/2379/4 "2015-07-09T15:30:00Z")

</div>

Dear JR,  
&nbsp;  
Your strategy has been added to our implementation queue and we should have it completed within the next two to three weeks. You can check the status of the implementation [here](https://github.com/vineetsk1/Switch-Strategies/issues/38).

We will also be uploading the code used to write your strategy on this [page](https://github.com/vineetsk1/Switch-Strategies) if you are interested in reading it later.

After implementing your idea, we will post the direct link to the code here. Then, we will optimize the parameters, and test it. At that point, we will tell you the correlation of how good your strategy was and what the new optimized parameters are.

Thanks for sharing your idea!

Vineet Kosaraju  
The EteRNA Team

---

<div class="post-metadata">

### Author: ![vineetkosaraju](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/v/4491bb/32.png) [@vineetkosaraju](https://forum.eternagame.org/u/vineetkosaraju)
#### Post date: [July 9, 2015, 10:54pm UTC](https://forum.eternagame.org/t/strategy-market-switch-strategy/2379/5 "2015-07-09T22:54:00Z")

</div>

Dear JR,

I am pleased to announce that preliminary versions of your strategies have been implemented with. Note that the code might slightly change in the future to remove bugs. We will soon work on optimizing your parameters and testing the strategy.

[3 stacks max., 2 better:](https://github.com/vineetsk1/Switch-Strategies/blob/master/JR_3_stacks_max_2_better.py "Link https//githubcom/vineetsk1/Switch-Strategies/blob/master/JR\_3\_stacks\_max\_2\_betterpy")&nbsp;Implemented with 14 lines of code.  
[half of sequence in invariant when folding between states](https://github.com/vineetsk1/Switch-Strategies/blob/master/JR_half_of_sequence_in_invariant_when_folding_between_states.py "Link https//githubcom/vineetsk1/Switch-Strategies/blob/master/JR\_half\_of\_sequence\_in\_invariant\_when\_folding\_between\_statespy"): implemented with 29 lines of code.  
[molecule is partially free in state 1](https://github.com/vineetsk1/Switch-Strategies/blob/master/JR_molecule_is_partially_free_in_state_1.py): implemented with 17 lines of code.  
[few kinks in both states](https://github.com/vineetsk1/Switch-Strategies/blob/master/JR_few_kinks_in_both_states.py "Link https//githubcom/vineetsk1/Switch-Strategies/blob/master/JR\_few\_kinks\_in\_both\_statespy"): Implemented with 31 lines of code.

Thank you again for sharing your switch strategy!

Vineet Kosaraju  
The EteRNA Team
