Commit Graph

833 Commits

Author SHA1 Message Date
microwavedcola1 c2a939bcfd Fix decimals
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-13 12:15:28 +02:00
microwavedcola1 2ebffcdb05 update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 17:25:16 +02:00
microwavedcola1 b3b932f148 Fix headers
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 15:45:42 +02:00
microwavedcola1 d67970ebc1 fix header
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 15:28:20 +02:00
microwavedcola1 5ca349f94b use mngo cloud for risl
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 14:30:47 +02:00
microwavedcola1 604c38ed5b fix max swap
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 09:53:38 +02:00
microwavedcola1 a6fe8dfd48 fix max swap
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-12 09:38:48 +02:00
microwavedcola1 c40bffb047 Merge branch 'main' into deploy 2023-07-07 15:44:50 +02:00
microwavedcola1 2060245f31 optimise
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-06 18:45:42 +02:00
microwavedcola1 05b9f8f5da ui helper
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-06 18:17:24 +02:00
microwavedcola1 4b82771487 also consider shorts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-06 15:21:30 +02:00
microwavedcola1 7ab0164d38 v0.17.1 2023-07-05 07:32:26 +02:00
microwavedcola1 08188f3cf2 updarte
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 11:20:21 +02:00
microwavedcola1 baab384055 update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 10:55:59 +02:00
microwavedcola1 580a565705 token-delegate-example
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 10:55:14 +02:00
microwavedcola1 1ffa65d01b optimise getAllMangoAccounts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-04 09:26:59 +02:00
Christian Kamm ae66dbc462 Bump version and idl to v0.17.1 2023-07-03 19:54:21 +02:00
microwavedcola1 c2e48df051 Merge branch 'main' into deploy 2023-07-03 09:02:25 +02:00
microwavedcola1 eba7b4d15b add perp market filter
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-03 08:20:13 +02:00
microwavedcola1 acf02e2575 new helpers
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-28 15:03:32 +02:00
microwavedcola1 53b608d79d optimize
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-28 09:45:15 +02:00
microwavedcola1 aa9851dfd7 Fix imports
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-28 09:40:55 +02:00
microwavedcola1 21c2af7317 make pp liq price faster to compute
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-28 08:04:49 +02:00
microwavedcola1 5674076b8e fix merge
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-26 16:47:32 +02:00
microwavedcola1 0e180ed380
Mc/perp liq price 2 (#625)
* perp position liquidation price calculator

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* refactor

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* ui method

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* Fixes from review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-26 16:45:52 +02:00
microwavedcola1 18e39bc197 dont quote rndr
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-23 20:06:04 +02:00
microwavedcola1 66ccd962bc
mc/break even price ts client: account for unsettled funding (#617)
* v0.16.3

* ts: break even price, account for unsettled funding

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* script

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-23 14:32:04 +02:00
microwavedcola1 e8a5b543af add logs
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-22 20:02:33 +02:00
microwavedcola1 87bb290010 widen
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-22 19:37:08 +02:00
microwavedcola1 f5955dc7cf quote small rndr
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-22 19:36:49 +02:00
microwavedcola1 b84b135dae add realized pnl helpers, reorder methods
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-22 08:40:06 +02:00
microwavedcola1 09ee476ecf Fix risk computation for stable pairs
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-21 08:45:27 +02:00
microwavedcola1 01dbae9f0a update mm list
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-18 10:13:10 +02:00
microwavedcola1 73671897b9 fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-18 10:08:12 +02:00
microwavedcola1 e3300138a7
Fix ts client margin trade method to also work for delegates (#615)
* margin trade for delegate support

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* Fixes from review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* example

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* update

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-16 16:07:09 +02:00
Christian Kamm 9bd3913ba4 Changelog and idl update 2023-06-16 13:38:26 +02:00
microwavedcola1 2d2a326a53 move to new ixs
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-16 08:14:39 +02:00
microwavedcola1 e39531e87c typo
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-16 08:10:52 +02:00
microwavedcola1 43a034e91e typo
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-16 08:10:07 +02:00
microwavedcola1 ca8053e3ec
ts client: perp place order ix builders with self trade behavior (#609)
* ix builders for self trade behavior on perps

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* ix builders for self trade behavior on perps

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-16 08:05:16 +02:00
microwavedcola1 07aa994a90
Mc/client simple setup (#611)
* make setting up of ts client easier

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* docs

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-16 08:04:58 +02:00
microwavedcola1 3df0e9da83 Merge branch 'main' into deploy 2023-06-15 14:21:47 +02:00
tjs 44fc32c311 use birdeye for prices 2023-06-07 20:38:38 -04:00
Christian Kamm 1cc77af7fa Bump version to 0.17.0, changelog updates, idl update 2023-05-31 09:11:56 +02:00
microwavedcola1 d599daf5d7 update
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-30 09:30:17 +02:00
microwavedcola1 d0e7c54216 script for off chain data
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-30 08:37:18 +02:00
microwavedcola1 6a76476acd
referrerRebatesAccrued - these accrue to the ui now (#596)
* these accrue to the ui now

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* Fixes from review

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-28 07:44:45 +02:00
microwavedcola1 f477fd1d45 no-cors
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-25 14:26:59 +02:00
microwavedcola1 7a7dd1cdf8 no-cors
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-25 14:26:53 +02:00
Christian Kamm 9f9f3d257c
Docs: improve HealthCache comments (#590) 2023-05-19 14:42:14 +02:00