Category Archives: Cryptocurrencies

Binance killed margin trading

(more…)

Subscribing to all ByBit trade streams in Python

from pybit.unified_trading import WebSocket
from pybit.unified_trading import HTTP
from time import sleep

session = HTTP(testnet=False)

info = session.get_instruments_info(category="spot")

symbol_infos = info["result"]["list"]

websockets = []

def handle_message(message):
    print(message)

def subscribe(websockets, symbols):
    print(f'Subscribing to {symbols}')
    ws = WebSocket(
        testnet=False,
        channel_type="spot",
    )
    ws.trade_stream(symbol=symbols, callback=handle_message)
    websockets += [ws]
(more…)

Subscribing to ByBit WebSocket streams in Python

Spot is limited to 10 symbols:

from pybit.unified_trading import WebSocket
from time import sleep

ws = WebSocket(
    testnet=True,
    channel_type="spot",
)

def handle_message(message):
    print(message)

#ws.orderbook_stream(50, "BTCUSDT", handle_message)
ws.ticker_stream(symbol=["BTCUSDT", "ETHUSDT"], callback=handle_message)

while True:
    sleep(1)
(more…)

Dangerous short on Binance

The maximum spot price was 5.032:

(more…)

Interesting GASP chart

At about 8:50 PM MSK GAZP price reached its upper limit:

(more…)

Checking my Binance API request logs

(more…)

Sending XRP with JavaScript

const read = require('read').read;
const send = require('./send');

async function asyncMain()
{
  const amount = await read({
    prompt: "Amount: "
  });

  const password = await read({
    prompt: "Password: ",
    silent: true,
    replace: "*" //optional, will print out an asterisk for every typed character 
  });

  // console.log("Amount: " + amount);
  // console.log("Your password: " + password);
(more…)

I nearly was margin called on Binance

UNFI/USDT grown in 280% and I nearly was margin called:

but, fortunately, I earned $30.

(more…)

Earned $50 on Binance with my Trading Bot

I have a home made Trading Bot that short coins on Binance with some simple strategy:

(more…)

I’ll never use NEOXA wallet anymore

First when I recovered the wallet from the passphrase it displayed me a zero balance, I did a quick google search and fixed this by leaving password field empty, but after that I got “Transaction too large” message while trying to send some NEOXA amount to an exchange:

I was able to send 10 000 NEOXA, but not 20 000. What is the difference?

(more…)