There are 2 repositories under margin-trading topic.
OpenLeverage Smart Contracts, including lending pools, margin trade, treasury, farming pool, DAO-based governance, OLE ERC-20 token, and time-weighted vote escrow xOLE components.
Core smart contracts of Gearbox V1
The Open Trading Platform UI is a front-end module for trading across 5 crypto currency exchanges allowing both spot and margin trading. The UI needs to be used with the API repo.
Elys Network is the first All-In-One DEFI platform to join the Atom Economic Zone, backed by Informal Systems and the Cosmos Hub. Built on Cosmos and CometBFT, leveraging the latest blockchain technologies to provide a premier user experience. Visit our official site at https://elys.network
Peripheral smart contracts for interacting with Shorter
A cryptocurrency trading bot that automates long and short trades. It uses fractals combined with Alligator indicators, both from Bill Williams.
Cryptocurrency trading bot, and backtesting framework in julia
technical strategies and indicators for trading
Distributed, high performance crypto trading engine written in dotnet core
Binance Marging Trading defined in easy functions
Example codes for interaction with hydro V2 margin protocol contract.
Subgraph for dYdX Margin Trading protocol and derivatives
Margin trading is near
Crypto Exchange, FX CFD Margin Trading Platform, Blockchain Development
self custody margin trading smart contract for Polygon. 3-4x leverage on longs and shorts.
frontend for self custody margin trading dApp. built on top of the scrat-v1 smart contract.
Public presentations and explanatory materials from my time at Libra/Lukka
Find The Best Margin Trades in the Eve Market
This example shows how to open and close a position using the example client from Phemex.