Skip to content

Commit

Permalink
Maryia/Hotfix for basket indices in Open Positions & in DBot Quick st…
Browse files Browse the repository at this point in the history
…rategy (#5174)
  • Loading branch information
maryia-deriv committed Apr 11, 2022
1 parent 5a552f6 commit c049105
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion packages/bot-skeleton/src/services/api/contracts-for.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class ContractsFor {
// e.g. if market omitted, rule will apply to all markets.
this.disabled_options = [
{
submarket: 'smart_fx',
submarket: 'forex_basket',
trade_type: 'higherlower',
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/bot-web-ui/src/xml/dalembert.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<block type="trade_definition" id="S8h29bv2DDtW#WyF}Eva" x="0" y="0">
<statement name="TRADE_OPTIONS">
<block type="trade_definition_market" id="CAL$3(*qz%,|%p-@tWu," deletable="false" movable="false">
<field name="MARKET_LIST">forex</field>
<field name="SUBMARKET_LIST">smart_fx</field>
<field name="MARKET_LIST">basket_index</field>
<field name="SUBMARKET_LIST">forex_basket</field>
<field name="SYMBOL_LIST">WLDAUD</field>
<next>
<block type="trade_definition_tradetype" id="1JDTS0%^EFc?!72k#Zzm" deletable="false" movable="false">
Expand Down
4 changes: 2 additions & 2 deletions packages/bot-web-ui/src/xml/martingale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<block type="trade_definition" id="i]`fLRZ]?mshi{9kS+fg" x="0" y="0">
<statement name="TRADE_OPTIONS">
<block type="trade_definition_market" id="w2tV#|N1PqTM)~5-6|An" deletable="false" movable="false">
<field name="MARKET_LIST">forex</field>
<field name="SUBMARKET_LIST">smart_fx</field>
<field name="MARKET_LIST">basket_index</field>
<field name="SUBMARKET_LIST">forex_basket</field>
<field name="SYMBOL_LIST">WLDAUD</field>
<next>
<block type="trade_definition_tradetype" id="4BIa?F@i2*Mlrd:{G,SF" deletable="false" movable="false">
Expand Down
4 changes: 2 additions & 2 deletions packages/bot-web-ui/src/xml/oscars_grind.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
<block type="trade_definition" id="=@wrkm^bnK7`*%/UICme" x="0" y="0">
<statement name="TRADE_OPTIONS">
<block type="trade_definition_market" id="]NKNkk/Q*k9b-km6%$1W" deletable="false" movable="false">
<field name="MARKET_LIST">forex</field>
<field name="SUBMARKET_LIST">smart_fx</field>
<field name="MARKET_LIST">basket_index</field>
<field name="SUBMARKET_LIST">forex_basket</field>
<field name="SYMBOL_LIST">WLDAUD</field>
<next>
<block type="trade_definition_tradetype" id="U;l%?]:_]T6^CHBs5rd5" deletable="false" movable="false">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c049105

Please sign in to comment.