Skip to content

Commit 60ea138

Browse files
authored
Fix formatting (#17)
1 parent 35b909e commit 60ea138

File tree

8 files changed

+14
-13
lines changed

8 files changed

+14
-13
lines changed

examples/Upbit/Spot.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CryptoAPIs.Upbit.Spot.day_candle(;
99
market = "KRW-BTC",
1010
convertingPriceUnit = "KRW",
1111
count = 1,
12-
to = DateTime("2023-01-01T00:00:00")
12+
to = DateTime("2023-01-01T00:00:00"),
1313
)
1414

1515
CryptoAPIs.Upbit.Spot.market_list(; isDetails = true)

src/Binance/USDMFutures/USDMFutures.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ using .OrderBook
2222

2323
include("API/Ticker.jl")
2424
using .Ticker
25+
2526
end

src/Bybit/Bybit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ end
7474
Client info.
7575
7676
## Required fields
77-
- `base_url::String`: Base URL for the client.
77+
- `base_url::String`: Base URL for the client.
7878
7979
## Optional fields
8080
- `public_key::String`: Public key for authentication.

src/Coinbase/Spot/API/Candle.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ using CryptoAPIs.Coinbase
6161
6262
result = Coinbase.Spot.candle(;
6363
granularity = Coinbase.Spot.Candle.d1
64-
)
64+
)
6565
6666
to_pretty_json(result.result)
6767
```

src/Coinbase/Spot/API/Currency.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Gets a list of all known currencies.
7373
using Serde
7474
using CryptoAPIs.Coinbase
7575
76-
result = Coinbase.Spot.currency()
76+
result = Coinbase.Spot.currency()
7777
7878
to_pretty_json(result.result)
7979
```
@@ -90,7 +90,7 @@ to_pretty_json(result.result)
9090
"message":null,
9191
"max_precision":1.0e-8,
9292
"convertible_to":[
93-
93+
9494
],
9595
"details":{
9696
"type":"crypto",
@@ -100,10 +100,10 @@ to_pretty_json(result.result)
100100
"crypto_address_link":"https://etherscan.io/token/0x881ba05de1e78f549cc63a8f6cabb1d4ad32250d?a={{address}}",
101101
"crypto_transaction_link":"https://etherscan.io/tx/0x{{txId}}",
102102
"push_payment_methods":[
103-
103+
104104
],
105105
"group_types":[
106-
106+
107107
],
108108
"display_name":null,
109109
"processing_time_seconds":null,

src/Upbit/Spot/API/DayCandle.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module DayCandle
22

33
export DayCandleQuery,
4-
DayCandleData,
4+
DayCandleData,
55
day_candle
66

77
using Serde
@@ -58,7 +58,7 @@ using CryptoAPIs.Upbit
5858
5959
result = Upbit.Spot.day_candle(;
6060
market = "KRW-BTC"
61-
)
61+
)
6262
6363
to_pretty_json(result.result)
6464
```
@@ -93,4 +93,4 @@ function day_candle(client::UpbitClient = Upbit.Spot.public_client; kw...)
9393
return day_candle(client, DayCandleQuery(; kw...))
9494
end
9595

96-
end
96+
end

src/Upbit/Upbit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abstract type UpbitPrivateQuery <: UpbitCommonQuery end
2727
Client info.
2828
2929
## Required fields
30-
- `base_url::String`: Base URL for the client.
30+
- `base_url::String`: Base URL for the client.
3131
3232
## Optional fields
3333
- `public_key::String`: Public key for authentication.

src/Upbit/Utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Upbit/Utils
22

3-
function Serde.deser(::Type{<:UpbitData}, ::Type{<:Maybe{NanoDate}}, x::Int64)::NanoDate
3+
function Serde.deser(::Type{<:UpbitData}, ::Type{<:Maybe{NanoDate}}, x::Int64)::NanoDate
44
return unixnanos2nanodate(x * 1e6)
55
end
66

7-
function Serde.deser(::Type{<:UpbitData}, ::Type{<:Maybe{NanoDate}}, x::String)::NanoDate
7+
function Serde.deser(::Type{<:UpbitData}, ::Type{<:Maybe{NanoDate}}, x::String)::NanoDate
88
return NanoDate(x)
99
end
1010

0 commit comments

Comments
 (0)