Skip to content

Gridbot on USDC/USK

poc_usdc_usk_grid.yml
id: "poc_usdc_usk_grid"
wallet: "YOUR-WALLET-HERE"
# https://github.com/Team-Kujira/kujira.js/blob/master/lib/cjs/network.js#L106
# see: https://github.com/Team-Kujira/kujira.js/blob/aee74e258c53026c1d41260b8a22aa64e110bbb7/lib/cjs/denom.d.ts#L22
# https://raw.githubusercontent.com/Team-Kujira/kujira.js/master/src/resources/contracts.json
# https://fin.kujira.network/trade/kujira1kt0jxlr5fkx3xepymxav5c3h8sjnmutp3za2e6r5k9pgsta34trq8emzqj?q=all&s=ntrn
market: "USDC-USK"
strategy:
  layers:
    - bid:
        quantity: 1
        spread:
          absolute:
          percentage: 20
        budget:
          absolute: 1 # in USD
          percentage: 0.2
      ask:
        quantity: 1
        spread:
          absolute:
          percentage: 20
        budget:
          absolute: 1 # in USD
          percentage: 0.2
#  tick_interval: 59
#  order_type: LIMIT
#  price_strategy: MIDDLE
#  middle_price_strategy: SAP
#  cancel_all_orders_on_start: true
#  withdraw_market_on_start: true
#  withdraw_market_on_tick: true
#  cancel_all_orders_on_stop: true
#  withdraw_market_on_stop: true
#  sleep_time_after_withdraw: 30
#  sleep_time_after_orders_creation: 1
#  sleep_time_after_orders_cancellation: 5
#  minimize_fees_cost:
#    active: true
#    tolerance:
#      orders:
#        absolute:
#          price: 0.1
#          amount: 10
#        percentage:
#          price: 1
#          amount: 50
#      withdraw:
#        absolute: 100
#        percentage: 10 # from wallet current value
#  be_the_first: false
#  run_only_once: false
#  kill_switch:
#    max_wallet_loss_from_initial_value: 5
#    max_wallet_loss_from_previous_value: 2
#    max_wallet_loss_compared_to_token_variation: 2
#    max_token_loss_from_initial: 2
#    admin:
#      telegram:
#        users:
#          - "<@user1>"
#          - "<@user2>"

TMP below !!

what it does

buy sell 0.5% above middle

YAML
---

foo: here # Code block content # (1)!

bar: here # Code block content # (2)
  1. Look ma, less line noise!

  2. Look ma, less line noise!