private void update_info_timer_Tick(object sender, EventArgs e)
        {
            this.Invoke(new Action(() => {
                string output = "";

                if (NTLiveTradingAPI.getTheInstace() != null)
                {
                    output += Environment.NewLine +
                              "Positionsize: " + NTLiveTradingAPI.getTheInstace().getPositionSize() + Environment.NewLine +
                              "Cash value: " + NTLiveTradingAPI.getTheInstace().getCashValue() + Environment.NewLine +
                              "Buying power: " + NTLiveTradingAPI.getTheInstace().getBuyingPower() + Environment.NewLine;
                }

                output += Environment.NewLine + (ntApi != null ? "NT CONNECTED!" : "no nt connection");

                info_label.Text = output;
            }));
        }
        private void open_trade_form_btn_Click(object sender, EventArgs e)
        {
            LiveTradingForm form = new LiveTradingForm(NTLiveTradingAPI.getTheInstace());

            form.Show();
        }