Need to create the hedge service
1234 PLNA service that watches the list of your btc addresses and exchange balances and fully hedges it with derivatives (futures or perpetuals)
1. Checks everything once in x minutes in v0.1 (later event-based).
2. Monitors the BTC addresses transactions to know the wallets balance, by polling some free
blockchain data provider REST API, or a provided full node.
3. Monitors the exchange balance (including unrealised PnL) by polling REST API (bitmex get
/user/wallet)
4. Monitors the futures/swap position by polling REST API (bitmex get /execution/tradeHistory)
to get all trade executions with a "hedge" comment and calculating the hedge position to
distinguish it from other possible trading at this account.
5. Gets the current BTC price (bitmex get /instrument for swap, futures and index).
6. If abs(btc balance - hedge position - desired BTC exposure) > tolerance, send a market order
and wait for reply to make it equal (with a comment that it is a hedge).
7. Saves the balances on exchange and private wallets, in BTC, USD current prices, USD futures
prices; hedge in USD(=contracts) and BTC(equivalent) to the database.
Technical requirements:
- Use AWS Amplify or smth similar to simplify the web part development as much as possible.
- Keep the api keys secured!
- Deploy web backend and hedge service on separate machines.
- Store api keys in a separate database that is only accessible from the hedge service server.
- Hedge service has all incoming ports closed.
- AND/OR do whatever you think is necessary.
- Deliver as a Github project with CI for build, tests, docker image publishing, deployment
- Hedge service deploys in a docker container.
- Separate deployment for web and hedge service with a few clicks.
- Expected load is minimal.
- Logging and writing logs somewhere.
- Use the simplest technologies possible. Hedging service in Python or NodeJS. Web part in whatever is considered good choice today.
- This is a prototype, no need to write perfect code and write extensive tests at this stage, but be reasonable, it should work.
- Only 1 exchange for now (Bitmex).
- I'll explain how to calculate the order size in contracts for hedging x BTC.
Please provide your own quotes, the current price is a placeholder.
Aktualne zlecenia dla freelancerów w kategorii Kryptowaluty i blockchain
Znalezienie i wdrożenie najlepszych projektów dla 4 maszyn Mac Mini M4
835 PLN
Znajdowanie i wdrażanie najlepszych projektów dla 4 maszyn Mac Mini M4Witam,Szukam doświadczonego technicznego freelancera, który rozumie sprzęt Mac Mini M4, DePIN, węzły blockchain, wnioskowanie AI, systemy automatyzacji, Docker i monitorowanie serwerów.Obecnie posiadam 4… AI i uczenie maszynowe, Kryptowaluty i blockchain ∙ 3 dni 5 godzin temu ∙ 8 ofert |
Rozwój sklepu Telegram (Mini App) z anonimowym przyjmowaniem płatności (Apple/Google Pay ➔ Krypto na Tr
400 PLN
Szukam doświadczonego dewelopera do stworzenia sklepu internetowego w Telegramie dla europejskiego rynku. Główne i najtrudniejsze zadanie projektu — realizacja logiki płatności. Należy zbudować most między klasycznym fiatem a kryptowalutą (Fiat-to-Crypto On-Ramp). Logika dla… Kryptowaluty i blockchain, Tworzenie chatbota ∙ 11 dni 19 godzin temu ∙ 36 ofert |
Szukam mówcy do rozmowy telefonicznej
82 PLN
Potrzebna osoba, która przeprowadzi spotkanie z potencjalnym inwestorem w imieniu naszego zespołu. Opowie o produkcie, odpowie na pytania — pewnie i na temat. Wymagania: Znajomość kryptowalut: DeFi, Web3, tokenomika, trading Poprawna mowa, styl biznesowy, rosyjski + podstawowy… Konsulting, Kryptowaluty i blockchain ∙ 12 dni 14 godzin temu ∙ 2 oferty |
Obliczanie giełdy
82 PLN
Program do zautomatyzowanej analizy i obliczania danych giełdowych. Narzędzie pomaga śledzić [wskaźniki, spready, wolumeny] i [jaką korzyść przynosi: na przykład, znajdować punkty wejścia lub analizować zmienność] w czasie rzeczywistym Kryptowaluty i blockchain ∙ 13 dni 10 godzin temu ∙ 5 ofert |