Commit Graph

24 Commits

Author SHA1 Message Date
Nathaniel Parke 3a5a8f0507 Include clientOrderId in the orderbook slab iterator 2020-09-01 16:33:53 +08:00
Nathaniel Parke eb5b34e9a0 v0.9.3 2020-09-01 15:42:20 +08:00
Gary Wang 87c25716c0 Switch to new program ID, update order placement instruction 2020-08-29 06:41:31 -07:00
Nishad 21b0040355 Rename function to makeCancelOrderInstruction 2020-08-27 18:54:46 +08:00
Nishad 7375763aba Make DEX program ID configurable 2020-08-27 03:37:17 +08:00
Nishad dbc29b2390 eslint 2020-08-26 19:34:39 +08:00
Nathaniel Parke c06ec61ac0
Add makeSettleInstruction (#5)
Add makeSettleInstruction
2020-08-26 19:33:47 +08:00
Nathaniel Parke 7f60007135
Add makeCanceOrderInstruction (#4)
Add makeCanceOrderInstruction
2020-08-26 18:50:23 +08:00
Nathaniel Parke 2f726f3071
Add makePlaceOrderInstruction (#3) 2020-08-26 18:27:03 +08:00
Nathaniel Parke d2f748f431
clientId is an optional field in Order objects 2020-08-26 08:03:56 +08:00
Nishad a807bd8500 Update 2020-08-26 03:50:44 +08:00
Nishad aefa39c020 Update event parsing to account for rebates 2020-08-26 03:46:01 +08:00
Nishad 74e98df58b Update event parsing 2020-08-26 02:24:10 +08:00
Nishad 3fd28e535b Update program ID, update layouts 2020-08-25 06:33:12 +08:00
Nishad 91cd66b4df Update DEX program ID and expose makeMatchOrdersInstruction 2020-08-23 14:13:20 +08:00
Nishad 19be2f9eb3 Make compatible with solana RPC interface change for retrieving account data 2020-08-21 00:57:21 +08:00
Gary Wang db5635c1f6 Add method to settle funds 2020-08-18 04:23:36 -07:00
Gary Wang 4d1e45f815 Rename owner field on orders to openOrdersAddress, fix cancellations, add confirmation options 2020-08-18 03:38:25 -07:00
Gary Wang 39d6b4ba22 Update loadOrdersForOwner to use open orders accounts 2020-08-16 23:55:33 -07:00
Gary Wang 7848262c4d Throw error if price or size is too small 2020-08-15 22:28:17 -07:00
Gary Wang 9223575e6f Add convenience method for retrieving orders by user, update README 2020-08-13 13:32:51 -07:00
Gary Wang 8c5ef2aa68 Switch to latest program address on testnet, with 5/7 padding 2020-08-13 12:53:46 -07:00
Gary Wang 9b7e39c8fe Add method for retrieving fills 2020-08-13 12:46:09 -07:00
Gary Wang b5ee5e2127 Add some types and fix some bugs 2020-08-13 10:12:14 -07:00