Skip to content

Instantly share code, notes, and snippets.

@mschneider
Created February 11, 2021 15:39
Show Gist options
  • Save mschneider/8a9a10b9bf7b7b37de43db6fc231c739 to your computer and use it in GitHub Desktop.
Save mschneider/8a9a10b9bf7b7b37de43db6fc231c739 to your computer and use it in GitHub Desktop.
[ { eventFlags: { fill: true, out: false, bid: false, maker: false },
openOrdersSlot: 0,
feeTier: 1,
nativeQuantityReleased: <BN: 10ca35c8>,
nativeQuantityPaid: <BN: 1770>,
nativeFeeOrRebate: <BN: 89d18>,
orderId: <BN: 72d940000000000d749bb>,
openOrders:
PublicKey {
_bn:
<BN: 52bc2947589ae2de1402300d618d0f3a7df3868086a251b83a533e7840b7a5be> },
clientOrderId: <BN: 0>,
side: 'sell',
price: 47042,
feeCost: 0.564504,
size: 0.006 },
{ eventFlags: { fill: true, out: false, bid: true, maker: true },
openOrdersSlot: 1,
feeTier: 6,
nativeQuantityReleased: <BN: 1770>,
nativeQuantityPaid: <BN: 10d0ab9a>,
nativeFeeOrRebate: <BN: 22746>,
orderId: <BN: 72d94ffffffffff28b667>,
openOrders:
PublicKey {
_bn:
<BN: 5ddb4b649c746d4b10d12f5c5ac03b624b824d12953717882f11bc0fb562c6f0> },
clientOrderId: <BN: 1662b3a200a33e8c>,
side: 'buy',
price: 47042,
feeCost: -0.141126,
size: 0.006 },
{ eventFlags: { fill: true, out: false, bid: false, maker: false },
openOrdersSlot: 0,
feeTier: 1,
nativeQuantityReleased: <BN: 10c921c5>,
nativeQuantityPaid: <BN: 1770>,
nativeFeeOrRebate: <BN: 89c8b>,
orderId: <BN: 72d1c0000000000d74933>,
openOrders:
PublicKey {
_bn:
<BN: 52bc2947589ae2de1402300d618d0f3a7df3868086a251b83a533e7840b7a5be> },
clientOrderId: <BN: 0>,
side: 'sell',
price: 47030.2,
feeCost: 0.564363,
size: 0.006 } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment