Россия: +7 996 075-39-90

Котировки online

20.07.2017 | 21:57:42 MSK
Bid Ask Спред
EURUSD
-
-
-
USDJPY
-
-
-
GBPUSD
-
-
-
USDCHF
-
-
-
EURJPY
-
-
-
EURGBP
-
-
-
EURCHF
-
-
-
GBPJPY
-
-
-
GBPCHF
-
-
-
AUDUSD
-
-
-
USDCAD
-
-
-
NZDUSD
-
-
-
AUDCAD
-
-
-
AUDCHF
-
-
-
AUDJPY
-
-
-
AUDNZD
-
-
-
CHFJPY
-
-
-
EURAUD
-
-
-
EURCAD
-
-
-
GBPCAD
-
-
-
GBPAUD
-
-
-
EURNZD
-
-
-
GBPNZD
-
-
-
NZDCAD
-
-
-
NZDCHF
-
-
-
CADCHF
-
-
-
NZDJPY
-
-
-
CADJPY
-
-
-
USDRUB
-
-
-
EURRUB
-
-
-
Bid Ask Спред
EURUSD
-
-
-
USDJPY
-
-
-
GBPUSD
-
-
-
USDCHF
-
-
-
EURJPY
-
-
-
EURGBP
-
-
-
EURCHF
-
-
-
GBPJPY
-
-
-
GBPCHF
-
-
-
AUDUSD
-
-
-
USDCAD
-
-
-
NZDUSD
-
-
-
AUDCAD
-
-
-
AUDCHF
-
-
-
AUDJPY
-
-
-
AUDNZD
-
-
-
CHFJPY
-
-
-
EURAUD
-
-
-
EURCAD
-
-
-
GBPCAD
-
-
-
GBPAUD
-
-
-
EURNZD
-
-
-
GBPNZD
-
-
-
NZDCAD
-
-
-
NZDCHF
-
-
-
CADCHF
-
-
-
NZDJPY
-
-
-
CADJPY
-
-
-
USDRUB
-
-
-
EURRUB
-
-
-
Bid Ask Спред
EURUSD
-
-
-
USDJPY
-
-
-
GBPUSD
-
-
-
USDCHF
-
-
-
EURJPY
-
-
-
EURGBP
-
-
-
EURCHF
-
-
-
GBPJPY
-
-
-
GBPCHF
-
-
-
AUDUSD
-
-
-
USDCAD
-
-
-
NZDUSD
-
-
-
AUDCAD
-
-
-
AUDCHF
-
-
-
AUDJPY
-
-
-
AUDNZD
-
-
-
CHFJPY
-
-
-
EURAUD
-
-
-
EURCAD
-
-
-
GBPCAD
-
-
-
GBPAUD
-
-
-
EURNZD
-
-
-
GBPNZD
-
-
-
NZDCAD
-
-
-
NZDCHF
-
-
-
CADCHF
-
-
-
NZDJPY
-
-
-
CADJPY
-
-
-
USDRUB
-
-
-
EURRUB
-
-
-
-
-
'); }); */ //loadTable(); }) }); function loadTable() { var table = new OverwriteTable(null, null, "MERGE"); table.setDataAdapter("STOCKS"); table.setSnapshotRequired(true); table.onItemUpdate = updateItem; table.onChangingValues = changingValues; table.setRequestedMaxFrequency(1.0); page.addTable(table, "stockstable"); } loadTable(); function updateItem(item, updateInfo){ if(updateInfo != null) { updateInfo.addField("#bid_state", getFieldState("bid", updateInfo), true); updateInfo.addField("#offer_state", getFieldState("offer", updateInfo), true); } } function changingValues(item, itemUpdate){ if(itemUpdate != null) { itemUpdate.setHotTime(1000); itemUpdate.setHotToColdTime(200); updateFieldColor("bid", itemUpdate); updateFieldColor("offer", itemUpdate); } } function updateFieldColor(fieldName, itemUpdate) { var fieldState = itemUpdate.getServerValue("#" + fieldName + "_state"); if(fieldState != "NOT_CHANGED") { var hotColor = (fieldState == "UP") ? "#009b7a" : "#f58426"; var coldColor = (fieldState == "UP") ? "#009b7a" : "#f58426"; var hotBackgroundColor = ""; var coldBackgroundColor = ""; itemUpdate.setAttribute(fieldName, hotColor, coldColor, "color"); itemUpdate.setAttribute(fieldName, hotBackgroundColor, coldBackgroundColor, "backgroundColor"); } } function getFieldState(fieldName, updateInfo) { var state = "NOT_CHANGED"; var oldValue = updateInfo.getOldValue(fieldName); if(oldValue == null) { state = "UP"; } else if (updateInfo.isValueChanged(fieldName)) { state = (oldValue > updateInfo.getNewValue(fieldName)) ? "DOWN" : "UP"; } return state; } /*]]>*/