Skip to content

Commit

Permalink
Remove FTX
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoscon committed Jan 8, 2023
1 parent ad74b11 commit d8ce375
Show file tree
Hide file tree
Showing 26 changed files with 6 additions and 9,669 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ Handles multiple cryptocurrency exchange data feeds and returns normalized and s
* [dYdX](https://dydx.exchange/)
* [FMFW.io](https://www.fmfw.io/)
* [EXX](https://www.exx.com/)
* [FTX](https://ftx.com/)
* [FTX US](https://ftx.us/)
* [Gate.io](https://www.gate.io/)
* [Gemini](https://gemini.com/)
* [HitBTC](https://hitbtc.com/)
Expand Down
9 changes: 0 additions & 9 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ coinbase:
deribit:
key_id: null
key_secret: null
ftx:
example_subaccount_name_1: # subaccounts are supported on FTX
key_id: null
key_secret: null
example_subaccount_name_2:
key_id: null
key_secret: null
key_id: null
key_secret: null
gemini:
key_id: null
key_secret: null
Expand Down
3 changes: 0 additions & 3 deletions cryptofeed/defines.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@
DERIBIT = 'DERIBIT'
DYDX = 'DYDX'
EXX = 'EXX'
FTX = 'FTX'
FTX_US = 'FTX_US'
FTX_TR = 'FTX_TR'
FMFW = 'FMFW'
GATEIO = 'GATEIO'
GEMINI = 'GEMINI'
Expand Down
8 changes: 1 addition & 7 deletions cryptofeed/exchanges/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
associated with this software.
'''
from cryptofeed.defines import *
from cryptofeed.defines import FTX as FTX_str, EXX as EXX_str, FMFW as FMFW_str, OKX as OKX_str
from cryptofeed.defines import EXX as EXX_str, FMFW as FMFW_str, OKX as OKX_str
from .bitdotcom import BitDotCom
from .phemex import Phemex
from .ascendex import AscendEX
Expand All @@ -31,9 +31,6 @@
from .deribit import Deribit
from .dydx import dYdX
from .exx import EXX
from .ftx import FTX
from .ftx_us import FTXUS
from .ftx_tr import FTXTR
from .gateio import Gateio
from .gemini import Gemini
from .hitbtc import HitBTC
Expand Down Expand Up @@ -76,9 +73,6 @@
DELTA: Delta,
DYDX: dYdX,
EXX_str: EXX,
FTX_str: FTX,
FTX_US: FTXUS,
FTX_TR: FTXTR,
GATEIO: Gateio,
GEMINI: Gemini,
HITBTC: HitBTC,
Expand Down
2 changes: 2 additions & 0 deletions cryptofeed/exchanges/coinbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ async def _change(self, msg: dict, timestamp: float):
Not all done or change messages will result in changing the order book. These messages will
be sent for received orders which are not yet on the order book. Do not alter
the order book for such messages, otherwise your order book will be incorrect.
{'price': '16556.88', 'old_size': '0.24076471', 'new_size': '0.04076471', 'order_id': '9675d63e-0432-413d-a3f3-f30d7df39614', 'reason': 'STP', 'type': 'change', 'side': 'buy', 'product_id': 'BTC-USD', 'time': datetime.datetime(2022, 11, 24, 0, 35, 28, 904847, tzinfo=datetime.timezone.utc), 'sequence': 50703787284}
"""
if not self.keep_l3_book:
return
Expand Down
Loading

0 comments on commit d8ce375

Please sign in to comment.