VoFarm - Volatility Farming
A peer 2 peer approach to increase price stability and to reduce price manipulation by exploiting non-fundamentals-based volatility.
Usage Examples
Via Commandline
deno run https://deno.land/x/vofarm/usage-example.ts
Via Your Own Code
import { LongShortExploitStrategy } from "./src/long-short-exploit-strategy.ts";
const longShortExploitStrategy: LongShortExploitStrategy = new LongShortExploitStrategy()
const testInput = {
accountInfo: { result: { USDT: { available_balance: 100, equity: 100 } } },
positions: [],
}
const investmentAdvices = await longShortExploitStrategy.getInvestmentAdvices(testInput)
console.log(investmentAdvices)
Via Comandline Unit Tests Execution
deno test https://deno.land/x/vofarm/src/long-short-exploit-strategy.spec.ts
Unit Tests
For further examples you might want to check some - e.g. unit tests