Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

10
lib/api_bench.rb Normal file
View File

@@ -0,0 +1,10 @@
class ApiBench
def create_order(base_url, market, side, volume, token, ord_type, price)
url = "#{base_url}/api/v2/market/orders?market=#{market}&side=#{side}&volume=#{volume}&ord_type=#{ord_type}&price=#{price}"
connection = Faraday.new(url)
_response = connection.post do |request|
request.headers["Authorization"] = token
end
end
end