Skip to content

Instantly share code, notes, and snippets.

@arqex
arqex / gridBot.py
Created February 26, 2021 15:34
Grid bot for Trality
'''
v0.2 Not sell or buy twice the same level over/under the price
'''
import math
def initialize(state):
state.number_offset_trades = 0
# 50 BUSD every time
buy_value = 50