var MarketDataConfig = {
    /*
     * Configuration for MarketData_UI
     */
    ui: {
        lang: "sv",
        title: "Nolato",
        namespace: "nolato",
        colors : {
            instruments: [
                "FF0000",
                "FF0000",
                "FF0000"
            ],
            comparisons: [
                "379B29",
                "A85B27",
                "712C6B",
                "555555",
                "603913",
                "77202D",
                "EE2E24",
                "000000"
            ],
            markers: {
                press: "0097DC",
                reports: "00AC68",
                insiders: "EF984B"
            }
        },
        instruments: [
            {
                group: "shares",
                items: [
                    {
                        id:"MDA:4030",
                        name: "Nolato",
                        visible: false,
                        ticker: true,
                        selected: true,
                        interval: "1y"
                    },{
                        id:"MDA:37667",
                        name: "Nolato B, Burgundy",
                        visible: false,
                        ticker: true,
                        selected: true,
                        interval: "1y"
                    }

                ]
            }
        ],
        comparisons: [
            {
                group: "index",
                items: [
                    {
                        id: "MDA:644",
                        name: "OMX Small Cap"
                    },{
                        id: "MDA:4304",
                        name: "OMX Mid Cap"
                    },{
                        id: "MDA:323673",
                        name: "OMX Ind Goods/Serv"
                    }
                ]
            }
        ],
        analyses: [
            {
                group: "ta_simple",
                items: [
                    {
                        id: "ta_volume",
                        name: "Volume",
                        type: "volume",
                        separate: true,
                        params: {},
                        excludeFromMenu: true
                    }
                ]
            }
        ],
        markers: [
            {
                group: "markers",
                items: [
                    {
                        id: "press",
                        name: "Press releases",
                        token: "P",
                        afwconfig: {
                            issuer: "nolato"
                        }
                    },{
                        id: "reports",
                        name: "Reports",
                        token: "R",
                        afwconfig: {
                            issuer: "nolato"
                        }
                    },{
                        id: "insiders",
                        name: "Insiders",
                        token: "I",
                        afwconfig: {
                            org_id: "5560804592"
                        }
                    }
                ]
            }
        ],
        settings: {
            defaultDateSpan: {
                interday: "1y",
                intraday: "1w"
            }
        },
        modules: {
            quote: {
                enabled: true
            },
            orderbook: {
                enabled: true
            },
            sharedata: {
                enabled: true
            },
            shareinfo: {
                enabled: true
            },
            downloads: {
                enabled: true,
                excel: {
                    uri: {
                        sv: "http://vp052.alertir.com/index.php?p=sharegraph&s=history&afw_lang=sv",
                        en: "http://vp052.alertir.com/index.php?p=sharegraph&s=history&afw_lang=en"
                    }
                }
            }
        }
    },
    /*
     * Configuration for MarketData_Chart
     */
    chart: {
        chartBaseUri: "/javascript/shared/anychartstock/swf",
        fonts: {
            tooltip: {
                family: "Arial",
                size: 11
            },
            markers: {
                family: "Arial",
                size: 11
            },
            scroller: {
                family: "Arial",
                size: 11
            },
            defaults: {
                family: "Arial",
                size: 11
            }
        }
    },
    /*
     * Configuration for MarketData
     */
    md: {
        baseuri: "/MarketDataServer.php"
    }
};

