Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
784fab2
make digits contract's barrier to be integer
nazaninreihani Jun 24, 2019
fdcea33
New translations en.json (Italian)
ashkanx Jun 24, 2019
31ac0c4
New translations en.json (Italian)
ashkanx Jun 24, 2019
612b88f
Merge pull request #1317 from binary-com/CrowdIn
ashkanx Jun 24, 2019
13fa773
Merge pull request #1316 from nazaninreihani/fix_digits
morteza-binary Jun 25, 2019
9ed5236
Merge branch 'master' into dev
morteza-binary Jun 25, 2019
5e4bfb9
Merge branch 'master' into dev
morteza-binary Jun 25, 2019
e3f37da
Merge pull request #1318 from binary-com/master
morteza-binary Jun 25, 2019
e624023
update shelljs
nazaninreihani Jul 2, 2019
56a0a03
Merge pull request #1320 from nazaninreihani/update_package
ashkanx Jul 3, 2019
e2ad6d9
fix buy
nazaninreihani Jul 3, 2019
fbbd284
use buy instead of portfolio to fix chart hang when tick is 1
nazaninreihani Jul 4, 2019
fdb0002
remove subscribing to buy as it is unnecessary
nazaninreihani Jul 8, 2019
3bdc644
Merge pull request #1322 from nazaninreihani/fix_purchase
ashkanx Jul 9, 2019
89ef8a3
fix missing profit/loss and sell_price in transaction details (#1323)
nazaninreihani Jul 10, 2019
1d19b18
fix average becoming NaN in Asian trade (#1324)
nazaninreihani Jul 11, 2019
31a55f0
update lodash (#1325)
nazaninreihani Jul 15, 2019
3a95a09
Fix sending not shown in authorize as token (#1326)
nazaninreihani Jul 18, 2019
bd829d9
Merge branch 'dev' of github.com:binary-com/mobile into dev
morteza-binary Jul 18, 2019
3f0b80c
Changed app icon
morteza-binary Jul 18, 2019
e8ccbd8
Merge branch 'master' into dev
morteza-binary Jul 18, 2019
6efc72c
Morteza/new_app_icon (#1327)
morteza-binary Jul 18, 2019
3b1b8a2
New translations en.json (Italian)
ashkanx Jul 19, 2019
7269779
Merge pull request #1329 from binary-com/CrowdIn
ashkanx Jul 30, 2019
a3d7713
Fix self exclusion time and date fields
nazaninreihani Aug 12, 2019
15f72b1
refactor
nazaninreihani Aug 13, 2019
0c7907b
fixes to self exclusion
nazaninreihani Aug 14, 2019
4c07483
fix eslint
nazaninreihani Aug 15, 2019
c267711
not validate exclude until when user has set it already
nazaninreihani Aug 16, 2019
0c5f4a8
fix exclude until error and make it show the correct time user selected
nazaninreihani Aug 16, 2019
cb1cc1a
Change 30 to 50 max chars for first name and last name
nazaninreihani Aug 16, 2019
60ca2e7
New translations en.json (Vietnamese)
ashkanx Aug 18, 2019
aa0fca6
Merge pull request #1330 from nazanin-binary/self_exclusiion
ashkanx Aug 19, 2019
59e662a
New translations en.json (Vietnamese)
ashkanx Aug 19, 2019
9501c49
New translations en.json (Chinese Simplified)
ashkanx Aug 19, 2019
1b3fbd7
New translations en.json (Chinese Traditional)
ashkanx Aug 19, 2019
5c9282a
New translations en.json (French)
ashkanx Aug 19, 2019
49c6aec
New translations en.json (German)
ashkanx Aug 19, 2019
c9ae04a
New translations en.json (Indonesian)
ashkanx Aug 19, 2019
19a93b8
New translations en.json (Italian)
ashkanx Aug 19, 2019
9ed6377
New translations en.json (Polish)
ashkanx Aug 19, 2019
1996198
New translations en.json (Portuguese)
ashkanx Aug 19, 2019
ab93e46
New translations en.json (Russian)
ashkanx Aug 19, 2019
1cd0cb7
New translations en.json (Spanish)
ashkanx Aug 19, 2019
4c12038
New translations en.json (Thai)
ashkanx Aug 19, 2019
7a42783
New translations en.json (Acholi)
ashkanx Aug 19, 2019
cf420a8
New translations en.json (Indonesian)
ashkanx Aug 19, 2019
4bc2151
New translations en.json (Indonesian)
ashkanx Aug 19, 2019
7629d55
New translations en.json (Chinese Simplified)
ashkanx Aug 19, 2019
e013452
New translations en.json (Chinese Simplified)
ashkanx Aug 19, 2019
de956c7
New translations en.json (Chinese Traditional)
ashkanx Aug 19, 2019
f7c5d5d
New translations en.json (Spanish)
ashkanx Aug 19, 2019
b2e9af8
New translations en.json (Spanish)
ashkanx Aug 19, 2019
4245aec
New translations en.json (Polish)
ashkanx Aug 19, 2019
301cdf6
New translations en.json (Polish)
ashkanx Aug 19, 2019
7e26f67
Merge branch 'dev' of github.com:binary-com/mobile into name_limit
nazaninreihani Aug 20, 2019
76f6068
New translations en.json (Italian)
ashkanx Aug 21, 2019
2ef8328
Merge pull request #1332 from binary-com/CrowdIn
ashkanx Aug 21, 2019
111b0ba
New translations en.json (Italian)
ashkanx Aug 21, 2019
8e16ad4
New translations en.json (Portuguese)
ashkanx Aug 21, 2019
4c62b6c
New translations en.json (Vietnamese)
ashkanx Aug 23, 2019
28dc6cd
New translations en.json (Russian)
ashkanx Aug 23, 2019
141b0c1
New translations en.json (Thai)
ashkanx Aug 24, 2019
b5ec4b1
Merge pull request #1333 from binary-com/CrowdIn
ashkanx Aug 25, 2019
cc13e19
Merge pull request #1331 from nazanin-binary/name_limit
ashkanx Aug 28, 2019
8f7304a
New translations en.json (French)
ashkanx Aug 29, 2019
bce34d4
New translations en.json (French)
ashkanx Aug 29, 2019
713d217
Merge pull request #1334 from binary-com/CrowdIn
ashkanx Sep 1, 2019
a21ff23
New Crowdin translations (#1335)
ashkanx Sep 23, 2019
388f027
Merge branch 'dev' of github.com:binary-com/mobile into dev
morteza-binary Sep 23, 2019
c9c7ea9
Merge branch 'master' into dev
morteza-binary Sep 23, 2019
379fd8e
Dev (#1336)
morteza-binary Sep 23, 2019
e8d80ac
Support synthetic_index
morteza-binary Sep 29, 2019
7996434
Merged master into dev
morteza-binary Sep 29, 2019
3a1e6af
Merged origin/dev into dev
morteza-binary Sep 29, 2019
979ae0b
Merged upstream/dev into dev
morteza-binary Sep 29, 2019
492ff98
Merge branch 'dev' into morteza/synthetic
morteza-binary Sep 29, 2019
5110eae
Add sythetic_indices to translation file
morteza-binary Oct 1, 2019
fdf3c47
Fixed the issue of wrong contract response.
morteza-binary Oct 2, 2019
1ad02e4
Merge pull request #1339 from morteza-binary/morteza/synthetic
ashkanx Oct 23, 2019
36fe854
New Crowdin translations (#1338)
ashkanx Nov 4, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions www/i18n/ach.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "crwdns19350:0crwdne19350:0",
"volidx": "crwdns33590:0crwdne33590:0",
"volatility_indices": "crwdns33591:0crwdne33591:0",
"synthetic_indices": "crwdns68904:0crwdne68904:0",
"synthetic_index": "crwdns68906:0crwdne68906:0",
"subject_to_change": "crwdns19351:0crwdne19351:0",
"trading_limits": "crwdns19352:0crwdne19352:0",
"withdrawal_limits": "crwdns19353:0crwdne19353:0",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "OTC Stocks",
"volidx": "Volidx",
"volatility_indices": "Volatility Indices",
"synthetic_indices": "Synthetic Indices",
"synthetic_index": "Synthetic Indices",
"subject_to_change": "Stated limits are subject to change without prior notice.",
"trading_limits": "Trading Limits",
"withdrawal_limits": "Withdrawal Limits",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Acciones OTC",
"volidx": "Volidx",
"volatility_indices": "Índices de Volatilidad",
"synthetic_indices": "Índices sintéticos",
"synthetic_index": "Índices sintéticos",
"subject_to_change": "Los límites establecidos están sujetos a cambios sin previo aviso.",
"trading_limits": "Límites",
"withdrawal_limits": "Límite de retiro",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Actions OTC",
"volidx": "Volidx",
"volatility_indices": "Indices de volatilité",
"synthetic_indices": "Synthetic Indices",
"synthetic_index": "Synthetic Indices",
"subject_to_change": "Les limites indiquées peuvent être modifiées sans préavis.",
"trading_limits": "Limites de trading",
"withdrawal_limits": "Limites de retrait",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Saham OTC",
"volidx": "Volidx",
"volatility_indices": "Indeks Volatilitas",
"synthetic_indices": "Indeks Sintetis",
"synthetic_index": "Indeks Sintetis",
"subject_to_change": "Batas dapat berubah tanpa pemberitahuan sebelumnya.",
"trading_limits": "Batas Trading",
"withdrawal_limits": "Batas Penarikan",
Expand Down
70 changes: 36 additions & 34 deletions www/i18n/it.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions www/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Akcje OTC",
"volidx": "Volidx",
"volatility_indices": "Wskaźniki zmienności",
"synthetic_indices": "Wskaźniki syntetyczne",
"synthetic_index": "Wskaźniki syntetyczne",
"subject_to_change": "Podane limity mogą ulec zmianie bez uprzedniego powiadomienia.",
"trading_limits": "Limity handlowe",
"withdrawal_limits": "Limity wypłat",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Ações OTC",
"volidx": "Volidx",
"volatility_indices": "Índices Volatility",
"synthetic_indices": "Synthetic Indices",
"synthetic_index": "Synthetic Indices",
"subject_to_change": "Os limites mencionados estão sujeitos a alterações sem aviso prévio.",
"trading_limits": "Limites de negociação",
"withdrawal_limits": "Limites de retirada",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Внебиржевые акции",
"volidx": "Volidx",
"volatility_indices": "Индексы волатильности",
"synthetic_indices": "Синтетические индексы",
"synthetic_index": "Синтетические индексы",
"subject_to_change": "Указанные лимиты могут быть изменены без предварительного уведомления.",
"trading_limits": "Торговые лимиты",
"withdrawal_limits": "Лимиты на вывод",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "หลักทรัพย์ OTC",
"volidx": "Volidx",
"volatility_indices": "ดัชนีความผันผวน",
"synthetic_indices": "Synthetic Indices",
"synthetic_index": "Synthetic Indices",
"subject_to_change": "วงเงินที่ได้รับที่ระบุไว้อาจจะมีการเปลี่ยนแปลงโดยไม่บอกกล่าวให้ทราบล่วงหน้า",
"trading_limits": "วงเงินในการซื้อขาย",
"withdrawal_limits": "วงเงินในการถอน",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "Cổ phiếu OTC",
"volidx": "Volidx",
"volatility_indices": "Chỉ Số Biến Động",
"synthetic_indices": "Các chỉ số tổng hợp",
"synthetic_index": "Các chỉ số tổng hợp",
"subject_to_change": "Những giới hạn đã được quy định có thể được thay đổi mà không báo trước.",
"trading_limits": "Giới hạn Giao dịch",
"withdrawal_limits": "Giới hạn Rút tiền",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "场外交易股票",
"volidx": "Volidx",
"volatility_indices": "波动率指数",
"synthetic_indices": "综合指数",
"synthetic_index": "综合指数",
"subject_to_change": "我们保留随时在没有预先通知的情况下更改所述限制的权利。",
"trading_limits": "交易限制",
"withdrawal_limits": "提款限额",
Expand Down
2 changes: 2 additions & 0 deletions www/i18n/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@
"otc_stocks": "場外交易股票",
"volidx": "Volidx",
"volatility_indices": "波動率指數",
"synthetic_indices": "綜合指數",
"synthetic_index": "綜合指數",
"subject_to_change": "我們保留隨時在沒有預先通知的情況下更改所述限制的權利。",
"trading_limits": "交易限制",
"withdrawal_limits": "提款限額",
Expand Down
12 changes: 6 additions & 6 deletions www/js/configs/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,35 @@ angular.module("binary").constant("config", {
tradeCategories : [
{
name : "up_down",
markets: ["forex", "volidx", "random"],
markets: ["forex", "synthetic_index", "random"],
value : "UP/DOWN"
},
{
name : "digit_matches_differs",
value : "MATCH/DIFF",
markets: ["volidx", "random"],
markets: ["synthetic_index", "random"],
digits : true
},
{
name : "digit_even_odd",
markets: ["volidx", "random"],
markets: ["synthetic_index", "random"],
value : "EVEN/ODD"
},
{
name : "digit_over_under",
value : "OVER/UNDER",
markets: ["volidx", "random"],
markets: ["synthetic_index", "random"],
digits : true
},
{
name : "asians",
value : "Asians",
markets: ["volidx", "random"]
markets: ["synthetic_index", "random"]
},
{
name : "high_low_ticks",
value : "HIGH/LOW TICKS",
markets: ["volidx"]
markets: ["synthetic_index"]
}
],
tradeTypes: [
Expand Down
9 changes: 7 additions & 2 deletions www/js/share/services/chart.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ angular.module("binary").factory("chartService", $rootScope => {
const fractionalLength = utils.fractionalLength(pip);

if (hasEntrySpot() && broadcastable) {
const isLastTickAfterExit = contract.exitSpot && lastTime > contract.exitSpot;
if (tickPriceList.length === 0) {
if (contract.entrySpotTime !== lastTime && betweenExistingSpots(lastTime)) {
const entrySpotPrice = parseFloat(contract.entrySpotPrice).toFixed(fractionalLength);
Expand All @@ -523,16 +524,20 @@ angular.module("binary").factory("chartService", $rootScope => {
contract.result = "lose";
}
$rootScope.$broadcast("contract:spot", contract, entrySpotPrice);
} else if (isLastTickAfterExit) {
tickPriceList.push(contract.entrySpotPrice);
} else {
tickPriceList.push(parseFloat(lastPrice).toFixed(fractionalLength));
}
} else {
tickPriceList.push(parseFloat(lastPrice).toFixed(fractionalLength));
}

if (betweenExistingSpots(lastTime)) {
if (betweenExistingSpots(lastTime) || isLastTickAfterExit) {
const barrier = parseFloat(contract.barrier).toFixed(fractionalLength);
const lastPriceFloat = parseFloat(lastPrice).toFixed(fractionalLength);
const lastPriceFloat = isLastTickAfterExit
? tickPriceList.slice(-2)[0]
: parseFloat(lastPrice).toFixed(fractionalLength);

if (utils.conditions[contract.type](barrier, lastPriceFloat,
tickPriceList, contract.selectedTick)) {
Expand Down