<p>The field indicates that the order is yours with a value of <code>1</code>. With a <code>0</code>, it indicates it is not an order made by you.</p>

<p>It's indeed nowhere documented, the only valid arguments for my explanation are the name of the variable and the fact that I can only find <code>0</code> or <code>1</code> values for it.</p>

<p>(I found <a href="https://github.com/kushti/btce-scala/blob/master/btce-trade.scala#L130" rel="nofollow">this piece of code</a> where they save <code>the is_your_order</code> field as a boolean, testing of the value <code>==1</code>.)</p>

CC BY-SA 3.0
2013-05-08T12:34:30.547Z
If it's an order not made by me, then why would it be in my trade history?
Shamoon
CC BY-SA 3.0
2013-05-08T17:52:51.200Z
Perhaps there's also an option to show trade history from all the market.
Steven Roose
CC BY-SA 3.0
2013-05-08T09:32:55.390Z
2013-05-08T09:32:55.390Z
Steven Roose
<p>As far as I can tell, is_your_order is used when their system doesn't fill the orders right away and their system generates new orders for smaller amounts to split up your original order into multiple new orders. For instance, I put in a sell order for 1btc. In my trade history, I see 3 transactions related to that single order:</p>

<pre><code>  { pair: 'btc_usd',
  type: 'sell',
  amount: 0.441969,
  rate: 7.7,
  order_id: 87505,
  is_your_order: 0,
  timestamp: 126 }

  { pair: 'btc_usd',
  type: 'sell',
  amount: 0.16,
  rate: 7.672,
  order_id: 87402,
  is_your_order: 0,
  timestamp: 126 }

  { pair: 'btc_usd',
  type: 'sell',
  amount: 0.398031,
  rate: 7.54,
  order_id: 87208,
  is_your_order: 0,
  timestamp: 127 }
</code></pre>

<p>I've modified the numbers to lose some precision to mask my transaction information a bit, but if you notice, the order_id's are different and so are the rates!</p>

CC BY-SA 3.0
2013-12-19T07:04:14.743Z
2013-12-28T16:42:11.600Z
2013-12-28T16:42:11.600Z
Public Profile
<p>Their amazing API documentation (<a href="https://btc-e.com/api/documentation" rel="nofollow">https://btc-e.com/api/documentation</a>) shows a field called <code>is_your_order</code>. Not sure what it means and they certainly don't explain it.</p>

<p>Does anyone know?</p>

CC BY-SA 3.0
2014-04-12T22:30:41.770Z
is_your_order = 0 does not mean the order is not yours.
it does not mean it's a part of a split order too.
I had only one record in transhistory and tradehistory.
so, its weird and does not seem logical.
Gio_sof
<api><btce>
What does the is_your_order field mean in a btc-e response?
Shamoon
# What does the is_your_order field mean in a btc-e response?

(Asked by: username_0 on 2013-05-08)

Their amazing API documentation (<https://btc-e.com/api/documentation>) shows a field called `is_your_order`. Not sure what it means and they certainly don't explain it.

Does anyone know?

**Tags:** api, btce

> **Comments:**
> **username_1**: is_your_order = 0 does not mean the order is not yours. it does not mean it's a part of a split order too. I had only one record in transhistory and tradehistory. so, its weird and does not seem logical.  

---

## 2 answers

### Answer by username_2 on 2013-05-08. Score: 2 | Accepted answer

The field indicates that the order is yours with a value of `1`. With a `0`, it indicates it is not an order made by you.

It's indeed nowhere documented, the only valid arguments for my explanation are the name of the variable and the fact that I can only find `0` or `1` values for it.

(I found [this piece of code](https://github.com/kushti/btce-scala/blob/master/btce-trade.scala#L130) where they save `the is_your_order` field as a boolean, testing of the value `==1`.)

> **Comments:**
> **username_0**: If it's an order not made by me, then why would it be in my trade history?  
> **username_2**: Perhaps there's also an option to show trade history from all the market.  

---

### Answer by username_3 on 2013-12-19. Score: 0

As far as I can tell, is\_your\_order is used when their system doesn't fill the orders right away and their system generates new orders for smaller amounts to split up your original order into multiple new orders. For instance, I put in a sell order for 1btc. In my trade history, I see 3 transactions related to that single order:

```
  { pair: 'btc_usd',
  type: 'sell',
  amount: 0.441969,
  rate: 7.7,
  order_id: 87505,
  is_your_order: 0,
  timestamp: 126 }

  { pair: 'btc_usd',
  type: 'sell',
  amount: 0.16,
  rate: 7.672,
  order_id: 87402,
  is_your_order: 0,
  timestamp: 126 }

  { pair: 'btc_usd',
  type: 'sell',
  amount: 0.398031,
  rate: 7.54,
  order_id: 87208,
  is_your_order: 0,
  timestamp: 127 }

```

I've modified the numbers to lose some precision to mask my transaction information a bit, but if you notice, the order\_id's are different and so are the rates!


---

