Example #1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="value"></param>
        public void ResolveMagicNumbers(ListOpenPositionsResponseDTO value)
        {
            if (value.OpenPositions != null)
            {
                foreach (ApiOpenPositionDTO dto in value.OpenPositions)
                {
                    this.ResolveMagicNumbers(dto);
                }
            }

        }
Example #2
0
 private void ListOpenPositionsButton_Click(object sender, EventArgs e)
 {
     _positions = _client.TradesAndOrders.ListOpenPositions(_accounts.TradingAccounts[0].TradingAccountId);
     apiOpenPositionDTOBindingSource.DataSource = _positions.OpenPositions;
 }