python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Using crypto compare API and wrapper, when it outputs the "time" its in an indecipherable format. How do I change it?
from datetime import datetime
crypto_list = cryptocompare.get_historical_price_hour('ETH', 'USD', limit=24, exchange='CCCAGG', toTs=datetime.datetime.now())
crypto_prices = pd.DataFrame(crypto_list, c...
emmmmm99
Votes: 0
Answers: 1
How can I get MarketCapRank from CoinGecko's API
I can use this:
https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd&include_24hr_change=true&include_market_cap=true
to get:
{"bitcoin":{"usd":...

Slartibartfast
Votes: 0
Answers: 1
Binance order: Timestamp for this request was 1000ms ahead of the server's time
I am writing some Python code to create an order with the Binance API:
from binance.client import Client
client = Client(API_KEY, SECRET_KEY)
client.create_order(symbol='BTCUSDT',
...

Barry
Votes: 0
Answers: 6
Order book design for Coinbase Pro
Based on Coinbase Pro Websocket document I am building local copy of orderbook in python. Their data structure is
{
"type": "snapshot",
...
"bids": [[price1, size1]...
trading9fingers
Votes: 0
Answers: 1