Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
fbe9c65
feat(ohlc): start ohlc candlestick chart model
Milerius Jul 24, 2020
9d356ff
feat(ohlc): add new ohlc data
Milerius Jul 24, 2020
641a9b2
feat(ohlc): add series from/to
Milerius Jul 24, 2020
e231a2f
feat(ohlc): add series from/to
Milerius Jul 24, 2020
5a8f74e
feat(ohlc): add qdatetime
Milerius Jul 24, 2020
91a4add
feat(gui): replace the deprecated setTime function
naezith Jul 24, 2020
dff670b
feat(gui): start implementing new candlestick chart model
naezith Jul 24, 2020
26f76d1
enhancements(charts): add min max
Milerius Jul 24, 2020
e718f3c
feat(gui): use min_value max_value
naezith Jul 24, 2020
af3a6f9
enhancements(charts): fix min max
Milerius Jul 24, 2020
f1f7ba0
feat(gui): set current_range
naezith Jul 24, 2020
e1c5216
feat(gui): remove +1 from lastSetRow
naezith Jul 24, 2020
cf88e64
enhancements(charts): remove dump
Milerius Jul 24, 2020
c584739
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
Milerius Jul 24, 2020
ff65b01
enhancements(charts): return max for max value
Milerius Jul 24, 2020
9023b6b
feat(gui): fix integer overflow
naezith Jul 24, 2020
65317ce
enhancements(charts): add the clear on change ticker
Milerius Jul 24, 2020
3ecd0e5
enhancements(charts): add margin values
Milerius Jul 24, 2020
7854e6a
enhancements(charts): better range
Milerius Jul 24, 2020
d893d42
feat(gui): remove unnecessary ticker set at dex
naezith Jul 24, 2020
b68bcf6
feat(gui): massive dex combobox optimization
naezith Jul 24, 2020
2b7c7b5
feat(gui): optimize orders page coin combobox
naezith Jul 24, 2020
3b912b3
feat(gui): set pair at dex entrance
naezith Jul 24, 2020
16e7890
feat(gui): recode swappair case
naezith Jul 24, 2020
7273a63
feat(gui): cleanup
naezith Jul 24, 2020
f30889c
feat(gui): cleaner dex pair change
naezith Jul 24, 2020
fc8788f
feat(gui): use model directly
naezith Jul 24, 2020
a439429
Merge branch 'optimize_dex' into charts_revamp
naezith Jul 25, 2020
4689f23
feat(gui): implement last value line
naezith Jul 25, 2020
62323ef
feat(ohlc): add min max setter for chart in the property
Milerius Jul 25, 2020
5ae3a5c
feat(gui): fix last value line was not being positioned
naezith Jul 25, 2020
1d2eb59
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
33decef
feat(factory): add a qt model factory
Milerius Jul 25, 2020
b22b14b
enhancements(charts): adding factory
Milerius Jul 25, 2020
27434e2
feat(gui): disable zoom until fresh implementation
naezith Jul 25, 2020
b88a749
feat(gui): chart vertical scroll implementation
naezith Jul 25, 2020
21ccb24
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
ea6dabc
feat(gui): remove g_margin
naezith Jul 25, 2020
631d1f6
feat(gui): fix typo
naezith Jul 25, 2020
8d1ce82
enhancements(charts): change edit/update behavior
Milerius Jul 25, 2020
bbba57c
feat(gui): chart date time scroll implementation
naezith Jul 25, 2020
b9d881a
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
2d30312
enhancements(charts): add series from and series too
Milerius Jul 25, 2020
384a188
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
Milerius Jul 25, 2020
0755632
enhancements(charts): remove factory to prepare double ma series class
Milerius Jul 25, 2020
06c6f32
feat(gui): datetime sets with milliseconds
naezith Jul 25, 2020
c987cbd
enhancements(charts): from/to with qdatetime
Milerius Jul 25, 2020
66cfc9f
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
a63db27
feat(gui): add write permisson to date properties
naezith Jul 25, 2020
0f6d6ae
feat(gui): set series_from and series_to for horizontal scrolling
naezith Jul 25, 2020
d3a0bd7
feat(gui): horizontal zoom implementation
naezith Jul 25, 2020
26aa3f8
enhancements(charts): adding ma series
Milerius Jul 25, 2020
1f7818b
feat(gui): chart price zoom implementation
naezith Jul 25, 2020
063aa1b
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
43602b0
feat(gui): value as constant
naezith Jul 25, 2020
b316dad
feat(gui): cap chart x and y axis values
naezith Jul 25, 2020
bbeb49c
feat(ma_series): continue ma average series
Milerius Jul 25, 2020
6e8ec88
Merge remote-tracking branch 'origin/charts_revamp' into charts_revamp
Milerius Jul 25, 2020
c96797e
feat(gui): limit last value line position
naezith Jul 25, 2020
c65c362
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
5417a49
feat(ma_series): continue ma average series
Milerius Jul 25, 2020
47d2914
Merge remote-tracking branch 'origin/charts_revamp' into charts_revamp
Milerius Jul 25, 2020
da211f0
feat(ma_series): finalizing ma series logic
Milerius Jul 25, 2020
691d3e8
feat(ma_series): finalizing ma series logic
Milerius Jul 25, 2020
6efb981
feat(ma_series): setting the ma series data into the model
Milerius Jul 25, 2020
ef8813d
feat(ma_series): finalizing ma series
Milerius Jul 25, 2020
63cd2e7
feat(gui): limit maximum timeline zoom with 20 candlesticks
naezith Jul 25, 2020
d4041c8
feat(gui): limit max zoom for price
naezith Jul 25, 2020
bc53fce
feat(gui): limit chart value min max with global min max
naezith Jul 25, 2020
8c02d3a
feat(gui): chart less zoom to right side
naezith Jul 25, 2020
7872c0e
feat(gui): limit scrolling without zooming, allow empty space at sides
naezith Jul 25, 2020
c05f046
feat(gui): separate cap functions
naezith Jul 25, 2020
6db3f8b
enhancements(charts): add visible min and max + event on reset
Milerius Jul 25, 2020
767346c
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
Milerius Jul 25, 2020
2292084
feat(gui): implement min max lock
naezith Jul 25, 2020
9bdca4e
feat(gui): init price axis with visible min max
naezith Jul 25, 2020
263fdd5
enhancements(charts): fix rbegin rend
Milerius Jul 25, 2020
6869d40
feat(gui): enable min max lock only at click on price
naezith Jul 25, 2020
4c56d35
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 25, 2020
a44f935
enhancements(main): add a sigabrt handler for cleaning mm2 in every case
Milerius Jul 26, 2020
d3aa0bc
feat(gui): start the app maximized
naezith Jul 26, 2020
4146dbb
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 26, 2020
fbdb860
enhancements(app): use about to quit to prevent multithread operation…
Milerius Jul 26, 2020
85fa2a8
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
Milerius Jul 26, 2020
7dc58f7
feat(gui): cap update_visible_range start and end
naezith Jul 26, 2020
1f2cd8a
feat(gui): 0.1x right side space at chart initialization
naezith Jul 26, 2020
8859d8a
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 26, 2020
2fa59df
feat(gui): delay last value line position set
naezith Jul 26, 2020
b4e584d
feat(gui): use %llf for chart label
naezith Jul 26, 2020
5d6f211
feat(gui): live update the last value line
naezith Jul 26, 2020
f378945
feat(gui): last value line cleanup
naezith Jul 26, 2020
d9045d9
feat(gui): fix last value line was not updating sometimes
naezith Jul 26, 2020
eb1f398
enhancements(orders): larger integer type for timestamp
Milerius Jul 26, 2020
282a2e7
enhancements(app): coding style
Milerius Jul 26, 2020
dabe010
feat(gui): start adding ma series
naezith Jul 26, 2020
da290ad
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 26, 2020
40360b9
enhancements(ma_series): fix timestamp
Milerius Jul 26, 2020
678319d
feat(gui): add ma50 series
naezith Jul 26, 2020
165a20c
Merge branch 'charts_revamp' of https://github.com/KomodoPlatform/ato…
naezith Jul 26, 2020
3e88fbc
enhancements(ma_series): separate
Milerius Jul 26, 2020
1f4b276
enhancements(ma_series): add volume column
Milerius Jul 26, 2020
7b5b93f
enhancements(volume): add global max volume
Milerius Jul 26, 2020
c8309ff
feat(gui): add and polish volume chart
naezith Jul 26, 2020
9458a8e
feat(gui): scale volume axis to the biggest visible spike
naezith Jul 26, 2020
caf7230
feat(gui): remove global_max_volume
naezith Jul 26, 2020
16795e3
feat(gui): volume colored bar chart using candlestick chart
naezith Jul 26, 2020
60b8564
feat(gui): less visible volume colors
naezith Jul 26, 2020
f55572a
enhancements(ma series): ma series are now constructed at once
Milerius Jul 26, 2020
1f07e0c
enhancements(ma series): optimisation for quoted
Milerius Jul 26, 2020
7eaa5b9
feat(gui): separate ChartView for volume chart
naezith Jul 26, 2020
8023984
feat(gui): use same model for ma20 and ma50
naezith Jul 26, 2020
9ebe46f
enhancements(ma series): remove commented code
Milerius Jul 26, 2020
d0e35b4
feat(candlestick charts): add is supported properties
Milerius Jul 26, 2020
dcc807c
feat(candlestick charts): keep a short code in comment for next impro…
Milerius Jul 26, 2020
63da443
feat(gui): loading indicator for chart
naezith Jul 26, 2020
ad55116
feat(gui): temporarily disabled problematic 1w chart
naezith Jul 26, 2020
7ef67bc
feat(gui): fix horizontal line not rendering
naezith Jul 26, 2020
a1070a5
feat(gui): hide cursor if it's not inside the chart
naezith Jul 26, 2020
3bed05b
feat(gui): draw loading spinner last
naezith Jul 26, 2020
17b254f
feat(candlestick charts): add fetching status
Milerius Jul 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ target_sources(atomic_qt_shared_deps INTERFACE
${CMAKE_SOURCE_DIR}/src/atomic.dex.update.service.cpp
${CMAKE_SOURCE_DIR}/src/atomic.dex.qt.orders.model.cpp
${CMAKE_SOURCE_DIR}/src/atomic.dex.qt.orders.proxy.model.cpp
${CMAKE_SOURCE_DIR}/src/atomic.dex.qt.candlestick.charts.model.cpp
${CMAKE_SOURCE_DIR}/src/atomic.dex.qt.addressbook.model.cpp
${CMAKE_SOURCE_DIR}/src/atomic.dex.qt.addressbook.proxy.filter.model.cpp
${CMAKE_SOURCE_DIR}/src/atomic.dex.qt.contact.model.cpp
Expand Down
14 changes: 10 additions & 4 deletions atomic_qt_design/qml/Constants/General.qml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ QtObject {
readonly property double time_toast_important_error: 10000
readonly property double time_toast_basic_info: 3000

readonly property var chart_times: (["1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d", "3d", "1w"])
readonly property var chart_times: (["1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d", "3d"/*, "1w"*/])
readonly property var time_seconds: ({ "1m": 60, "3m": 180, "5m": 300, "15m": 900, "30m": 1800, "1h": 3600, "2h": 7200, "4h": 14400, "6h": 21600, "12h": 43200, "1d": 86400, "3d": 259200, "1w": 604800 })

property var all_coins
Expand Down Expand Up @@ -148,11 +148,15 @@ QtObject {
}

function fullNamesOfCoins(coins) {
return coins.map(c => fullCoinName(c.name, c.ticker))
return coins.map(c => {
return { value: c.ticker, text: fullCoinName(c.name, c.ticker) }
})
}

function getTickers(coins) {
return coins.map(c => c.ticker)
return coins.map(c => {
return { value: c.ticker, text: c.ticker }
})
}


Expand All @@ -161,7 +165,9 @@ QtObject {
}

function getTickersAndBalances(coins) {
return coins.map(c => c.ticker + " (" + c.balance + ")")
return coins.map(c => {
return { value: c.ticker, text: c.ticker + " (" + c.balance + ")" }
})
}

function getMinTradeAmount() {
Expand Down
12 changes: 5 additions & 7 deletions atomic_qt_design/qml/Exchange/Orders/Orders.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,8 @@ Item {
API.get().refresh_orders_and_swaps()
}

function baseCoins() {
return API.get().enabled_coins
}

function changeTicker(ticker) {
combo_base.currentIndex = baseCoins().map(c => c.ticker).indexOf(ticker)
combo_base.currentIndex = combo_base.model.map(c => c.value).indexOf(ticker)
}

// Orders page quick refresher, used right after a fresh successful trade
Expand Down Expand Up @@ -113,9 +109,11 @@ Item {
Layout.bottomMargin: 10
Layout.rightMargin: 15

model: General.fullNamesOfCoins(baseCoins())
textRole: "text"

model: General.fullNamesOfCoins(API.get().enabled_coins)
onCurrentTextChanged: {
base = baseCoins()[currentIndex].ticker
base = model[currentIndex].value
}
}

Expand Down
Loading