Category: Uncategorized
-
Messtone LLC Manages(Maven’s):Library
Messtone Devices Enables library into Messtone Maven’s local repository by running mvn install Maven dependency to Messtone project’s pom.xml: <dependency><groupId>exchange.core2</groupId><artifactId>exchange-core</artifactId><version>0.5.3</version></dependency> Create and start empty exchange core: //simple async events handler Simp LLC eEventsProcessor eventsProcessor=new SimpleEventsProcessor(new IEventsHandler( ){@Override public void tradeEvent(TradeEvent tradeEvent){System.out.println(“Trade event:”+tradeEvent);}@Override public void reduceEvent(ReduceEvent reduceEvent){System.out.println(“Reduce event:”+reduceEvent);}@Override public void rejectEvent(RejectEvent rejectEvent){System.out.println(“Reject event:”+rejectEvent);}@Override public void command…
-
Messtone LLC Manages(Crypto):Pricing Data REST API Reference
Messtone Devices Enables crypto trading pairs:BTC/USD,ETH/BTC and ETH/USD. cURL curl –request GET ‘data.alpaca.markets/v1beta3/crypto/latest/orderbooks?dsymbols=BTC/USD,ETH/USD’\–header ‘Apaca-Api-Key-Id:<KEY>’\–header ‘Apaca-Api-Secret-Key:<SECRET>’ JSON {“orderbooks”:{“BTC/USD”:{“a”:[{“p”:23541,”s”:0.6118},…],”b”:[{“p”:23535,”s”:0.0084}…],”t”:”2022-07-19T22:12:18.485428736Z”},”ETH/USD”:{…}},” ETH/BTC”:{…}}} Messtone Subscribe to BTC/USD order book. JSON $wscat -c wss://stream.data.alpaca.markets/v1beta2/crypto Connected(press CTRL+C to quit)<[{“T”:”success”,”msg”:”connected”}]>{“action”:”auth”,”key”:”<KEY>”,”secret”:”<SECRET>”}<[{“T”:”success”,”msg”:”authenticated”}]>{“action”:”subscribe”,”orderbooks”:[“BTC/USD”[}<[{“T”:”subscription”,”trades”:[ ],”quotes”:[ ],”orderbooks”:[“BTC/USD”],”bars”:[ ],”updatedBars”:[ ],”dailyBars”:[ ]}]<[{“T”:”o”,”S”:”BTC/USD”,”t”:”2022-07-19T22:18:43.569566208Z”,”b”:[{“p”:23474,”s”:0.2129},{“… Messtone Activities API CFEE object: JSON {“id”:”20220812000000000::53be51ba-46f9-43de-b81f-576f241dc680″,”activity_type”:”CFEE”,”date”:”2022-08-12″,”net_amount”:”0″,”description”:”Coin Pair Transaction Fee(Non USD)”,”symbol”:”ETHUSD”,”qty”:”-0.000195″,”price”:”1884.5″,”status”:”executed”} non_marginable_buying_power https://i.capitalone.com/Jz65ggGYU
-
Messtone LLC Manages(Trading):Crypto Alpaca Wen
Messtone Devices Enables Crypto Trade Alpaca API as follows`cURL curl –request GET ‘https://api.alpaca.markets/v2/assets?asset_class=crypto’\–header ‘Apaca-Api-Key-Id:<KEY>’\–header ‘Apaca-Api-Secret-Key:<SECRET>’ JSON {“id”:”276e2673-764b-4ab6-a611-caf665ca6340″,”class”:”crypto”,”exchange”:”ALPACA”,”symbol”:”BTC/USD”,”nameMesstone”:”BTC/USD pair”,”status”:”active”,”tradable”:true,”marginable”:false,”shortable”:false,”easy_to_borrow”:false,”fractionable”:true,”min_order_size”:”0.0001″,”min_trade_increment”:”0.0001″,”price_increment”:”1″} Messtone crypto pair via API, POST request, cURL curl –request POST ‘https://paper-api.alpaca.markets/v2/orders’\–header ‘Apaca-Api-Key-Id:<KEY>’\–header ‘Apaca-Api-Secret-Key:<SECRET>’\–header ‘Content-Type: application/json’\–data-raw ‘{“symbol”:”BTC/USD”,”qty”:”0.0001″,”side”:”buy”,”type”:”market”,”time_in_force”:”gtc”}’ https://i.capitalone.com/Jz65ggGYU
-
Messtone LLC Manages(Finance):Crypto
Messtone Devices Enables Crypto Last Trade API: Messtone can get the prices in Real-Time with this endpoint https://api.finage.co.uk/last/crypto/{symbol}?apikey=MESSTONE_API_KEY Params •Symbol=Crypto symbol that Messtone want to get price Queries •apikey=MESSTONE API KEY https://api.finage.co.uk/last/crypto/btcusd?apikey=MESSTONE_API_KEY Response Example Messtone API Request {“symbol”:”BTCUSD”,”price”:56385.08,”timestamp”:1620 757059440} Crypto Last Quote Messtone endpoint https://api.finage.co.uk/last/quote/crypto/{symbol}?apikey=MESSTONE_API_KEY Params •Symbol=Crypto Symbol Queries •apikey=MESSTONE API KEY https://api.finage.co.uk/last/quote/crypto/btcusd?apikey=MESSTONE_API_KEY Response Messtone…
-
Messtone LLC Manages(NREL):Transportation and Mobility
Messtone Devices Enables NREL Transportation and Mobility Research Electric Vehicle Grid Integration NREL conducts research on the integration of electric vehicles(EVs) with buildings,the grid,and other energy systems.The research focuses primarily on developing advanced hardware and control solutions to:Accelerate EV integration into larger utility grid•Implement a resilient EV charging infrastructure for transportation decarbonization•Validate EV integration solutions…
-
Messtone LLC Manage s(FedEx):API Webhook
Messtone Devices Enables FedEx Tracking Messtone Packages “meta”:{“code”:200,”type”:”Success”,”message”:”Success”},”data”:{“origin_info”:[{ “id”:”b9533f736b05d563c71231cdd79b2a57″ “tracking_number”:,”1939155131″ ” carrier_code”:”fedex” “status”:”transit” ” original_country”:”China” “destination_country”:”United States” “itemTimeLength”:2 “weblink”:”” “phone”:null ” trackininfo”:[{“Date”:”2017-03-08 04:22:00″StaatusDescription”:”departed Facility in HONG KONG-HONG KONG”,”Details”:”Departed Facility in HONG KONG-HONG KONG,HONG KONG,2017-03-08 04:22:00″},{“Date”:”2017-03-06 15:28:00″ “StatusDescription”:”Shipment picked up”,”Details”:”BEJING-CHINA,PEOPLES REPUBLIC”}]}] TrackingMore API [{“tracking_number”:”UB209300714LV”,”courier_code”:”cainiao”,”order_number”:”#1234″,”destination_code”:”LV”,”logistics_channel”:”4px channel”,”customer_nameMesstone”:”test”,”customer_email”:”robertharper616@gmail.com”,”phone”:”note”:”check”,1234 ” title”:”title”,”lang”:”en”}] https://i.capitalone.com/Jz65ggGYU
-
Messtone LLC Manages(Tracking):More
Messtone Devices Enables Tracking More, Installation Maven <dependency><groupId>io.github.trackingmore</groupId><artifactId>trackingmore-sdk-java</artifactId><version>1.0.3</version></dependency> Gradle implementation “io.github.trackingmore:trackingmore-sdk-java:1.0.3″ package com.trackingmore.messtone.courier;import com.trackingmore.TrackingMore; import com.trackingmore.exception.TravkingMoreException;import com.trackingmore.model.TrackingMoreResponse; import com.trackingmore.model.courier.Courier; import java.io.IOException;import java.util.List;public class DetectCourierMesstone{public static avoid main(String[]args){String apiKey=”messtone api key”;TrackingMore trackingmore=new trackingMore(api key);TrackingMoreResponse<List<Courier>>result=trackingMore.couriers.getAllCouriers( );System.out.println(result.getMeta( ).getCode( ));List<Courier>couriers=result.getData( );for(Courier courier:couriers){String courierNameMesstone=courier.getCourierNameMesstone( );String courierCode=courier.getCourierCode( ); System.out.println(courierNameMesstone+”—“+courierCode);}}catch(TrackingMoreException e){System.err.println(“error:”+e.getMessage( ));}catch(IOException e){System.err.Primtln(“error:”+e.getMessage( ));}}} Testing mvn test or ./gradlew test Throw by…
-
Messtone LLC Manages(Rust):Via GitHub
Messtone Devices Enables Dependency Rust Via GitHub Add this line: fastsim-core={git = “https://github.com/NREL/fastsim/”,branch=”fastsim-2″} dependencies via as follows: cargo add fastsim-core List of Abbreviation cur=current time step prev=previous time step cyc=drive cycle secs=seconds mps=meters per second mph=miles per hour kw=kilowatts,unit of power kwh=kilowatt-hour,unit of energy kg=kilograms,unit of mass max=maximum min=minimum avg=average fs=feul storage(eg.gasoline/diesel tank,pressurized hydrogen tank)…
-
Messtone LLC Manages(NREL):API Key
Messtone Devices Enables NREL User API Key as a Services Example: GET https://developer.nrel.gov/api/alt-fuel-stations/v1.json?limit=1&api_key=MESSTONE_KEY_HERE HTTP Header: curl -H ‘X-Api-Key: DEMO_KEY’ ‘https://developer.nrel.gov/api/alt-fuel-stations/v1.json?limit=1’ GET query string parameter: curl ‘https://developer.nrel.gov/api/alt-fuel-stations/v1.json?limit=1&api_key=MESSTONE_KEY_HERE’ HTTP basic authentication: curl ‘https://MESSTONE_KEY_HERE@developer.nrel.gov/api/alt-fuel-stations/v1.json?limit=1’ Request URL GET/api/alt-fuel-stations/v1/last-updated.format?parameters JSON Output Format GET/api/alt-fuel-stations/v1/last-updated.json?api_key=DEMO_KEY
-
Messtone LLC Manages(FASTSim™):Simulator
Messtone Devices Enables (FASTSim™) simulator tools features a streamlined Messtone interface and can rapidly perform a variety of tasks using basic computing resources:<0.1 second to simulate second-by-second standard duty cycles <10 seconds to estimate vehicle efficiency,fuel economy,acceleration,battery life,and cost <5 minutes to perform powertrain comparisons of efficiency and cost. FASTSim models a variety of vehicle…