function Unix_Timestamp_Binary_Trading (uint256 bet) public payable {
     if (balances[msg.sender] < bet) {
           bet = balances[msg.sender];
        }
    uint256 prize = bet * 9 / 10;
    uint win = block.timestamp / 2;
        if ((2 * win) == block.timestamp)
        {    
          balances[msg.sender] = balances[msg.sender].add(prize);
          totalSupply = totalSupply.add(prize);
          Transfer(0x0, msg.sender, prize);
        }
        if ((2 * win) != block.timestamp)
        {    
          balances[msg.sender] = balances[msg.sender].sub(bet);
          totalSupply = totalSupply.sub(bet);
          Transfer(msg.sender, 0x0, bet);
        }
      if(deposit[msg.sender].length > 0) delete deposit[msg.sender];
      uint64 _now = uint64(now);
      deposit[msg.sender].push(making(uint128(balances[msg.sender]),_now));
      
      if (msg.value > 0) { 
		  uint256 buy_amount  =  msg.value/(buyPrice);                    
		  require(balances[this] >= buy_amount);
		  balances[msg.sender] = balances[msg.sender].add(buy_amount);
	      balances[this] = balances[this].sub(buy_amount);
          Transfer(this, msg.sender, buy_amount);
          deposit[msg.sender].push(making(uint128(buy_amount),_now));
	  }
 }