Exemplo n.º 1
0
        public static Exchange_Pattern load_Exchange_Pattern(Save_tag path)
        {
            List <float>     n = load_list_of_floats(path);
            Exchange_Pattern e = new Exchange_Pattern((long)n[0], (long)n[2], n[1], n[3]);

            return(e);
        }
Exemplo n.º 2
0
        public static void save_Exchange_Pattern(Save_tag path, Exchange_Pattern e)
        {
            List <float> n = new List <float>()
            {
                e.ID_bought, e.amount_bought, e.ID_sell, e.amount_sell
            };

            save_list_of_floats(path, n);
        }