This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
r = requests.get('https://api.bitfinex.com/v1/symbols_details') | |
json_bitfinex = r.json() | |
r = requests.get('https://api.coinmarketcap.com/v2/listings/') | |
json_coinmarketcap = r.json() | |
symbols = set() | |
for currency in json_bitfinex: | |
symbols.add(currency["pair"][0:3]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// automatically generated by the FlatBuffers compiler, do not modify | |
#ifndef FLATBUFFERS_GENERATED_FOOBAR_FOO__BAR_H_ | |
#define FLATBUFFERS_GENERATED_FOOBAR_FOO__BAR_H_ | |
#include "flatbuffers/flatbuffers.h" | |
namespace Foo { | |
namespace Bar { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Foo.Bar; | |
struct Foo { | |
bar:float; | |
} | |
namespace Foo_Bar; | |
struct Foo { | |
bar:float; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate serde; // 1.0.80 | |
use serde::{Deserialize, Deserializer, Serialize, Serializer}; | |
// Used to deserialize a struct as a tuple. | |
extern crate serde; // 1.0.80 | |
use serde::{Deserialize, Deserializer, Serialize, Serializer}; | |
// Used to deserialize a struct as a tuple. | |
macro_rules! as_serde_tuple { | |
($(#[$smeta:meta])* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// automatically generated by the FlatBuffers compiler, do not modify | |
#![allow(dead_code)] | |
#![allow(unused_imports)] | |
extern crate flatbuffers; | |
// struct Message, aligned to 4 | |
#[repr(C, align(4))] | |
#[derive(Clone, Copy, Debug, PartialEq)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// automatically generated by the FlatBuffers compiler, do not modify | |
#![allow(dead_code)] | |
#![allow(unused_imports)] | |
extern crate flatbuffers; | |
pub mod endian { | |
#![allow(dead_code)] | |
#![allow(unused_imports)] |