Also add the following new ValueTags to detag.conf:
ΩJupiterPerpsPositionAccountΩ - located under String/CryptoCurrencyAddress/SolanaAddress
ΩUSDCPriceΩ - located under BigDecimal/Price
Non-goals:
No liquidation price yet
No wallet-based position discovery yet
No trading or transaction signing yet
### Description:
Start a small Jupiter Perps API. For a start it will be placed in the NenjimHub repo and later moved to its own project upon maturity.
### Packages:
* API: `com.r35157.libs.jupiter.perps`
* Anchor IDL implementation: `com.r35157.libs.jupiter.perps.impl.anchoridl`
* Future official API implementation: `com.r35157.libs.jupiter.perps.impl.ref`
### First goal:
Add support for reading a known Jupiter Perps position account and returning a `JupiterPerpsPosition` with its entry price.
### Suggested API:
```java
public interface JupiterPerpsPositionService {
JupiterPerpsPosition getPosition(ΩJupiterPerpsPositionAccountΩ positionAccount);
}
```
```java
public record JupiterPerpsPosition(
ΩJupiterPerpsPositionAccountΩ positionAccount,
ΩUSDCPriceΩ entryPrice
) {
}
```
Also add the following new ValueTags to `detag.conf`:
- `ΩJupiterPerpsPositionAccountΩ` - located under String/CryptoCurrencyAddress/SolanaAddress
- `ΩUSDCPriceΩ` - located under BigDecimal/Price
### Non-goals:
* No liquidation price yet
* No wallet-based position discovery yet
* No trading or transaction signing yet
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description:
Start a small Jupiter Perps API. For a start it will be placed in the NenjimHub repo and later moved to its own project upon maturity.
Packages:
com.r35157.libs.jupiter.perpscom.r35157.libs.jupiter.perps.impl.anchoridlcom.r35157.libs.jupiter.perps.impl.refFirst goal:
Add support for reading a known Jupiter Perps position account and returning a
JupiterPerpsPositionwith its entry price.Suggested API:
Also add the following new ValueTags to
detag.conf:ΩJupiterPerpsPositionAccountΩ- located under String/CryptoCurrencyAddress/SolanaAddressΩUSDCPriceΩ- located under BigDecimal/PriceNon-goals: