mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-22 08:14:20 +01:00
Fix type hinting bug in rest section.
This commit is contained in:
@@ -45,9 +45,13 @@ TickerHistory = TypedDict("TickerHistory", {
|
||||
"MTS": int
|
||||
})
|
||||
|
||||
TickerHistories = List[TickerHistory]
|
||||
|
||||
(TradingPairTrade, FundingCurrencyTrade) = (
|
||||
TypedDict("TradingPairTrade", { "ID": int, "MTS": int, "AMOUNT": float, "PRICE": float }),
|
||||
TypedDict("FundingCurrencyTrade", { "ID": int, "MTS": int, "AMOUNT": float, "RATE": float, "PERIOD": int })
|
||||
)
|
||||
|
||||
(TradingPairTrades, FundingCurrencyTrades) = (List[TradingPairTrade], List[FundingCurrencyTrade])
|
||||
|
||||
#endregion
|
||||
Reference in New Issue
Block a user